Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3771

h:commandButton renderer now can have children

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0-beta
    • JSR-344
    • None

    Description

      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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: