DataTable styling not rendered on Page Refresh
sabya113 Feb 28, 2012 7:47 AMHi
I am using RF4.2.0Final,JSF2.0
i have a datatable that works properly until the page is refreshed.On refresh or re-navigation the Default Styles are not being rendered.
(attached images)
Everything is working perfectly i.e, datatable filtering and sorting before and after refresh
I am facing this problem only if the bean is in @SessionScope ,not with @RequestScope
But i cant change it to RequestScope as i have to obtain rowdata values and details in another view
2-3 pages are included iteratively using ui:include
My Code
<rich:dataTable id="recDataTable"
value="#{reconSetupBean.reconVoLst}" var="rec"
binding="#{reconSetupBean.table}" style="width:100%">
<rich:column filterValue="#{reconSetupBean.listFilter[0]}"
sortBy="#{rec.reconName}" sortOrder="#{reconSetupBean.listSort[0]}"
filterExpression="#{fn:startsWith(fn:toUpperCase(rec.reconName),fn:toUpperCase(reconSetupBean.listFilter[0]))}">
<f:facet name="header">
<h:panelGrid columns="2">
<rich:column>
<h:outputText value="Recon Name" /><br />
<h:inputText value="#{reconSetupBean.listFilter[0]}"
styleClass="inputTextWidth">
<a4j:ajax event="keyup" render="recDataTable@body" execute="@this" />
</h:inputText>
</rich:column>
<rich:column>
<h:commandLink id="sortUpByReconName"
actionListener="#{reconSetupBean.sort}"
rendered="#{reconSetupBean.listFlag[0]}">
<h:graphicImage value="/resources/images/sortUp.png"
style="height:13px;width:13px;border:0;">
</h:graphicImage>
</h:commandLink>
<h:commandLink id="sortDownByReconName"
actionListener="#{reconSetupBean.sort}"
rendered="#{reconSetupBean.listFlag[1]}">
<h:graphicImage value="/resources/images/sortDown.png"
style="height:13px;width:13px;border:0;">
</h:graphicImage>
</h:commandLink>
</rich:column>
</h:panelGrid>
</f:facet>
<h:commandLink value="#{rec.reconName}"
action="#{reconSetupBean.populateValues}"></h:commandLink>
</rich:column>
Any suggestions ?
-
DataTable Refresh.docx 175.3 KB