[richfaces-issues] [JBoss JIRA] Created: (RF-4613) comboBox broken after placed in table header and reRendered

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Wed Oct 15 07:48:20 EDT 2008


comboBox broken after placed in table header and reRendered
-----------------------------------------------------------

                 Key: RF-4613
                 URL: https://jira.jboss.org/jira/browse/RF-4613
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Ilya Shaikovsky
            Assignee: Nick Belaevski


1) open the page
2) press button outside the page

Result:

1) combo opens only from the second time.
2) after choosing some item - combo list can't be closed
3) combo list layout broken.


	<h:form>
		<rich:dataTable value="#{capitalsBean.capitals}" var="cap" id="table" rows="20">
			<f:facet name="header">
				<rich:columnGroup>
					<rich:column colspan="2">
						<h:outputText value="Filtering Example" />
					</rich:column>
					<rich:column breakBefore="true">
						<h:outputText value="State Name" />
					</rich:column>
					<rich:column>
						<h:outputText value="State Time Zone" />
					</rich:column>
				</rich:columnGroup>
			</f:facet>
			<rich:column filterMethod="#{filteringBean.filterStates}">
				<f:facet name="header">
					<rich:comboBox value="#{filteringBean.filterValue}" id="combo">
						<f:selectItem itemValue="123"/>
						<f:selectItem itemValue="123"/>
						<f:selectItem itemValue="123"/>
						<f:selectItem itemValue="123"/>
					</rich:comboBox>
				</f:facet>
				<h:outputText value="#{cap.state}" />
			</rich:column>
			<rich:column
				filterExpression="#{fn:containsIgnoreCase(cap.timeZone, filteringBean.filterZone)}">
				<f:facet name="header">
					<h:selectOneMenu value="#{filteringBean.filterZone}">
						<f:selectItems value="#{filteringBean.filterZones}" />
						<a4j:support event="onchange" reRender="table, ds2" />
					</h:selectOneMenu>
				</f:facet>
				<h:outputText value="#{cap.timeZone}" />
			</rich:column>
			<f:facet name="footer">
				<rich:datascroller id="ds2" renderIfSinglePage="false"></rich:datascroller>
			</f:facet>
		</rich:dataTable>
		 <a4j:commandButton reRender="table"></a4j:commandButton>		
	</h:form>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list