[richfaces-issues] [JBoss JIRA] Commented: (RF-6620) rich:orderingList does not update model with newly ordered list

Jay Balunas (JIRA) jira-events at lists.jboss.org
Fri May 22 10:53:57 EDT 2009


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

Jay Balunas commented on RF-6620:
---------------------------------

Scott, Please provide more information on your environment, markup, or setup to reproduce.  The best place for this is the forums until a reproducible result is found.

Thanks,
Jay

> rich:orderingList does not update model with newly ordered list
> ---------------------------------------------------------------
>
>                 Key: RF-6620
>                 URL: https://jira.jboss.org/jira/browse/RF-6620
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1, 3.3.0
>         Environment: RichFaces 3.3.0 GA on JSF 1.2 (SUN RI) with Facelets.
>            Reporter: Scott Farley
>            Assignee: Alexander Dubovsky
>
> When using <rich:orderingList> on a simple facelets page the the model object is not updated with the newly ordered list.  I can see this work with RichFaces 3.1.3 but NOT 3.2.1 or 3.3.0.  My scenario includes using a JSF managed bean with a value of List<MyDataType> which is referenced in the "value" attribute of the "rich:orderingList" element.  The model setter method does get called on the managed bean when a commandButton fires an action but the model still has the original list.  Also the value changed event is not fired.
> Debugging the code showed that only in version 3.1.3 did the UIOderingList.validate(FacesContext context) method "walk" over the newly submitted values to build a list with the new values.  Version 3.3.0 walks over the original values instead causing the newValue to be the old value but still calls the setSelection() and setActiveItem() allowing them to work correctly.

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