[
https://jira.jboss.org/jira/browse/RF-4523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabian Glanzmann updated RF-4523:
---------------------------------
Workaround Description:
Your managedBean (MB) should contain a object-array and a list of your
business-objects. The setValue-method of your MB should decide if the param
contains business-objects or string. If it contains business-objects, buffer
these objects otherwise reconstruct your objects.
I attached an MB including this workaround.
was:Your managedBean should contain a object-array and a list of your
business-objects. Additional you have to implement a method, that matches the
strings in the object-array and your list-items. Possibly you should overwrite
the toString()-method of your business-objects.
> OrderingList manipulates data (converts to String) while passing the
> JSF-lifecycle
> ----------------------------------------------------------------------------------
>
> Key: RF-4523
> URL: https://jira.jboss.org/jira/browse/RF-4523
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Environment: WinXP SP2, Vista SP2, Eclipse 3.3 (Europe), Sun JVM
> 1.5.15, IBM JVM (WebSphere 6.1), FireFox, Opera, IE 6.0
> Reporter: Fabian Glanzmann
> Attachments: ManagedBean.java, orderingList_on_first_load.jpg,
> orderingList_on_first_load.jpg, orderlingList_error.jpg
>
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> "on order change" I process an action on the controller. During passing the
> JSF-lifecycle the orderingList-componen converts my business-objects into
> strings by invoking the toString()-method.
> UIOrderingList (Line: 548)
> the wrong values are restored by the UIDataAdaptor and added to the newValue
> UIOrderingList (Line: 581): setValue(newValue)
> newValue is a string-array instead a business-object-array
> Finally an error occurred: (see Attachments)
> - screenshot 1: works great
> - screenshot 3: an error occurred cause the datatypes has changed
--
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