Hi,

I've defined a defaultCommand on a tr:form. It's linked to a command button
which has a partial trigger.

<tr:form defaultCommand="save" id="frmTest" partialTriggers="save">
        <tr:commandButton id="save" actionListener="#{cm.save}" text="Save"
partialSubmit="true"/>
</tr:form>

If I click on the button, the a partial submit is initiated, but if I press
<Enter>, the form is fully submitted and the page will be reloaded.

The form's default command should behave exactly like the button it is
linked to. How can I achieve this behaviour?

--
Kind regards,
Mathias

Reply via email to