myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger (JIRA)" <>
Subject [jira] [Commented] (TRINIDAD-2529) Subforms should support defaultCommand attribute
Date Wed, 16 Sep 2015 13:34:46 GMT


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

> Subforms should support defaultCommand attribute
> ------------------------------------------------
>                 Key: TRINIDAD-2529
>                 URL:
>             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>
> So its not possible to submit a subform using enter button.
> In Oracle ADF this defaultCommand-attribute seems to be supported
> {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

View raw message