Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[struts 2] multiple buttons

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just need to 2 buttons - 'Remove' and 'Cancel', each of which will go to a different action.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems pretty straightforward to me. I'd do it like this.
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.

For some reason, it isnt working for me. I made a dirty workaround, and will try this again when I have time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic