Issue Type: Bug Bug
Affects Versions: 4.2.2.Final, 4.1.0.Final
Assignee: Unassigned
Components: component-selects
Created: 13/Jun/12 9:23 AM
Description:

An USelect is re-rendered.
The request is issued by the HTML of a different component of the same form, for example a rich:tabPanel. The immediate attribute of the other component is set true (<rich:tabPanel immediate="true">). In that case, the label text of rich:select is not rendered. It looks like the selected value is lost.

The problem probably originates from

org.richfaces.renderkit.SelectHelper.getSelectInputLabel(FacesContext,UIComponent)

returing null if UISelect.getSubmittedValue() != null

SelectHelper.getSelectInputLabel() is indirectly called by org.richfaces.renderkit.html.SelectRenderer.encodeEnd(FacesContext,UIComponent) .

If the UISelect is not validated due to JSF immediate processing, its submitted value is not cleared.

The problem is also present when the UISelect is disabled.
If you should try to fix the bug, take care that is is fixed for disabled selects, too.

Environment: Java 7, Mojarra 2.1.6
Project: RichFaces
Priority: Major Major
Reporter: Lutz Ulrich
Security Level: Public (Everyone can see)
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