From the workbench example, We know that Tapestry is able to indicate a 
ValidField being Invalid by writing a CSS class, for example "field-error", 
with the "writeAttributes" method in the delegate class of a specified form. 
However, for some purpose, the ValidField initially has its own CSS class 
"normal". It may be rendered as following in normal situation:

<input ... class="normal"/>

When an error is detected, the delegate class will render the ValidField 
like:

<input .. class="normal" class="field-error"/>

Since the "normal" class is kept, the "field-error" takes no effect at all. 

Would you please tell me how to make this class take effect or remove the 
"normal" class.

Best wishes, Andy

-- 
[EMAIL PROTECTED]
偶爾投影在妳的波心

----偶然.徐志摩

Reply via email to