changed subject to better reflect the issue. -M
On 9/20/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi, > > by accident I noticed this funny thing with form's defaultCommand and > IE7 (true for IE 6 as well ??) > > here is a demo, that has a form, containing a defaultCommand > > http://www.irian.at/trinidad-demo/faces/components/form.jspx > > Do the following: > -enter first value > -enter second value AND! hit enter. > > => Notice that the button label changes to the ID of the button :-) > > (sure, FF it works as expected ;-)) > > the source-code is: > <tr:form defaultCommand="first" binding="#{editor.component}"> > ... > <tr:inputText label="First form, First Field:" shortDesc="Field 1" /> > <tr:inputText label="First form, Second Field:" shortDesc="Field 2" /> > <tr:commandButton id="first" text="First" /> > ... > </tr:form> > > any comments ? > > -Matthias > -- > 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
