[
https://issues.jboss.org/browse/RF-10948?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-10948:
-------------------------------
Description:
The durable usage of the sample below can reproduce an inconsistent behavior of the
component 'select' in conjunction with a standard jsf-tag 'ajax':
on event 'selectitem' (it probably effects more events) the ajax-request
doesn't work consistent. Occurs sporadically! It usually affects the first selected
value.
{code}
<h:form id="formid">
<rich:select value="#{...}" label="...">
<f:ajax event="selectitem" render=":formid:tableid" />
<f:selectItem itemValue="0" itemLabel="0..n" />
<f:selectItem itemValue="20" itemLabel="20..n" />
<f:selectItem itemValue="40" itemLabel="40..n" />
</rich:select>
<h:dataTable value="..." id="tableid" var="...">
<h:column>
<h:outputText value="..."/>
</h:column>
<h:column>
<h:outputText value="..."/>
</h:column>
<h:column>
<h:outputText value="..."/>
</h:column>
</h:dataTable>
</h:form>
{code}
was:
The durable usage of the sample below can reproduce an inconsistent behavior of the
component 'select' in conjunction with a standard jsf-tag 'ajax':
on event 'selectitem' (it probably effects more events) the ajax-request
doesn't work consistent. Occurs sporadically! It usually affects the first selected
value.
<h:form id="formid">
<rich:select value="#{...}" label="...">
<f:ajax event="selectitem" render=":formid:tableid" />
<f:selectItem itemValue="0" itemLabel="0..n" />
<f:selectItem itemValue="20" itemLabel="20..n" />
<f:selectItem itemValue="40" itemLabel="40..n" />
</rich:select>
<h:dataTable value="..." id="tableid" var="...">
<h:column>
<h:outputText value="..."/>
</h:column>
<h:column>
<h:outputText value="..."/>
</h:column>
<h:column>
<h:outputText value="..."/>
</h:column>
</h:dataTable>
</h:form>
component select: instable behaviour in conjunction with a standard
jsf-tag ajax (event selectitem, probably more)
------------------------------------------------------------------------------------------------------------------
Key: RF-10948
URL:
https://issues.jboss.org/browse/RF-10948
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-selects
Affects Versions: 4.0.0.Final
Environment: Webcontainer: Tomcat 6
JSF 2.0 implementation: mojarra 2.0.4-b9
Richfaces 4 Final
Reporter: Sergej Becker
Assignee: Brian Leathem
Fix For: 4.1.0.Milestone2
The durable usage of the sample below can reproduce an inconsistent behavior of the
component 'select' in conjunction with a standard jsf-tag 'ajax':
on event 'selectitem' (it probably effects more events) the ajax-request
doesn't work consistent. Occurs sporadically! It usually affects the first selected
value.
{code}
<h:form id="formid">
<rich:select value="#{...}" label="...">
<f:ajax event="selectitem" render=":formid:tableid" />
<f:selectItem itemValue="0" itemLabel="0..n" />
<f:selectItem itemValue="20" itemLabel="20..n" />
<f:selectItem itemValue="40" itemLabel="40..n" />
</rich:select>
<h:dataTable value="..." id="tableid" var="...">
<h:column>
<h:outputText value="..."/>
</h:column>
<h:column>
<h:outputText value="..."/>
</h:column>
<h:column>
<h:outputText value="..."/>
</h:column>
</h:dataTable>
</h:form>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira