myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: [Trinidad] tr:form defaultCommand no partial triggering
Date Wed, 23 Jan 2008 05:30:58 GMT
can you file an issue?
I'll take a look, maybe next week.

-M

On Jan 22, 2008 2:51 PM, Mathias Walter <mathias.walter@gmx.net> wrote:
> 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
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Mime
View raw message