David Delbecq wrote:
when form is valid, your action is called and a navigation occured. In
the page, after navigation, have 2 forms. One is you original form
(probably empty now). The other is a form with only hidden input field
and a target to "_blank". All you javascript has to do is to call the
form_submit() method associated with your hidden form. JSF generate such
javascript function for each form. You just have to call it on page load :)

You mean something like this?

<!-- execute onload handler conditionally or use two different views? -->
<trh:body onload="form_submit();">

<h:form>  <!-- actual input form goes here -->  </h:form>

<h:form id="blank" target="_blank">
 <h:inputHidden value="aa"/>
</h:form>

</trh:body>


How do I specify which action method gets executed when "blank" form
is submitted?

Reply via email to