Hi:
Is it possible to ask the beaneditform to display the fields for an object with
nested object? For example: I have a customer class with address field as an
object:
public class Customer {
private String firstName;
private String lastName;
private Address address;
}
public
I'm from a Spanish language country and I want to correct something:
/* Now, the destiny page*/is:
/* Now, the TARGET page*/
On Fri, Sep 4, 2009 at 9:26 PM, Madtyn wrote:
> Hello. I keep trying to use the EventContext and made some advances.
> As Joshua said the enums can be sent b
Hello. I keep trying to use the EventContext and made some advances.
As Joshua said the enums can be sent between the onPassivate and
onActivate methods (Thank you Joshua :).
But the problem is that I keep finding very strange problems. I
have isolated the piece of code that is giving me hel
No promises, but I'd think 5.2 is quite reasonable. I'd love to straighten
this out and reduce the external dependencies that Tapestry brings in.
On Fri, Sep 4, 2009 at 2:32 PM, Alex Kotchnev wrote:
> Howard,
> thanks for the quick response. Do you think that these changes would be
> coming i
Howard,
thanks for the quick response. Do you think that these changes would be
coming into the next point release (e.g. 5.2) or are they more likely to
happen further out in the future ?
Cheers,
Alex K
On Fri, Sep 4, 2009 at 3:24 PM, Howard Lewis Ship wrote:
> My intention is to remove the
My intention is to remove the dependencies on javax.stream and revert to a
SAX parser. For reasonably sized documents such as Tapestry templates,
there's no reason not to use SAX to read the whole document into a stream of
tokens similar to what STAX gives you. Fortunately, the tests in this area
What I need to do is, over time, replace the APIs that are "thin wrappers"
on Javassist with a different high-level set of operations that can be
implemented on top of ASM (likely) instead, then deprecate the Javassist
versions, then eliminate them. See you in Tapestry 5.5 or so! :-)
On Fri, Sep 4
Thiago, thanks, so I make no change to the code, but internally I'm happy ;)
And about moving logic... maybe I can...
${ getViewPosition(position) }
and in .java I do:
getViewPosition(int aNumber) {
return aNumber + 1;
}
I mean... maybe it's better because I don't override getter of a
propert
A quick question for the commiters : I do recall seeing some messages about
an option to remove woodstox and using plain java.xml.stream APIs. Is there
a plan to integrate any of these changes into the standard build or would
they remain an external module (if that's even needed w/ the GAE issue
r
Em Fri, 04 Sep 2009 14:33:16 -0300, Alfonso Quiroga
escreveu:
public int getPosition() {
return position + 1;
}
This is not a hack: it's moving logic from the template to a class, and
that's a Good Thing. :)
--
Thiago H. de Paula Figueiredo
Independent Java consul
Hi! I am looping and I need the "index" position, but index starts in
0, and I want to show it in screen starting in 1, so... I have:
${position}
That works but starts in 0 I tried ${position + 1} but didn't work
The only hack I found, is de
Thanks for the quick response,
Howard Lewis Ship wrote:
Look for any large methods that are annotated or are event listeners and
refactor them to be smaller; too often Javassist gets confused with large
methods.
That is all a bit too uncertain for me. I'll revert back to java 5 as I
have no
Look for any large methods that are annotated or are event listeners and
refactor them to be smaller; too often Javassist gets confused with large
methods.
My biggest regret for Tapestry 5: Should have ditched Javassist, much as I
like it.
On Fri, Sep 4, 2009 at 7:51 AM, Joost Schouten (ml)
wrote
JumpStart 4.5.2 has been released with the changes I described below.
The functionality is the same, only the implementation has changed.
It's running on the site for everyone to try out and I'd welcome
comments on the changes:
http://jumpstart.doublenegative.com.au:8080/jumpstart/
I've been struggling the last few days to upgrade to java 6 and get my
tapestry 5 app to work. Everything starts up nicely but when accessing a
page I get the below listed exception. It seems to have to do something
with javassist as also some internet resources suggest, but I didn't
find any s
This is an issue that has appeared many times on this list, you should search
for old posts on this, the gist of it is these examples were provided before
newer functionality (such as ComponentClassResolver and ComponentSource etc..)
were added to Tapestry that can handle this problem better.
Michael Capper wrote:
>
> The other is by an Action-Link on the email-icon, the onAction method then
> fiddles around with the Request and lets a Handler render the request into
> a ResponseWrapper (exposing the byte[] of the Response). This also gives
> me the HTML source, and would be usable p
It looks like if an non-default constructor defined in such class. it
request to bind interface for that argument as well.
For instance,
if in MyFilter class which implements HttpServletRequestFilter interface, an
argument is provided as below:
public MyFilter(RealmSecurityManager securityMana
Hi!
I'm getting pretty close now. I've managed to get to the
renderPage() function, where I get a NPE:
Caused by: java.lang.NullPointerException
at
org.apache.tapestry5.internal.renderers.RequestRenderer.render(RequestRenderer.java:48)
What happens on that line is:
String contextPat
No. That's the drawback of the caching of pages and their component structure
done by Tapestry.
Uli
On 04.09.2009 13:56 schrieb Stefan:
I think Its the right direction, but there is always the main problem:
How to get and add a component which is not defined/bound in any page
template?
Is th
I think Its the right direction, but there is always the main problem:
How to get and add a component which is not defined/bound in any page
template?
Is that possible at all?
Am 04.09.2009 um 01:43 schrieb Thiago H. de Paula Figueiredo:
BeanEditor and BeanEditForm use blocks from different
It seems like Testify can't handle that I have my page in a
subdirectory of pages!
If I have my class in com.acme.web.pages.games, then I get
the exception below. If I put the class directly under pages
(com.acme.web.pages), then it works. Anyone have an idea
why this is the case?
Well, it doesn'
Awesome :) Thanks a lot!
On Fri, Sep 4, 2009 at 3:04 AM, DH wrote:
> I've finished something like that before.
> First create a mixin 'FieldDecorator', then need contribute to the
> BeanBlockOverrideSource.
> Here is the sample code:
> 1.
> @MixinAfter
> public class FieldDecorator {
>
> �...@inj
Now this method looks working (without no service implements ... error).
But the constructor arg FilterConfig is still null. Looks like the
constructor doesn't get called.
Is there any additional setting I need to configure so that
HttpServletRequestFilter impl class can obtain the desire in
Hi,
i would like to to pass a context to a pagelink like
but this only works if the returned values of myContext does not
change after the page has loaded.
More precisely i want to do something like jumpstarts
"Grid With Delete Column" without a huge onSuccess method that
passes values to a l
Hm... it seems to be related to the fact that I had forgotten
to have a contributeComponentClassResolver() in my PageTestModule
class. So now my copied MessagePage test works! Woohoo!
But I still get this exception for my real page:
Request was not handled:
'GamesLauncher' may not be a
Hi!
Yes, this did indeed get me further down the road. Thanks a lot!
Now, when I run, I get a RunTimeException:
Request was not handled:
'MessagePage' may not be a valid page name.
at org.apache.tapestry5.test.PageTester.renderPage(PageTester.java:177)
I'm looking into this, but haven
Hi Geoff,
Great post, some good points made, I agree with most of your comments, there is
only one thing I prefer to do differently... while onActivate should only be
used to set context variables for a page, I feel setupRender() is not the place
for context checking.
Why? two reasons:
1. The
I had manually fixed the problem.Remove some empty method body in
PropertyExpressionLexer.java maked by antlr.
// $ANTLR start "INTEGER"
public final void mINTEGER() throws RecognitionException {
}
// $ANTLR end "INTEGER"
// $ANTLR start "DEREF"
public final void mDEREF() thr
29 matches
Mail list logo