Hi everybody, I've got this kind of method in my validator class
public void render(Field field, Void constraintValue, MessageFormatter
formatter, MarkupWriter writer,
FormSupport formSupport) {
System.out.println("### field:"+field);
Field inputField=field;
if (field instanceof SailingInput){
MyInput si=(MyInput)field;
inputField=si.get();
}
formSupport.addValidation(inputField, "test",
buildMessage(formatter,
field), null);
}
this is the output
### field:[EMAIL PROTECTED]
but the cast has never done.
Any ideas ?
thanks in advance.
-Rick
--
View this message in context:
http://www.nabble.com/t5-class-cast-tp15023351p15023351.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]