Alexej Wiederkehr created TRINIDAD-2529:
-------------------------------------------

             Summary: Subforms should support defaultCommand attribute
                 Key: TRINIDAD-2529
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2529
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Components
    Affects Versions: 2.1.0-core
            Reporter: Alexej Wiederkehr


Currently <tr:subform> tag does not support defaultCommand-attribute like 
<tr:form> does.
So its not possible to submit a subform using enter button.
In Oracle ADF this defaultCommand-attribute seems to be supported

http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_subform.html
{code}defaultCommand
String
Yes     
the client id of the command component inside the subform whose action should 
be invoked by default, when the enter key is pressed with focus inside the 
subform. This attribute overrides the defaultCommand set on form.
Identifiers are relative to the subform component, and must account for 
NamingContainers. You can use a single colon to start the search from the root, 
or multiple colons to move up through the NamingContainers - "::" will pop out 
of the component's naming container and begin the search from there, ":::" will 
pop out of two naming containers and begin the search from there, etc.{code}

Please implement it also in Trinidad!

Thank you!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to