This content has been marked as final.
Show 4 replies
-
1. Re: rich:extendedDataTable JS Error
nofreak Sep 11, 2008 8:32 AM (in response to nofreak)Oh, i've forgotten to say, that this error occures in the following browsers: IE7,Firefox/3.0.1.
-
2. Re: rich:extendedDataTable JS Error
ilya_shaikovsky Sep 11, 2008 8:55 AM (in response to nofreak)now there is a bug present which prevent extendedDataTable usage outside the form. We'll fix it. Please add h:form around the table.
-
3. Re: rich:extendedDataTable JS Error
nofreak Sep 11, 2008 9:39 AM (in response to nofreak)Thanks for the reply!
After i have added the h:form tags the error occurs anymore :(...
the code looks following:<?xml version="1.0" encoding="iso-8859-1"?> <ui:composition 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:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <h:form> <rich:extendedDataTable selection="#{staffer.selection}" rowKeyVar="rkv" height="500px" width="800px" id="showall" var="oneStaffer" value="#{staffer.stafferList}" sortMode="single"> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Optionen" /> </f:facet> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Ges." /> </f:facet> <h:outputText style="padding-left:5px" value=" #{oneStaffer.sex}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Title" /> </f:facet> <h:outputText style="padding-left:5px" value="#{oneStaffer.title}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Vorname" /> </f:facet> <h:outputText style="padding-left:5px" value=" #{oneStaffer.firstname}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Nachname" /> </f:facet> <h:outputText style="padding-left:5px" value="#{oneStaffer.lastname}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Shortcut" /> </f:facet> <h:outputText style="padding-left:5px" value="#{oneStaffer.shortcut}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="position" /> </f:facet> <h:outputText style="padding-left:5px" value="#{oneStaffer.position}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="E-Mail" /> </f:facet> <h:outputText style="padding-left:5px" value="#{oneStaffer.email}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Tel." /> </f:facet> <h:outputText style="padding-left:5px" value="#{oneStaffer.phone}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Fax" /> </f:facet> <h:outputText style="padding-left:5px" value="#{oneStaffer.fax}" /> </rich:column> <rich:column> <f:facet name="header"> <h:outputText styleClass="headerText" value="Nummer" /> </f:facet> <h:outputText style="padding-left:5px" value="#{oneStaffer.staffNumber}" /> </rich:column> </rich:extendedDataTable> </h:form> </ui:composition>
the table works with a rich:scrollableDataTable. -
4. Re: rich:extendedDataTable JS Error
nofreak Sep 11, 2008 12:44 PM (in response to nofreak)Hey people,
it works :)...its so nice! :)
anything in my html structure was wrong, thus, that my validations are failed in a JS error too. Also i thought there must be anything wrong. After i have restructured the html, it works :)