I have a select control for which I want to set the t:validate attribute dynamically. For some cases when the form loads I dont want validation on the control.
So in in the tml definition of the control I have - t:validate="${validate}" and in my java class I have public String getValidate() { return programsGroup.getPrograms().size() == 1 ? "validate" : ""; } What should I give instead of "" to dynamically set validation off? (Tried to return a null too, but getting an exception) Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-dynamically-turn-t-validate-off-tp4536095p4536095.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