Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

image and multiple form actions

 
azhar bharat
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a search form, which is common input form for 3 different Action classes. I have 3 images instead of submit buttons which needs to submit to the corresponding action class. I can use "onclick" attribute for this. But i want to know if there is anything i can do using "html:image" tag to achieve this without "onclick".

Due to specific requirements i cannot use DispatchAction in the application.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not tried this personally, but there is an ImageButtonBean object that you might try using.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic