Struts Validation framework

2008-08-10 Thread Pappula Jagan
I have a check box and a text field in my webpage. If check box is checked then textfield MAY have valid ip address, its not a mandatory field. Textfiled value is optional and it shuld be validated for IP address, only if check box is cheked. Pls. let me know how to do this in struts validator fra

RE: not displaying Action errors

2008-08-10 Thread Umar Bilal
Hi I went through your code it looks absolutely fine except that ActionError is obsolute now use ActionMessage instead. That could be a reason since your error is on validation. Try this and if you couldn't get the desired result is suggest you do the validation using ResourceBundle. Take care b

value-stack data lost when using dynamic result.

2008-08-10 Thread Dwipin C
Hi, I have this requirement to have a dynamic result dispatch. I am accomplishing this the following way - ${loginPage} ${loginPage} The page dynamically shows up, no problems there. However when

Re: not displaying Action errors

2008-08-10 Thread Narasimha Raju Naidu
thanks for your reply. but itz not working. im getting the same output. for reference im sending screen shot of that output please check once. Regards, - On Sun, Aug 10, 2008 at 9:55 PM, Richard Yee <[EMAIL PROTECTED]> wrote: > You are using == to test string equality instead of equ

Re: not displaying Action errors

2008-08-10 Thread Richard Yee
You are using == to test string equality instead of equals() -R Sent from my iPhone On Aug 8, 2008, at 11:52 PM, "Narasimha Raju Naidu" <[EMAIL PROTECTED]> wrote: hi to all, im sending my code please check where i am doing mistake form.jsp --- <%@ taglib uri="/tags/str

Re: Simple validation does not work

2008-08-10 Thread Anton Bashmakov
Actually I can't find xwork 2.0.6, it's only 2.1 after 2.5 on the official xwork site. I've downloaded strats 2.0.11.2 (i was using 2.0.11.1 before) and tried it, but result is till the same. On Sat, Aug 9, 2008 at 9:50 PM, Struts Two <[EMAIL PROTECTED]> wrote: > xwork2.0.5 is missing a patch for