I just cannot figure this out, it looks really simple but I'm relatively new at jsf.
Here is the old stuff: Plain old html form tag like this:
<form name="someForm" action="somewhere" method="post">
<input name="param1"/>
<input name="param2" />
</form
That is sending data by post to a location specified in the action attribute of the form.
The new stuff:
<h:form id="paymentForm">
<h:panelGroup>
<h:inputText id="param1" value="#{facesView.param1}" ></h:inputText>
<h:inputText id="param1" value="#{facesView.param2}" ></h:inputText>
<h:panelGroup>
<h:commandLink>Submit</h:commandLink>
</h:panelGroup>
</h:form>
This other new stuff doesn't work.
1.How do I specify to this h:form where to go(like setting action in old html) because I need it to go to a totally new url.
2.how to pass params with POST?
Any help is appreciated. Milos