« Return to Thread: Can you set parameters in using in the tag body?

Re: Can you set parameters in <s:submit> using <s:param> in the tag body?

by Jeromy Evans - Blue Sky Minds :: Rate this Message:

Reply to Author | View in Thread

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: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Can you set parameters in using in the tag body?