[JBoss JIRA] (RF-11864) selectOneMenu with converter inside collapsiblePanel does not show correct value when switchType is ajax
by Andrew Wheeler (Created) (JIRA)
selectOneMenu with converter inside collapsiblePanel does not show correct value when switchType is ajax
--------------------------------------------------------------------------------------------------------
Key: RF-11864
URL: https://issues.jboss.org/browse/RF-11864
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.1.0.Final
Environment: Linux, 7.0.2.Final, Seam 3.1.Final (faces, solder and persistence)
Reporter: Andrew Wheeler
If the panel contents contain a selectOneMenu with a custom converter and the switchType is "ajax" then the correct option is not shown. If the switchType is changed to "client" then the correct option is displayed. In both instances the converter function getAsString returns the correct value but it appears this is not used to mark the option as selected.
{code:xml}
<rich:collapsiblePanel id="addressPanel" header="Address" switchType="ajax" expanded="false">
<h:panelGroup id="addresses" layout="block">
<ui:repeat value="#{personHome.addressable.addresses}" var="address" id="addressRepeat">
<h:panelGroup id="addressBlock" layout="block">
<h:panelGroup styleClass="property" layout="block">
<h:outputLabel for="addressType" id="addressTypeLabel" value="Type:"/>
<h:selectOneMenu id="addressType" value="#{address.addressType}" hideNoSelectionOption="true" required="true" converter="identityConverter" label="Address type">
<f:selectItem itemValue="" itemLabel="Please select..." noSelectionValue="true"/>
<f:selectItems value="#{addressTypes}" var="t" itemLabel="#{t.description}"/>
</h:selectOneMenu>
<h:message for="addressType" styleClass="property-error"/>
</h:panelGroup>
.
.
.
{code}
--
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
13 years, 11 months
[JBoss JIRA] (RF-11753) faulty rendering of rich:dataTable and rich:collapsibleSubTable
by Pavel Hofrík (Created) (JIRA)
faulty rendering of rich:dataTable and rich:collapsibleSubTable
---------------------------------------------------------------
Key: RF-11753
URL: https://issues.jboss.org/browse/RF-11753
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.1.0.CR1
Environment: Apache Tomcat 6.0
Java 1.6.0_24
Mojarra 2.1.2
Reporter: Pavel Hofrík
a4j:commandLink launches action listener and render a4j:outputPanel. In this listener I change data that are displayed in a4j:outputPanel (There are some h:outputTexts and rich:dataTable)
Problem is that data are succesfully changed in managed bean, all outputTexts are rendered with changes, but not dataTable. When I render this outputPanel again (with no changes in mb), table is succesfully rendered with proper values.
There would be problem that dataTable holds reference to List in its value, but I create new one, so referende is invalid.
Same problem goes to collapsibleSubTable
RF 4.1M3 and M4 were ok
code example is in http://community.jboss.org/message/638563
--
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
13 years, 11 months