[richfaces-issues] [JBoss JIRA] (RF-12323) rich:select does not re-render label text when PROCESS_VALIDATIONS is skipped
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Tue Aug 7 00:33:06 EDT 2012
[ https://issues.jboss.org/browse/RF-12323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-12323:
-------------------------------
Fix Version/s: 4-Tracking
> rich:select does not re-render label text when PROCESS_VALIDATIONS is skipped
> -----------------------------------------------------------------------------
>
> Key: RF-12323
> URL: https://issues.jboss.org/browse/RF-12323
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 4.1.0.Final, 4.2.2.Final
> Environment: Java 7, Mojarra 2.1.6
> Reporter: Lutz Ulrich
> Fix For: 4-Tracking
>
> Attachments: richFacesSelectImmediate.xhtml
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list