[richfaces-issues] [JBoss JIRA] Closed: (RF-1001) Can't switch table through rich:datascroller

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Oct 16 08:46:04 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-1001?page=all ]

Ilya Shaikovsky closed RF-1001.
-------------------------------


> Can't switch table through rich:datascroller
> --------------------------------------------
>
>                 Key: RF-1001
>                 URL: http://jira.jboss.com/jira/browse/RF-1001
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: Ilya Shaikovsky
>         Assigned To: Ilya Shaikovsky
>             Fix For: 3.2.0
>
>
>       		<h:form>
> 			<rich:dataTable value="#{capitalsBean.capitals}" var="cap"  rows="5">
> 				<a4j:support event="onRowClick" actionListener="#{capitalsBean.actionListener}"/>
> 				<rich:column>
> 					<a4j:outputPanel id="row1">
> 						<h:inputText  value="#{cap.name}" rendered="#{cap.checked}"></h:inputText>
> 						<h:outputText value="#{cap.name}" rendered="#{not cap.checked}"></h:outputText>
> 					</a4j:outputPanel>
> 				</rich:column>
> 				<rich:column>
> 					<a4j:outputPanel id="row2">
> 						<h:inputText value="#{cap.state}" rendered="#{cap.checked}"></h:inputText>
> 						<h:outputText value="#{cap.state}" rendered="#{not cap.checked}"></h:outputText>
> 					</a4j:outputPanel>
> 				</rich:column>
> 				<rich:column>
> 					<h:selectBooleanCheckbox value="#{cap.checked}">
> 						<a4j:support event="onclick" reRender="row1,row2">
> 							<a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender"></a4j:ajaxListener>
> 						</a4j:support>
> 					</h:selectBooleanCheckbox>
> 				</rich:column>
> 				<f:facet name="footer">
> 					<rich:datascroller ajaxSingle="false"></rich:datascroller>
> 				</f:facet>
> 			</rich:dataTable>
> 			<a4j:log popup="false"></a4j:log>
> 			<rich:messages/>
>       		</h:form>
> Check the box. Filed makes editable. Type something to field. Try to change the page.
> No messages in context. phasetracker show all phases executed  normally.
> If you remove the 
> 	<a4j:support event="onRowClick" actionListener="#{capitalsBean.actionListener}"/>
> Line -- switches works fine

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

        



More information about the richfaces-issues mailing list