Re: How to validate multiple fields with the same name

2013-03-24 Thread Muralidhar Yaragalla
Hi can you explain in brief how to do with interceptor(built in)?


On Mon, Mar 25, 2013 at 2:13 AM, Pranava Swaroop
wrote:

> It could be done with buit in interceptors using configuration files or
> using the programming
>
> On Monday, 25 March 2013, Muralidhar Yaragalla wrote:
>
> > Hi In my form i have 4 textfields with the same name so how do i validate
> > this using validation frame work. The validation for this 4 fields is,
> out
> > of 4 fields 2 fields are mandatory and no field should contain special
> > characters. So can this be done using validation frame work or do i have
> to
> > do custom valiation in my validate()  method inside action class.
> >
> > --
> > Thanks And Regards,
> > *Muralidhar Yaragalla.
> > *
> >
>
>
> --
> Keep looking Don't Settle
>



-- 
Thanks And Regards,
*Muralidhar Yaragalla.
*


Re: How to validate multiple fields with the same name

2013-03-24 Thread Pranava Swaroop
It could be done with buit in interceptors using configuration files or
using the programming

On Monday, 25 March 2013, Muralidhar Yaragalla wrote:

> Hi In my form i have 4 textfields with the same name so how do i validate
> this using validation frame work. The validation for this 4 fields is, out
> of 4 fields 2 fields are mandatory and no field should contain special
> characters. So can this be done using validation frame work or do i have to
> do custom valiation in my validate()  method inside action class.
>
> --
> Thanks And Regards,
> *Muralidhar Yaragalla.
> *
>


-- 
Keep looking Don't Settle


How to validate multiple fields with the same name

2013-03-24 Thread Muralidhar Yaragalla
Hi In my form i have 4 textfields with the same name so how do i validate
this using validation frame work. The validation for this 4 fields is, out
of 4 fields 2 fields are mandatory and no field should contain special
characters. So can this be done using validation frame work or do i have to
do custom valiation in my validate()  method inside action class.

-- 
Thanks And Regards,
*Muralidhar Yaragalla.
*


Re: question on results?

2013-03-24 Thread Lukasz Lenart
2013/3/24 Muralidhar Yaragalla :
> Hi In my action class i need to get all the results mapped to that
> particular action calss, how to do that?

You can take a look on the Config Browser plugin

https://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/config-browser/


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org