Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-9076

CDK: empty encodeChildren method is not generated

    Details

      Description

      For the following template:

      <cc:interface>
      <cdk:class>org.richfaces.renderkit.html.ListRenderer</cdk:class>
      <cdk:superclass>org.richfaces.renderkit.ListRendererBase</cdk:superclass>
      <cdk:component-family>org.richfaces.List</cdk:component-family>
      <cdk:renderer-type>org.richfaces.ListRenderer
      </cdk:renderer-type>
      <cdk:renders-children>true</cdk:renders-children>

      </cc:interface>

      <cc:implementation>
      <cdk:body></cdk:body>

      <cdk:object type="org.richfaces.component.ListType" name="listType" value="#

      {getType(component)}

      " />

      <cdk:object name="styleClass" value="#

      {getStyleClass(component, listType)}

      " />
      <cdk:object name="elementId" value="#

      {getElementId(facesContext, component)}

      " />

      ...//code
      </cc:implementation>

      I expect empty encodeChildren() method to be generated, however this doesn't happen.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexsmirnov Alexander Smirnov
                  Reporter:
                  nbelaevski Nick Belaevski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: