You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Oratai Sookrojnirun <or...@bizdimension.com> on 2005/05/12 11:41:57 UTC

depends=required didn't work with radio button - I GOT A PROBLEM!

> Dear All, 
>   
> I'm in trouble of using "depends=required" in validation.xml for validate
> radio buttons. 
> If has no any selected the radio buttons. It don't validate anything and I
> got an errors message 
> "WARNING: Unhandled Exception thrown: class java.lang.NullPointerException" 
> (I'm using Tomcat 4.1.29) 
>   
> Firstly, i used commons-validator.jar version 1.0.2 .. and i tried to search
> for more information. 
> They told us about the bug on that version. 
>   
> Then i try to use version 1.1.3 and then 1.1.4 
> and i looked to this url :
> http://jakarta.apache.org/commons/validator/changes-report.html
>   
> i saw that this error has been edited since Release 1.1.1 .. 
>   
> But i'm trying to use new version but it still get the same error. 
>   
> Please suggestion what should I do asap ?? 
>   
> Thank you very much and Best Regards, 
>   
> WangRingRing 


------------------------------------------------------------------------
Disclaimer: 
This message may contain confidential whether or intended solely for the recipient(s) named above and any other use is prohibited. If you are not the addressee or authorized from BizDimension Co.,Ltd. to receive this message, you must not use, copy, disclose or take any action on this message or any information herein. The BizDimension will not be liable for any loss or damage arising directly or indirectly from the possession, publication or use of or reliance on information obtained, or any damage caused by any virus attached with this message.