[richfaces-issues] [JBoss JIRA] (RF-12141) itemChangeListener wrong description for attributes @type and @listener in VDL-DOC

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Apr 4 09:37:48 EDT 2012


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

Lukáš Fryč edited comment on RF-12141 at 4/4/12 9:36 AM:
---------------------------------------------------------

The problem is that the descriptions for Event listeners are static in {{4.2.1.CR1}}:
https://github.com/richfaces/cdk/blob/release/4.2.1.Final/generator/src/main/java/org/richfaces/cdk/generate/taglib/ListenerAttributes.java#L13

Solution is to make this dynamic = derive the event/listener names to fill in the names appropriately.
                
      was (Author: lfryc):
    The problem is that the descriptions for Event listeners are static in {{4.2.1.CR1}}:
https://github.com/richfaces/cdk/blob/release/4.2.1.Final/generator/src/main/java/org/richfaces/cdk/generate/taglib/ListenerAttributes.java#L13

Solution is to make this dynamic.
                  
> itemChangeListener wrong description for attributes @type and @listener in VDL-DOC
> ----------------------------------------------------------------------------------
>
>                 Key: RF-12141
>                 URL: https://issues.jboss.org/browse/RF-12141
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: doc
>            Reporter: Jiří Štefek
>            Assignee: Lukáš Fryč
>             Fix For: 4.2.1.Final
>
>
> Wrong description in VDL-doc [1] for attribute @type. As written in component reference [2] it accepts ItemChangeListener not ActionListener. 
> Wrong description in VDL-doc [1] for attribute @listener. As written in component reference [2] the method should accept ItemChangeEvent not ActionEvent.
> [1]http://docs.jboss.org/richfaces/latest_4_2_X/vdldoc/rich/itemChangeListener.html
> [2]http://docs.jboss.org/richfaces/4.2.X/4.2.0.Final/Component_Reference/en-US/html_single/#sect-Component_Reference-Panels-richitemChangeListener

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list