I have these buttons (and will have another soon) and want a given button to be "auto-pressed" when the user logs in.
At the moment I think it picks the nearest button!
Can we somehow add an attribute to the button to tell seam which button to auto-press or canthis be done already and I have just not seen it yet?
<td> <h:commandButton type="submit" value="#{messages.button_login}" action="#{identity.login}"> </h:commandButton> </td> <td> <h:commandButton action="#{loginController.cancel}" value="#{messages.button_cancel}" immediate="true" type="submit" /> </td>
By "auto-pressed" I mean that when the user presses return (say in the password field). ..