Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-17 Thread Taha Siddiqi
his message in context: > http://tapestry.1045711.n5.nabble.com/Add-Tapestry-validation-to-hidden-element-written-with-MarkupWriter-tp5710350p5711364.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --

Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-17 Thread George Christman
It's not possible to use some of the client side validation code from AbstractTextField to handle this? George -- View this message in context: http://tapestry.1045711.n5.nabble.com/Add-Tapestry-validation-to-hidden-element-written-with-MarkupWriter-tp5710350p5711364.html Sent from the Tap

Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-16 Thread Taha Siddiqi
old way. My question I have is is there away to enable > clientside validation to an abstract field. I see in his example, he's > validating the field on submit only. Any thoughts? > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Add-Tapestry-validat

Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-16 Thread George Christman
in context: http://tapestry.1045711.n5.nabble.com/Add-Tapestry-validation-to-hidden-element-written-with-MarkupWriter-tp5710350p5711032.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-m

Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-16 Thread George Christman
Thanks Taha, this seems pretty useful. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Add-Tapestry-validation-to-hidden-element-written-with-MarkupWriter-tp5710350p5710874.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-16 Thread Taha Siddiqi
apestry-validation-to-hidden-element-written-with-MarkupWriter-tp5710350p5710377.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache

Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-16 Thread Thiago H. de Paula Figueiredo
On Wed, 16 May 2012 09:42:44 -0300, George Christman wrote: Hi Thiago, do you have anymore insight on this? I think you should rethink what you're doing. You cannot attach Tapestry validations to non AbstractField (more specifically, AbstractTextField) subclasses. I'd try to implement i

Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-16 Thread George Christman
Hi Thiago, do you have anymore insight on this? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Add-Tapestry-validation-to-hidden-element-written-with-MarkupWriter-tp5710350p5710820.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Add Tapestry validation to hidden element written with MarkupWriter

2012-05-15 Thread George Christman
I built a custom version of tagselect which uses jQuery rather than prototype. The token values are added to the hidden field by javascript. I just need to be sure there is a value there. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Add-Tapestry-validation-to-hidden

Add Tapestry validation to hidden element written with MarkupWriter

2012-05-15 Thread George Christman
) { w.element ("input", "type", "hidden", "id", this.clientId + "HiddenField", "name", this.controlName + "HiddenField", "class", this.clientId, "title", splitCamelCase(this.clientId)); w.end(); -- Vie

Add Tapestry validation to hidden element written with MarkupWriter

2012-05-15 Thread George Christman
, this.controlName + "HiddenField", "class", this.clientId, "title", splitCamelCase(this.clientId)); w.end(); //source is FieldValidatorSource return source.createValidator(authorizer, validationString, null);