Re: loop component only reads 'value" once, renders same object each time?

2013-06-01 Thread nhhockeyplayer nashua
This is how I operate mine... and it worked for me this one was in a loop @Property @Parameter(required = false) private Object currentPage; @Property guarantees to provide its own getter/setter Here is another... @Parameter(required = false) private Coach currentObject;

Re: CompnentEventException while updating zone (HiddenFieldPositioner.getElement may no longer be invoked)

2013-06-01 Thread George Ludwig
I changed my code to this: ajaxResponseRenderer.addRender("myZone",myZone); and now I get this: Method org.apache.tapestry5.corelib.internal.HiddenFieldPositioner.discard(HiddenFieldPositioner.java:105) may no longer be invoked. Still scratching my head... On Sat, Jun 1, 2013 at 3:03 PM, Geo

CompnentEventException while updating zone (HiddenFieldPositioner.getElement may no longer be invoked)

2013-06-01 Thread George Ludwig
I'm getting this exception while updating a zone: Method org.apache.tapestry5.corelib.internal.HiddenFieldPositioner.getElement(HiddenFieldPositioner.java:83) may no longer be invoked My code does this: ajaxResponseRenderer.addRender(myZone); This is called when a page component calls an update

Re: loop component only reads 'value" once, renders same object each time?

2013-06-01 Thread George Ludwig
As I noted above, I created getters/setters to more easily monitor access to the property. In any event, I resolved the issue...it seems like every time I write to the list for help, I figure out the problem in the next 5 minutes :) On Sat, Jun 1, 2013 at 12:51 PM, Boris Horvat wrote: > Is there

Re: loop component only reads 'value" once, renders same object each time?

2013-06-01 Thread Boris Horvat
Is there any reason why you are not using @Property annotation on the currentObject? Try it maybe it will help On Sat, Jun 1, 2013 at 9:35 PM, George Ludwig wrote: > This used to work, and now it doesn't and I'm at a loss. > > What I see happening is that setCurrentObject is called the correct

loop component only reads 'value" once, renders same object each time?

2013-06-01 Thread George Ludwig
This used to work, and now it doesn't and I'm at a loss. What I see happening is that setCurrentObject is called the correct number of times (4), with the correct value each time. However, getCurrentObject is only called once. The list is rendered the correct number of times (4x), but it renders

include url in the exception log

2013-06-01 Thread Angelo Chen
Hi, in a production log, I can see some exceptions, but it's difficult to trace as I don't know from what url that trigger this exception, is there a way to include the url in the exception log? Thanks, Angelo