You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@yahoo.com> on 2008/09/02 20:11:00 UTC
Re: Struts 2 Buttons
--- On Tue, 9/2/08, Roger wrote:
> Is it possible to define a button (<s:input> in such a
> way that, instead of of calling a method in the action
> defined in the <s:form> tag, it calls a completely different
> action.method. Is it possible to just add a button that
> calls an action on the jsp.
http://struts.apache.org/2.x/docs/submit.html
action and method attributes.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts 2 Buttons
Posted by Roger <ro...@googlemail.com>.
On Tuesday 02 September 2008 21:11:00 Dave Newton wrote:
> --- On Tue, 9/2/08, Roger wrote:
> > Is it possible to define a button (<s:input> in such a
> > way that, instead of of calling a method in the action
> > defined in the <s:form> tag, it calls a completely different
> > action.method. Is it possible to just add a button that
> > calls an action on the jsp.
>
> http://struts.apache.org/2.x/docs/submit.html
>
> action and method attributes.
>
Thanks again Dave. Actually I had already read that that page. As a beginner
to Struts 2, I'm sorry, but from my point of view, without examples ( or
people on this forum giving strong hints) that page is not of much use. It's
certainly my fault as a beginner but when you're not sure what you need to
ask, just a list of attribute/values is not helpful
</gripe>
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org