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

image and multiple form actions

azhar bharat
Ranch Hand

Joined: Jul 17, 2006
Posts: 87
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

Joined: Feb 15, 2005
Posts: 4864
I have not tried this personally, but there is an ImageButtonBean object that you might try using.


Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: image and multiple form actions