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

h:commandButton renderer now can have children

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-beta
    • Component/s: JSR-344
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: