You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/09/05 18:22:51 UTC

[jira] [Created] (MYFACES-3771) h:commandButton renderer now can have children

Leonardo Uribe created MYFACES-3771:
---------------------------------------

             Summary: h:commandButton renderer now can have children
                 Key: MYFACES-3771
                 URL: https://issues.apache.org/jira/browse/MYFACES-3771
             Project: MyFaces Core
          Issue Type: Task
          Components: JSR-344
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


The renderkit javadoc of javax.faces.Command / javax.faces.Button has this new line:

"... Because this renderer is responsible for rendering its own children, the renderer will decide if the end tag is required or not based on the presence or absence of children for the component. ..."

All encoding right now is done in encodeEnd, but to make this work correctly we need to put some code in encodeBegin and close the tag in encodeEnd.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira