[richfaces-issues] [JBoss JIRA] Commented: (RF-7363) cdk can generate invalid tld

Marek Novotny (JIRA) jira-events at lists.jboss.org
Fri Jan 22 13:39:19 EST 2010


    [ https://jira.jboss.org/jira/browse/RF-7363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12507881#action_12507881 ] 

Marek Novotny commented on RF-7363:
-----------------------------------

I have noticed badly pasted content, notice different place of description tag in generated result: 

<attribute>
<name>itemDisabled</name>
<rtexprvalue>false</rtexprvalue>
<description>Alias for disabled : if true the SelectItem will be rendered disabled. Can reference the var
variable</description>
</attribute>

instead of :

 <attribute>
<description>Alias for disabled : if true the SelectItem will be rendered disabled. Can reference the var variable</description>
<name>itemDisabled</name>
<rtexprvalue>false</rtexprvalue>
</attribute>

The definition is:
<property exist="true">
<name>label</name>
<classname>java.lang.String</classname>
<description>the label to be used when rendering the SelectItem. Can reference the var variable</description>
            <alias>itemLabel</alias>
</property> 

> cdk can generate invalid tld
> ----------------------------
>
>                 Key: RF-7363
>                 URL: https://jira.jboss.org/jira/browse/RF-7363
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: CDK
>    Affects Versions: 3.3.0
>            Reporter: Norman Richards
>            Assignee: Andrey Markhel
>             Fix For: 3.3.2.CR1
>
>          Time Spent: 4 hours
>  Remaining Estimate: 0 minutes
>
> This is was reported as a Seam issue (JBSEAM-4192) but it's actually a CDK issue.  The generator is generating the description as the last child of the attribute element when it should be the first.  It looks to me that the problem is in META-INF/templates12/taglib.vm, though I would note that it appears META-INF/templates/taglib.vm may contain a similar problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list