[richfaces-issues] [JBoss JIRA] Commented: (RF-10712) Refactoring Listeners classes, methods and Event names according to standard JSF convention. [WAS processUpload vs. processFileUpload - naming conventions]

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon May 2 16:10:18 EDT 2011


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

Nick Belaevski commented on RF-10712:
-------------------------------------

Looks like tree attributes were not renamed correctly, see: http://community.jboss.org/thread/165744?tstart=0

> Refactoring Listeners classes, methods and Event names according to standard JSF convention. [WAS processUpload vs. processFileUpload - naming conventions]
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-10712
>                 URL: https://issues.jboss.org/browse/RF-10712
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: compatibility
>    Affects Versions: 4.0.0.CR1
>         Environment: richfaces 4.0.X branch
>            Reporter: Martin Kočí
>            Assignee: Alex Kolonitsky
>             Fix For: 4.0.0.Final
>
>
> method org.richfaces.event.FileUploadListener.processUpload(FileUploadEvent) should be 
> FileUploadListener.processFileUpload - with the "File" word in the middle.
> The unspecified JSF convention is:
> * logical name ("FileUpload")
> * listener: logical name + "Listener" ("FileUploadListener")
> * event: logical name + "Event" ("FileUploadEvent")
> * method "process" + logical name ("processFileUpload")

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list