[richfaces-issues] [JBoss JIRA] Commented: (RF-3508) Toggle panel doesn't work with 'server' and 'ajax' modes in case if it is placed into dataTable.

M F (JIRA) jira-events at lists.jboss.org
Tue Dec 9 03:28:37 EST 2008


    [ https://jira.jboss.org/jira/browse/RF-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12441724#action_12441724 ] 

M F commented on RF-3508:
-------------------------

I don't understand how this Bug is "rejected". It's clearly a bug, IMHO. 
It did work before 3.2.1. - now it doesn't. That's why I'm still using 3.2.1.

"Bind toggle panel state to model" is a workaround, not a solution.

Please rethink the decision to reject this bug.

> Toggle panel doesn't work with 'server' and 'ajax' modes in case if it is placed into dataTable.
> ------------------------------------------------------------------------------------------------
>
>                 Key: RF-3508
>                 URL: https://jira.jboss.org/jira/browse/RF-3508
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: Facelets, FF, IE, Opera
>            Reporter: Sergey Halipov
>            Assignee: Tsikhon Kuprevich
>
> <h:form>
> 				<rich:dataTable 
> 					var="record" value="#{report.expReport.records}"
> 					rows="1"
> 					>
> 					<rich:column>
>                                                 <!-- start server section -->
> 						<rich:togglePanel id="tp" switchType="server" stateOrder="one,two">
> 							<f:facet name="one">
> 								<h:outputText value="State One" />
> 							</f:facet>
> 							<f:facet name="two">
> 								<h:outputText value="State Two" />
> 							</f:facet>
> 						</rich:togglePanel>
> 						<rich:toggleControl for="tp" >
> 							<h:outputText value="state next" />
> 						</rich:toggleControl>
> 						<br />
> 						<rich:toggleControl for="tp"  switchToState="one" >
> 							<h:outputText value="state one" />
> 						</rich:toggleControl>
> 						<br />
> 						<rich:toggleControl for="tp"  switchToState="two" >
> 							<h:outputText value="state two" />
> 						</rich:toggleControl>
>                                                 <!-- end server section -->
>                                                 <!-- start ajax section -->
>                                                 <rich:togglePanel id="panel_ajax" switchType="ajax" initialState="one" stateOrder="one,two">
>                				         	<f:facet name="one">
> 								<h:outputText id="ajax_state_one" value="State One" />
> 							</f:facet>
> 							<f:facet name="two">
> 								<h:outputText id="ajax_state_two" value="State Two" />
> 							</f:facet>
> 						</rich:togglePanel>
> 						<rich:toggleControl id="ajax_next" for="panel_ajax" >
> 							<h:outputText value="Ajax next" />
> 						</rich:toggleControl>
> 						<br />
> 						<rich:toggleControl id="ajax_one" for="panel_ajax"  switchToState="one">
> 							<h:outputText value="Ajax one" />
> 						</rich:toggleControl>
> 						<br />
> 						<rich:toggleControl id="ajax_two" for="panel_ajax"  switchToState="two">
> 							<h:outputText value="Ajax two" />
> 						</rich:toggleControl>
>                                                 <!-- end ajax section -->
> 					</rich:column>
> 				</rich:dataTable>
> 			</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