currently the PPR function is *rendered* out to onchange, to cause the PPR, when you tab out.
We could add this for onkeyup event, when no defaultCommand is set on form and check inside if ENTER was the pressed key. Sounds like an enhancement request ? -Matthuas On 7/12/07, William Hoover <[EMAIL PROTECTED]> wrote:
Thanks for the reply! I have considered using defaultCommand on the form, but I have a form that has multiple <tr:inputText /> each having it's own call to a backing bean method. They are all in the same form because they share other common fields within it. Any other suggestions? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthias Wessendorf Sent: Thursday, July 12, 2007 8:54 AM To: MyFaces Discussion Subject: Re: [Trinidad] <tr:inputText /> Submit PPR On Enter Have you tried <tr:form defaultCommand="..." >... http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_form.html Setz the button/link to be a ppr command. On 7/12/07, William Hoover <[EMAIL PROTECTED]> wrote: > Is there a way invoke a PPR call for a <tr:inputText /> when the enter key is pressed? > > For Example (I know "submitOnEnter" is not a valid attribute- just illustration): > > <tr:inputText id="submitsOnEnter" submitOnEnter="#{myBean.processOnEnterCall}" /> > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org
-- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org

