Re: Loop with component inside a zone: parameter is bound to null

2014-04-26 Thread Lance Java
You can attach the onevent mixin to any field, including select. The mixin supports passing the clientside field value(s) and an optional context. http://tapestry-stitch.uklance.cloudbees.net/oneventdemo

Re: Loop with component inside a zone: parameter is bound to null

2014-04-26 Thread Semen Vishniakov
> The solution for your specific case would be to pass the current loop > variable value in the event context, but I don't think this was implemented > yet. Until then, you'll need to write some JavaScript and not use the > valueChanged event of Select. Bad news. Thank you for reply!

Re: Loop with component inside a zone: parameter is bound to null

2014-04-26 Thread Thiago H de Paula Figueiredo
On Sat, 26 Apr 2014 09:17:10 -0300, Semen Vishniakov wrote: Hi all! Hi! I have a loop within zone: value="csAnswerCurrent"> Remember: the value property of the Loop component is only valid while rendering. Events are done in a different request, so t

Loop with component inside a zone: parameter is bound to null

2014-04-26 Thread Semen Vishniakov
Hi all! I have a loop within zone: Also I have a selector, that changes csCustomerSurvey.csAnswers and rerenders this zone. When selected value is changed, I set csAnswers of csCustomerSurvey and return body of the zone: @OnEvent(value = EventConstants.VALUE_