[EMAIL PROTECTED] wrote:
Hi guys,

in struts2 i have a class that extends ActionSupport.

In my validate method i can use clearErrorsAndMessages(); but when i try
clearFieldErrors() eclipse can not find it .

It looks like clearFieldErrors() was introduced in the (not yet released) 2.1.x stream; there's no such method in 2.0.11.1.

Should i put setFieldErrors(null); or extend another class ?

That might work. It might be safer to use getFieldErrors().clear() though.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to