You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2015/09/16 15:34:46 UTC

[jira] [Commented] (TRINIDAD-2529) Subforms should support defaultCommand attribute

    [ https://issues.apache.org/jira/browse/TRINIDAD-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14768930#comment-14768930 ] 

Mike Kienenberger commented on TRINIDAD-2529:
---------------------------------------------

The ASF open source development model is a scratch-your-own-itch development model.
If you submit a patch to implement this feature, we will add it to the project.
This sounds like an easy first-time project since you will be changing the condition to check for from form to subform.

If you have additional development questions, I recommend asking on the dev@myfaces mailing list.


> 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)