[
https://issues.jboss.org/browse/RF-13101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12946691#comment-12946691
]
Brian Leathem commented on RF-13101:
------------------------------------
If the objects should be equal, but your equals method does not consider them
to be equal, then perhaps something is wrong with your equals method? +1 for
using a converter. The _select_ component allows you to use a converter
directly:
http://docs.jboss.org/richfaces/latest_4_X/vdldoc/rich/select.html
> rich:select Method getSelectInputLabel is not working when using objects
> ------------------------------------------------------------------------
>
> Key: RF-13101
> URL: https://issues.jboss.org/browse/RF-13101
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, component-selects
> Affects Versions: 4.3.2, 5.0.0.Alpha1
> Reporter: J W
> Labels: rich:select, select, waiting_on_user
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> The condition of the if-statement in
> org.richfaces.renderkit.SelectHelper.getSelectInputLabel(FacesContext
> facesContext, UIComponent component) is not working with the
> string-representations of the items. If using cloned objects the equals
> method will return false, even if the items are the same, because the IDs are
> different.
> The method should use only the strings of the objects, similiar to how
> MyFaces has solved this (check workarround).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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