Thanks for your reply Jeromy.

I've read Mark's Struts 2 Cookbook and it gave me good ideas.

What I just did was the following:

   - Create an action in the struts.xml
   - Used that particular action in the <s:submit> tag
   - In the struts.xml, I've set some dynamic parameters along with the
   action definition

Everything went like charm.

Cheers!
Eduardo

On Thu, May 8, 2008 at 9:57 PM, Jeromy Evans <
[EMAIL PROTECTED]> wrote:

> Jeromy Evans wrote:
>
>>
>> No, that's not supported.  It would have to append the parameters to the
>> query string or create post parameters after the specific submit button is
>> pressed. That would need to be implemented using a javascript listener
>> attached to the click or submit event.  It's a nice idea though.
>> ---------------------------------------------------------------------
>>
>
> I should add that the action and method attributes of <submit> work by
> appending the action or method value into the name/value of the <input> for
> the submit button. The selected submit button's name/value are one of the
> submitted form's parameters.  Embedding an arbitrary number of params into
> the name/value of the submit would not be as elegant.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Eduardo Dela Rosa

Reply via email to