struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: Retrieving values for which there is no specific getter
Date Wed, 11 May 2011 20:22:23 GMT
You implement the ParameterAware interface on your Action.  Struts calls
your action's setParameters(Map) method passing you the map of all the
parameters that were submitted by the form.  You use the map in your
action's execute() method to fulfill it's reason for being.
  (*Chris*)

On Wed, May 11, 2011 at 12:28 PM, Mitch Claborn <mitch_ml@claborn.net>wrote:

> I think the ParameterAware is for setting values into my Action.  I need to
> get the values from my action, into the HTML form.
>
> mitch
>
>
>
> On 05/11/2011 02:07 PM, Chris Pratt wrote:
>
>> Not as such, but you can implement the ParameterAware[1] interface and
>> retrieve the from the supplied map.
>>   (*Chris*)
>>
>> 1 -
>>
>> http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/interceptor/ParameterAware.html
>>
>> On Wed, May 11, 2011 at 12:03 PM, Mitch Claborn<mitch_ml@claborn.net
>> >wrote:
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message