Hi,
what about creating a Pojo holding all the form variables und referencing it
in the actionBean and doing validation using @ValidateNestedProperties?
Regards,
Richard

On Fri, Sep 10, 2010 at 12:52 PM, andres <ispanand...@yahoo.es> wrote:

>
> What is the best way to separate variabls in a larger form the action? In
> Struts 1 you have a separate action (for the logic) and form (to use for
> fields). In Stripes have all this in action. Hope I explained well.
>
> I thought to create a class NameModel with a variabls for a form and extend
> it of BaseActionBean and then extend my NombreActionBean class of NameModel
> to separate variables (form fields) from ActionBean and can access to them.
> And use only for the logic NombreActionBean.
>
> Do you know the better way to do it? After picking up the form fields
> NameModel would have to pass them to DAO object to store in DB.
>
> Thank you.
> Greetings.
>
>
> ------------------------------------------------------------------------------
> Automate Storage Tiering Simply
> Optimize IT performance and efficiency through flexible, powerful,
> automated storage tiering capabilities. View this brief to learn how
> you can reduce costs and improve performance.
> http://p.sf.net/sfu/dell-sfdev2dev
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>


-- 
Richard Hauswald
Blog: http://tnfstacc.blogspot.com/
LinkedIn: http://www.linkedin.com/in/richardhauswald
Xing: http://www.xing.com/profile/Richard_Hauswald
------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to