[richfaces-issues] [JBoss JIRA] Updated: (RF-9076) CDK: empty encodeChildren method is not generated
Alexander Smirnov (JIRA)
jira-events at lists.jboss.org
Fri Aug 20 18:29:11 EDT 2010
[ https://jira.jboss.org/browse/RF-9076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Smirnov updated RF-9076:
----------------------------------
The case depends of developer intend ( for me, empty encodeChildren is useful then it implemented by the base class - for example, base Renderer implementation already does it well ), so I introduced 'enforce' boolean attribute that enforces empty method generation.
> CDK: empty encodeChildren method is not generated
> -------------------------------------------------
>
> Key: RF-9076
> URL: https://jira.jboss.org/browse/RF-9076
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CDK, regression
> Affects Versions: 4.0.0.Milestone2
> Reporter: Nick Belaevski
> Assignee: Alexander Smirnov
> Fix For: 4.0.0.Milestone2
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list