[richfaces-issues] [JBoss JIRA] Commented: (RF-6862) RF picklist does not update target list after onchange event

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Oct 30 11:28:05 EDT 2009


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

Nick Belaevski commented on RF-6862:
------------------------------------

Sai,

Please use forum for questions. JIRA is for issues-tracking only.

> 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

        


More information about the richfaces-issues mailing list