[ 
https://issues.apache.org/jira/browse/MYFACES-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-2372.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-alpha
         Assignee: Leonardo Uribe

Thanks to Jakob Korherr for provide this patch.

> h:commandButton should render UIParameter children
> --------------------------------------------------
>
>                 Key: MYFACES-2372
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2372
>             Project: MyFaces Core
>          Issue Type: New Feature
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Jakob Korherr
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.0-alpha
>
>         Attachments: commandButton-uiparameter.patch
>
>
> Copied from jsf-spec facelets javadoc.
> If the component being rendered by this renderer has any UIParameter 
> children, each one of them must be rendered using the renderer for 
> component-family: "javax.faces.Input" and renderer-type: 
> "javax.faces.Hidden". For discussion, this is called the hiddenRenderer. A 
> component with component-type "javax.faces.Input" must be created for local 
> use in rendering each UIParameter child. The "id" property of the temporary 
> component must be set to the "name" of the UIParameter. The "value" property 
> of the temporary component must be set to the "value" of the UIParameter. For 
> each UIParameter child, the hiddenRenderer must have its encodeBegin(), 
> encodeChildren(), and encodeEnd() methods called, in order, passing the 
> temporary component as the second argument.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to