Submit the form using a anchor tag without using the form's action method
724715Dec 5 2009 — edited Dec 7 2009Hi,
I have a jsp containing netui tags. I have a netui form having some input fields within it. There is a submit button which submits to the forms's action method in the pageflow controller. The formbean associated with that action is getting populated when the form is submitted. I now have placed a netui anchor tag inside the same form and would want to submit the form through the netui anchor tag. I would want the formbean to be populated when submitting the anchor tag. I want a new action method in the controller to be invoked when submitting through the netui anchor tag. Also, i would like the forwarded jsp at the end of the new action method to go to a new blank browser window.
Can you please let me know how can populate the formbean by submitting through the anchor tag in a new action method and at the same redirecting thforwarded/output jsp to a new browser window. I would like to have a different functionality in anchor submit and submit button submit and so would like to have different actions methods for each of the submits.I am not sure on how to submit the form using the netui anchor tag and also make the target to point to a new blank browser window. Can anyone help me regarding this?