dataScroller: facet "controlSeparator" doesn't work
---------------------------------------------------
Key: RF-6446
URL: https://jira.jboss.org/jira/browse/RF-6446
Project: RichFaces
Issue Type: Bug
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
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 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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues