Re: [S2] Best way to provide default values for an action that takes GET parameters?

2008-12-15 Thread James Carr
Thanks! On Mon, Dec 15, 2008 at 12:59 PM, Oscar Alvarez wrote: > 2008/12/15 James Carr > >> is there a way to provide default values for action parameters without >> having to set defaults in the actual target objects? > > > May be Preparable interface meets your requirement. > > http://struts.a

Re: [S2] Best way to provide default values for an action that takes GET parameters?

2008-12-15 Thread Oscar Alvarez
2008/12/15 James Carr > is there a way to provide default values for action parameters without > having to set defaults in the actual target objects? May be Preparable interface meets your requirement. http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html

[S2] Best way to provide default values for an action that takes GET parameters?

2008-12-15 Thread James Carr
is there a way to provide default values for action parameters without having to set defaults in the actual target objects? I have an action with a request type object (provided from an API jar) that is populated via the GET params and submitted... however, for everyone's use they usually only mod