-
1. Re: <rich:extendedDataTable> + richfaces 3.3.1 GA jar + javascript error
ilya_shaikovsky Dec 23, 2010 3:42 AM (in response to sunay)consider upgrade to 3.3.3 Final at least for checking if the problem exist. If will not disappear - show your code.
-
3. Re: <rich:extendedDataTable> + richfaces 3.3.1 GA jar + javascript error
sunay Dec 23, 2010 6:43 AM (in response to sunay)we have structure is like this
<ui:component>
<h:form rendered="#{category != 'tower'}" id="processInstacesWidgetForm" prependId="false">
<bpm:processInstanceTable lastpage="dashboard" page="processInstanceWidgetPage"/> <!-- Custom tag which includes other component >
</h:form>
</ui:component>
Other component form is as follows
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:gd="http://gravel.jboss.org/jsf/1.0/data"
xmlns:ga="http://gravel.jboss.org/jsf/1.0/action"
xmlns:gs="http://gravel.jboss.org/jsf/1.0/simple"
xmlns:n="http://gravel.jboss.org/jsf/1.0/navigation"
xmlns:j4j="http://jbpm.org/jbpm4jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:bpm="http://www.e-novatetech.com/jsf"
>
<ui:composition>
<div id="processInstacesDiv" align="center" class="processinstancewidgetdiv">
<rich:extendedDataTable id="tablepi" height="#{page == 'processInstancePage' ? '325px' : '285px'}" rows="#{page == 'processInstancetype' ? '7' : '5'}" value="#{contractInstanceList.contractList}" var="pi" sortOrder="#{page == 'processInstancePage' ? 'DESCENDING': param.sortOrder}" groupingColumn="#{page == 'processInstancePage' ? 'contractName': param.groupingColumn}" style="background-color:white;" align="center" width="100%" >
<rich:column>....
</rich:column>
</rich:extendedDataTable>
<rich:datascroller align="left" for="tablepi" id="processInstanceScroller" reRender="tablepi" renderIfSinglePage="false" />
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript">
setLayout();
</script>
</div>
</ui:composition>
</html>