[richfaces-issues] [JBoss JIRA] (RF-6446) dataScroller: facet "controlSeparator" doesn't work

David Kocher (JIRA) jira-events at lists.jboss.org
Wed Feb 27 10:27:56 EST 2013


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

David Kocher commented on RF-6446:
----------------------------------

The controlsSeparator facet does not work in Richfaces 4.3.0.Final.
                
> dataScroller: facet "controlSeparator" doesn't work
> ---------------------------------------------------
>
>                 Key: RF-6446
>                 URL: https://issues.jboss.org/browse/RF-6446
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: doc
>    Affects Versions: 3.3.0
>         Environment: FF-3, IE6, IE7, Opera, Safari
> Tomcat 6.0
> sun RI 1.2.10
> jsp 
>            Reporter: Inna Shchibrya
>            Assignee: Nick Belaevski
>             Fix For: 3.3.1
>
>
> For example:
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
> <f:subview id="DataScrollerSubviewID">
> 	<rich:dataTable id="dataTableId" value="#{dataScroller.dataTable}"
> 		var="dT" cellpadding="5px" rows="5" border="1" reRender="dsID,dataTableId" sortMode="#{dataScroller.sortMode}">
> 		<f:facet name="header">
> 			<rich:datascroller for="dataTableId" ajaxSingle="#{dataScroller.ajaxSingle}" reRender="dataTableId"
> 				boundaryControls="#{dataScroller.boundaryControls}"
> 	 			binding="#{dataScroller.htmlDatascroller}" data="datascrData" fastStep="#{dataScroller.fastStep}" id="dsID" 
> 	 			page="#{dataScroller.page}" pagesVar="pages" pageIndexVar="index" 
> 	 			value="#{dataScroller.value}" status="a4jStatusID" stepControls="#{dataScroller.stepControls}"  
> 				eventsQueue="eventsQueue" inactiveStyle="#{style.inactiveStyle}" inactiveStyleClass="#{style.inactiveStyleClass}" selectedStyle="#{style.selectedStyle}" selectedStyleClass="#{style.selectedStyleClass}" style="#{style.style}" styleClass="#{style.styleClass}" tableStyle="#{style.tableStyle}" tableStyleClass="#{style.tableStyleClass}" 
> 				fastControls="#{dataScroller.fastControls}" action="#{dataScroller.act}" actionListener="#{dataScroller.actListener}"
> 				align="center" rendered="#{dataScroller.render}"
> 				limitToList="#{dataScroller.limitToList}"
> 				renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
> 				maxPages="#{dataScroller.maxPages}"
> 				scrollerListener="#{dataScroller.ScrollerListener}"
> 				onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
> 				ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
> 				onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
> 				onmousedown="#{event.onmousedown}"
> 				onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
> 				onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
> 				<f:facet name="controlSeparator">
>                                <h:graphicImage value="/image/sep.png"/>
>                                </f:facet>
> 			</rich:datascroller>
> 		</f:facet>
> 		<f:facet name="footer">
> 		</f:facet>
> 		<rich:column sortBy="#{dT.str0}" filterBy="#{dT.str0}" filterEvent="onkeyup" 
> 		selfSorted="#{dataScroller.selfSorted}" filterValue="#{dataScroller.filterValue}">
> 			<h:outputText value="#{dT.str0}" />
> 		</rich:column>
> 		<rich:column sortBy="#{dT.int0}" filterBy="#{dT.int0}" filterEvent="onkeyup" selfSorted="#{dataScroller.selfSorted}">
> 			<h:outputText value="#{dT.int0} " />
> 		</rich:column>
> 	</rich:dataTable>
> 	<h:panelGrid id="dataScrollerActionID" columns="1">
> 		<a4j:commandButton value="Show action" reRender="dataScrollerActionID" style=" width : 95px;"></a4j:commandButton>
> 		<h:outputText value="#{dataScroller.action}" />
> 		<h:outputText value="#{dataScroller.actionListener}" />
> 	</h:panelGrid>
> </f:subview>
> Open the page in the browser --> Separators between controls didn't appear.
> Expected result: Separators between controls should appear.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list