I believe the main thing parameterAware does for you is make it so u don't
have to call
Map parameters = ActionContext.getContext().getParameters();
instead
you can call this.getParameter().
my call to getParameter("listOfemails") returns a String[] that I need to
iterate over. If OGNL cannot handle this, that is fine. Would love it if
someone could set me straight.
Will
Will Berger wrote:
>
> You asked why would one want to do it this way. When processing a post
> from a form that has check boxes, being able to specifiy which boxes were
> checked for a confirmation page is a common occurence. What I am trying
> to do. I could create an action class to return an iterator. A lot of
> work for something so simple.
>
> Will
>
>
> Will Berger wrote:
>>
>> I have seen this page. I don't see where it shows you how to iterate
>> over an array of strings. or how to access an array of request
>> parameters. Can you elaborate on your explanation?
>>
>> Will
>>
>>
>> Dave Newton-4 wrote:
>>>
>>> --- Will Berger <[EMAIL PROTECTED]> wrote:
>>>> How does one in struts 2 process a list of req
>>>> parameters using ognl?
>>>
>>> http://struts.apache.org/2.x/docs/ognl.html
>>>
>>> Although I'm not sure why you'd want to do it like
>>> that :/
>>>
>>> d.
>>>
>>>
>>>
>>>
>>> ____________________________________________________________________________________
>>> Food fight? Enjoy some healthy debate
>>> in the Yahoo! Answers Food & Drink Q&A.
>>> http://answers.yahoo.com/dir/?link=list&sid=396545367
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/request.getParameterValues-OGNL---tf3528203.html#a9847064
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]