[richfaces-issues] [JBoss JIRA] Commented: (RF-9890) panelMenu: itemChangeListener never fired and activeItem not put to model

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Mon Dec 6 09:53:02 EST 2010


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

Ilya Shaikovsky commented on RF-9890:
-------------------------------------

check richfaces showcase. listener not fired on first selection.
I believe that 
        if (previous != null && !previous.equalsIgnoreCase(activeItem)) {
should be
        if ((previous != null && !previous.equalsIgnoreCase(activeItem))||(previous == null) && (activeItem != null)) {

Check for switchable panels also.

> panelMenu: itemChangeListener never fired and activeItem not put to model
> -------------------------------------------------------------------------
>
>                 Key: RF-9890
>                 URL: https://jira.jboss.org/browse/RF-9890
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-menu
>    Affects Versions: 4.0.0.Milestone5
>            Reporter: Ilya Shaikovsky
>            Assignee: Alex Kolonitsky
>            Priority: Critical
>             Fix For: 4.0.0.Milestone5
>
>
> model not updated with activeItem as default output not setting it's value to model (in AbstractTogglePanel you using the same code for validate but also has processUpdates overriden)
> considering that we have no action for now at item - no way to trigger any code for processing selection.

-- 
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