[
https://jira.jboss.org/jira/browse/RF-6862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12492304#action_12492304
]
s burgula commented on RF-6862:
-------------------------------
Hi Nick
I would like to know how you are accessing rolePickList in your backing bean.
I have a similar thing defined in my application. And I have getters and
setters for the pickList in my backing bean. Now when I hit update button on
the page, a backing bean method updateCourseOffr() is invoked. Within that
method, I try to print the size of the pickList, and I get 0. I am able to
populate the left pickList. I am talking about accessing the right picked List.
Please let me know if you have any suggestion for it.
thanks
Sai
> RF picklist does not update target list after onchange event
> ------------------------------------------------------------
>
> Key: RF-6862
> URL: https://jira.jboss.org/jira/browse/RF-6862
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.2, 3.3.0
> Environment: JBoss AS 4.2.3 (Ubuntu Linux 8.04)
> Reporter: Brendan Farragher
> Assignee: Nick Belaevski
> Attachments: TestRichFacesPicklistWithBinding.tar,
> TestRichFacesPicklistWithoutBinding.tar
>
>
> The RichFaces picklist component does not re-load it's pre-selected (target)
> data correctly when an onchange event of a dependent selectonelistbox
> component is raised. If a valuechangelistener method is set on the
> selectonelistbox, and that method loads the picklist's source and target
> lists with new data, the target list is not populated when the page is
> re-displayed (in this case, the target list in the backing bean maps to the
> value attribute of the picklist tag). I even tried wrapping the picklist in
> an a4j:outputPanel with an a4j:support event=onchange reRender=pickListName
> tag placed inside of the selectonelistbox tag, but the target list is never
> populated.
> I have a JSF test application developed that I can provide you with that
> demonstrates the problem, and a second JSF test application that contains a
> workaround using a bound HtmlPickList (the workaround is not really
> appropriate for Seam integration, though). (Please update the JIRA with a
> forwarding address if you would like my test apps)
> Please note that this bug has more important implications for Seam
> integration, since JSF component binding is discouraged. As a result, the
> value attribute of the picklist (the target data) needs to be refreshed via
> the picklist tag value attribute (or via some a4j help).
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues