You should be able to use two bindings together like this:

<t:textfield ... validate="validate:prop:validators">  

public String getValidators() {
   StringBuilder validators = new StringBuilder("a,b,c");
   if (required) {
      validators.append(",required");
   }
   return validators.toString();
}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Is-it-possible-to-add-Field-validators-at-render-time-tp5682920p5683051.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to