aspose file tools*
The moose likes Struts and the fly likes [struts 2] multiple buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "[struts 2] multiple buttons" Watch "[struts 2] multiple buttons" New topic
Author

[struts 2] multiple buttons

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Hi,

Anyone able to successfully use at least 2 buttons?

I cant seem to make it work using the notes in http://struts.apache.org/2.x/docs/html-form-buttons-howto.html.
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
I just need to 2 buttons - 'Remove' and 'Cancel', each of which will go to a different action.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Seems pretty straightforward to me. I'd do it like this.


Merrill
Consultant, Sima Solutions
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Thanks.

For some reason, it isnt working for me. I made a dirty workaround, and will try this again when I have time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [struts 2] multiple buttons