Sean Schofield wrote:
There are actually multiple buttons on this form that could trigger a submit. Each button is associated with a different actionListener method. How would it know which actionListener to fire if I just used "document.forms.fooForm.submit();" ?I took a look at what we are doing in our current application (no Faces just yet) that uses Tiles and has the "nav" section you are describing.
Basically we know the id of the form that will ultimately end up in the "main" section of our page so we use:
document.forms.fooForm.submit();
Why not just use this approach? I think you can add a style to your <h:commandButton> so it would be hidden.
sean
Norm

