Re: Is JSR-303 validation possible in a Loop?

2013-12-28 Thread Geoff Callender
I'm thinking that Loop and Grid both need a "validate" parameter like Form has. On 29 December 2013 11:54, Lance Java wrote: > It's possible but requires a bit of fancy footwork. See here: > > http://tapestry-stitch.uklance.cloudbees.net/mapbindingdemo > > Note usage of FieldSnapshot and revers

Re: Is JSR-303 validation possible in a Loop?

2013-12-28 Thread Lance Java
It's possible but requires a bit of fancy footwork. See here: http://tapestry-stitch.uklance.cloudbees.net/mapbindingdemo Note usage of FieldSnapshot and reverse engineering a field name from a control name. On 28 Dec 2013 23:22, "Chris Mylonas" wrote: > Out of curiosity, is it possible with n

Re: Is JSR-303 validation possible in a Loop?

2013-12-28 Thread Chris Mylonas
Out of curiosity, is it possible with normal form components i.e. textfields? On Sat, Dec 28, 2013 at 1:12 PM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > Is there a way to enable client-side JSR-303 validation of the bean in each > row of a Loop? >

Re: Two-way select ends in NullPointerException

2013-12-28 Thread Lance Java
1. How is "mapper" initialized. Is it @Injected or is it configured in a render phase method of the container (page / component)? If configured in a render phase (eg @SetupRender) then it will be null in the ajax action. 2. Are you in development mode when debugging? Component member variables are