You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Oellien, F (Frank)" <Fr...@intervet.com> on 2006/12/12 14:37:15 UTC
Problem with dataTable and newspaperOrientation
Hello,
I have just setup a dataTable with newspaper functionalitry like
described in http://www.irian.at/myfaces/newspaperTable.jsp.source
However my application gives the error message:
org.apache.jasper.JasperException: /workspaceContent.jsp(24,8) Attribute
newspaperOrientation invalid for tag dataTable according to TLD
<%@ page contentType="text/html" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<f:view>
<h:form>
<t:dataTable id="workflowLayout"
newspaperColumns="#{workflowsBean.noOfActiveWorkflows}"
newspaperOrientation="horizontal"
styleClass="standardTable"
headerClass="standardTable_Header"
footerClass="standardTable_Header"
rowClasses="standardTable_Row1,standardTable_Row2"
columnClasses="standardTable_Column,standardTable_ColumnCentered"
var="workflow"
value="#{workflowsBean.activeWorkflowsModel}">
<h:column>
<h:outputText value="#{workflow.userDefinedName}" />
</h:column>
</t:dataTable>
</h:form>
</f:view>
--------------------------------------
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--------------------------------------
RE: Problem with dataTable and newspaperOrientation
Posted by "Oellien, F (Frank)" <Fr...@intervet.com>.
Yep. I have downloaded the 1.1.4 version halh an Hour ago and it works fine.
Thank you
Frank
> -----Original Message-----
> From: Mike Kienenberger [mailto:mkienenb@gmail.com]
> Sent: Dienstag, 12. Dezember 2006 17:13
> To: MyFaces Discussion
> Subject: Re: Problem with dataTable and newspaperOrientation
>
> Another possiblity is the 1.1.4 Tomahawk candidate release.
> I'm pretty sure that newspaper support for datatable was
> added before the
> 1.1.4 release
>
> > Parameter-Fehler: Ein oder mehrere Parameter könnten Null sein.
>
> Note that alta vista translates this as: Parameter error:
> One or more parameters could be zero.
>
> Not sure what causes that error. Try posting your web.xml file
> entries for tomahawk.
>
> On 12/12/06, Oellien, F (Frank) <Fr...@intervet.com> wrote:
> > Hello Paul,
> >
> > I have downloaded the 1.1.5-SNAPSHOT and indeed Netbeans
> reports no dependency error with the taglib reference.
> However, when I start the web page I receive another critical
> error instead:
> >
> > org.apache.jasper.JasperException: Parameter-Fehler: Ein
> oder mehrere Parameter könnten Null sein.
> >
> >
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
> > letWrapper.java:510)
> >
> > Do I have to set some additional parameters in my config
> files to work with the snapshot version?
> >
> > Regards
> > Frank
> >
> > > -----Original Message-----
> > > From: Paul Spencer [mailto:paulsp@apache.org]
> > > Sent: Dienstag, 12. Dezember 2006 15:06
> > > To: MyFaces Discussion
> > > Subject: Re: Problem with dataTable and newspaperOrientation
> > >
> > > Frank,
> > > I suspect you are not running the same version of MyFaces and
> > > Tomahawk as www.irian.at. They are running a recent
> 1.1.5-SNAPSHOT.
> > > For more information on building the current snapshot see:
> > > http://wiki.apache.org/myfaces/Building_With_Maven
> > >
> > > Paul Spencer
> > >
> > >
> > >
> > > Oellien, F (Frank) wrote:
> > > > Hello,
> > > >
> > > > I have just setup a dataTable with newspaper
> functionalitry like
> > > > described in
> http://www.irian.at/myfaces/newspaperTable.jsp.source
> > > >
> > > > However my application gives the error message:
> > > > org.apache.jasper.JasperException: /workspaceContent.jsp(24,8)
> > > > Attribute newspaperOrientation invalid for tag dataTable
> > > according to
> > > > TLD
> > > >
> > > > <%@ page contentType="text/html" %> <%@ taglib
> > > > uri="http://java.sun.com/jsf/html" prefix="h" %>
> > > <%@ taglib
> > > > uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib
> > > > uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> > > >
> > > > <f:view>
> > > >
> > > > <h:form>
> > > > <t:dataTable id="workflowLayout"
> > > > newspaperColumns="#{workflowsBean.noOfActiveWorkflows}"
> > > > newspaperOrientation="horizontal"
> > > > styleClass="standardTable"
> > > > headerClass="standardTable_Header"
> > > > footerClass="standardTable_Header"
> > > >
> > > rowClasses="standardTable_Row1,standardTable_Row2"
> > > >
> > > >
> columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > > > var="workflow"
> > > >
> value="#{workflowsBean.activeWorkflowsModel}">
> > > > <h:column>
> > > > <h:outputText
> value="#{workflow.userDefinedName}" />
> > > > </h:column>
> > > > </t:dataTable>
> > > > </h:form>
> > > > </f:view>
> > > > --------------------------------------
> > > > This message, including attachments, is confidential and
> > > may be privileged.
> > > > If you are not an intended recipient, please notify the sender
> > > > then delete and destroy the original message and all copies. You
> > > should not
> > > > copy, forward and/or disclose this message, in whole or
> in part,
> > > > without permission of the sender.
> > > > --------------------------------------
> > > >
> > >
> > >
> > --------------------------------------
> > This message, including attachments, is confidential and
> may be privileged.
> > If you are not an intended recipient, please notify the sender then
> > delete and destroy the original message and all copies. You
> should not
> > copy, forward and/or disclose this message, in whole or in part,
> > without permission of the sender.
> > --------------------------------------
> >
>
--------------------------------------
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--------------------------------------
Re: Problem with dataTable and newspaperOrientation
Posted by Mike Kienenberger <mk...@gmail.com>.
Another possiblity is the 1.1.4 Tomahawk candidate release. I'm
pretty sure that newspaper support for datatable was added before the
1.1.4 release
> Parameter-Fehler: Ein oder mehrere Parameter könnten Null sein.
Note that alta vista translates this as: Parameter error: One or more
parameters could be zero.
Not sure what causes that error. Try posting your web.xml file
entries for tomahawk.
On 12/12/06, Oellien, F (Frank) <Fr...@intervet.com> wrote:
> Hello Paul,
>
> I have downloaded the 1.1.5-SNAPSHOT and indeed Netbeans reports no dependency error with the taglib reference. However, when I start the web page I receive another critical error instead:
>
> org.apache.jasper.JasperException: Parameter-Fehler: Ein oder mehrere Parameter könnten Null sein.
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
>
> Do I have to set some additional parameters in my config files to work with the snapshot version?
>
> Regards
> Frank
>
> > -----Original Message-----
> > From: Paul Spencer [mailto:paulsp@apache.org]
> > Sent: Dienstag, 12. Dezember 2006 15:06
> > To: MyFaces Discussion
> > Subject: Re: Problem with dataTable and newspaperOrientation
> >
> > Frank,
> > I suspect you are not running the same version of MyFaces and
> > Tomahawk as www.irian.at. They are running a recent
> > 1.1.5-SNAPSHOT. For more information on building the current
> > snapshot see:
> > http://wiki.apache.org/myfaces/Building_With_Maven
> >
> > Paul Spencer
> >
> >
> >
> > Oellien, F (Frank) wrote:
> > > Hello,
> > >
> > > I have just setup a dataTable with newspaper functionalitry like
> > > described in http://www.irian.at/myfaces/newspaperTable.jsp.source
> > >
> > > However my application gives the error message:
> > > org.apache.jasper.JasperException: /workspaceContent.jsp(24,8)
> > > Attribute newspaperOrientation invalid for tag dataTable
> > according to
> > > TLD
> > >
> > > <%@ page contentType="text/html" %>
> > > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> > <%@ taglib
> > > uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib
> > > uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> > >
> > > <f:view>
> > >
> > > <h:form>
> > > <t:dataTable id="workflowLayout"
> > > newspaperColumns="#{workflowsBean.noOfActiveWorkflows}"
> > > newspaperOrientation="horizontal"
> > > styleClass="standardTable"
> > > headerClass="standardTable_Header"
> > > footerClass="standardTable_Header"
> > >
> > rowClasses="standardTable_Row1,standardTable_Row2"
> > >
> > > columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > > var="workflow"
> > > value="#{workflowsBean.activeWorkflowsModel}">
> > > <h:column>
> > > <h:outputText value="#{workflow.userDefinedName}" />
> > > </h:column>
> > > </t:dataTable>
> > > </h:form>
> > > </f:view>
> > > --------------------------------------
> > > This message, including attachments, is confidential and
> > may be privileged.
> > > If you are not an intended recipient, please notify the sender then
> > > delete and destroy the original message and all copies. You
> > should not
> > > copy, forward and/or disclose this message, in whole or in part,
> > > without permission of the sender.
> > > --------------------------------------
> > >
> >
> >
> --------------------------------------
> This message, including attachments, is confidential and may be privileged.
> If you are not an intended recipient, please notify the sender then delete
> and destroy the original message and all copies. You should not copy, forward
> and/or disclose this message, in whole or in part, without permission of
> the sender.
> --------------------------------------
>
Re: Problem with dataTable and newspaperOrientation
Posted by Paul Spencer <pa...@apache.org>.
Frank,
Yes, Tomahawk does work with Sun's RI.
The attribute newspaperColumns in the <t:dataTable> was added after
Tomahawk 1.1.3. You can build MyFaces and Tomahawk 1.1.5-SNAPSHOT
just use Tomahawk 1.1.5-SNAPSHOT with Sun's RI.
Paul Spencer
Oellien, F (Frank) wrote:
> Hello Paul,
>
> I only use tomahawk 1.1.3 without the MyFaces implementation in Tomcat.
> I thought that tomahawk should also work with Suns reference
> implementation.
>
> Frank
>
>> -----Original Message-----
>> From: Paul Spencer [mailto:paulsp@apache.org]
>> Sent: Dienstag, 12. Dezember 2006 15:06
>> To: MyFaces Discussion
>> Subject: Re: Problem with dataTable and newspaperOrientation
>>
>> Frank,
>> I suspect you are not running the same version of MyFaces and
>> Tomahawk as www.irian.at. They are running a recent
>> 1.1.5-SNAPSHOT. For more information on building the current
>> snapshot see:
>> http://wiki.apache.org/myfaces/Building_With_Maven
>>
>> Paul Spencer
>>
>>
>>
>> Oellien, F (Frank) wrote:
>>> Hello,
>>>
>>> I have just setup a dataTable with newspaper functionalitry like
>>> described in http://www.irian.at/myfaces/newspaperTable.jsp.source
>>>
>>> However my application gives the error message:
>>> org.apache.jasper.JasperException: /workspaceContent.jsp(24,8)
>>> Attribute newspaperOrientation invalid for tag dataTable
>> according to
>>> TLD
>>>
>>> <%@ page contentType="text/html" %>
>>> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
>> <%@ taglib
>>> uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib
>>> uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
>>>
>>> <f:view>
>>>
>>> <h:form>
>>> <t:dataTable id="workflowLayout"
>>> newspaperColumns="#{workflowsBean.noOfActiveWorkflows}"
>>> newspaperOrientation="horizontal"
>>> styleClass="standardTable"
>>> headerClass="standardTable_Header"
>>> footerClass="standardTable_Header"
>>>
>> rowClasses="standardTable_Row1,standardTable_Row2"
>>>
>>> columnClasses="standardTable_Column,standardTable_ColumnCentered"
>>> var="workflow"
>>> value="#{workflowsBean.activeWorkflowsModel}">
>>> <h:column>
>>> <h:outputText value="#{workflow.userDefinedName}" />
>>> </h:column>
>>> </t:dataTable>
>>> </h:form>
>>> </f:view>
>>> --------------------------------------
>>> This message, including attachments, is confidential and
>> may be privileged.
>>> If you are not an intended recipient, please notify the sender then
>>> delete and destroy the original message and all copies. You
>> should not
>>> copy, forward and/or disclose this message, in whole or in part,
>>> without permission of the sender.
>>> --------------------------------------
>>>
>>
> --------------------------------------
> This message, including attachments, is confidential and may be privileged.
> If you are not an intended recipient, please notify the sender then delete
> and destroy the original message and all copies. You should not copy, forward
> and/or disclose this message, in whole or in part, without permission of
> the sender.
> --------------------------------------
>
Re: Problem with dataTable and newspaperOrientation
Posted by Jeff Bischoff <jb...@klkurz.com>.
Paul,
I was referring to his statement that he was using Tomahawk 1.1.3,
despite being told to try 1.1.5 :)
Then I posted the link [1] where the tomahawk 1.1.5 nightly can be
downloaded.
Regards,
Jeff Bischoff
Kenneth L Kurz & Associates, Inc.
Paul Spencer wrote:
> Jeff,
> I am not sure when you mean by "that's".
> If you are referring to the Sun's RI, no Apache does
> not distribute it.
>
> Paul Spencer
>
>
>
> Jeff Bischoff wrote:
>> Oellien, F (Frank) wrote:
>>> Hello Paul,
>>>
>>> I only use tomahawk 1.1.3 without the MyFaces implementation in Tomcat.
>>> I thought that tomahawk should also work with Suns reference
>>> implementation.
>>>
>>
>> Well that's still not the 1.1.5 snapshot, right? :)
>>
>> [1] http://people.apache.org/builds/myfaces/nightly/
>>
>> Regards,
>>
>> Jeff Bischoff
>> Kenneth L Kurz & Associates, Inc.
>>
>>
>>
>
>
>
>
Re: Problem with dataTable and newspaperOrientation
Posted by Paul Spencer <pa...@apache.org>.
Jeff,
I am not sure when you mean by "that's".
If you are referring to the Sun's RI, no Apache does
not distribute it.
Paul Spencer
Jeff Bischoff wrote:
> Oellien, F (Frank) wrote:
>> Hello Paul,
>>
>> I only use tomahawk 1.1.3 without the MyFaces implementation in Tomcat.
>> I thought that tomahawk should also work with Suns reference
>> implementation.
>>
>
> Well that's still not the 1.1.5 snapshot, right? :)
>
> [1] http://people.apache.org/builds/myfaces/nightly/
>
> Regards,
>
> Jeff Bischoff
> Kenneth L Kurz & Associates, Inc.
>
>
>
Re: Problem with dataTable and newspaperOrientation
Posted by Jeff Bischoff <jb...@klkurz.com>.
Oellien, F (Frank) wrote:
> Hello Paul,
>
> I only use tomahawk 1.1.3 without the MyFaces implementation in Tomcat.
> I thought that tomahawk should also work with Suns reference
> implementation.
>
Well that's still not the 1.1.5 snapshot, right? :)
[1] http://people.apache.org/builds/myfaces/nightly/
Regards,
Jeff Bischoff
Kenneth L Kurz & Associates, Inc.
RE: Problem with dataTable and newspaperOrientation
Posted by "Oellien, F (Frank)" <Fr...@intervet.com>.
Hello Paul,
I only use tomahawk 1.1.3 without the MyFaces implementation in Tomcat.
I thought that tomahawk should also work with Suns reference
implementation.
Frank
> -----Original Message-----
> From: Paul Spencer [mailto:paulsp@apache.org]
> Sent: Dienstag, 12. Dezember 2006 15:06
> To: MyFaces Discussion
> Subject: Re: Problem with dataTable and newspaperOrientation
>
> Frank,
> I suspect you are not running the same version of MyFaces and
> Tomahawk as www.irian.at. They are running a recent
> 1.1.5-SNAPSHOT. For more information on building the current
> snapshot see:
> http://wiki.apache.org/myfaces/Building_With_Maven
>
> Paul Spencer
>
>
>
> Oellien, F (Frank) wrote:
> > Hello,
> >
> > I have just setup a dataTable with newspaper functionalitry like
> > described in http://www.irian.at/myfaces/newspaperTable.jsp.source
> >
> > However my application gives the error message:
> > org.apache.jasper.JasperException: /workspaceContent.jsp(24,8)
> > Attribute newspaperOrientation invalid for tag dataTable
> according to
> > TLD
> >
> > <%@ page contentType="text/html" %>
> > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib
> > uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib
> > uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> >
> > <f:view>
> >
> > <h:form>
> > <t:dataTable id="workflowLayout"
> > newspaperColumns="#{workflowsBean.noOfActiveWorkflows}"
> > newspaperOrientation="horizontal"
> > styleClass="standardTable"
> > headerClass="standardTable_Header"
> > footerClass="standardTable_Header"
> >
> rowClasses="standardTable_Row1,standardTable_Row2"
> >
> > columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > var="workflow"
> > value="#{workflowsBean.activeWorkflowsModel}">
> > <h:column>
> > <h:outputText value="#{workflow.userDefinedName}" />
> > </h:column>
> > </t:dataTable>
> > </h:form>
> > </f:view>
> > --------------------------------------
> > This message, including attachments, is confidential and
> may be privileged.
> > If you are not an intended recipient, please notify the sender then
> > delete and destroy the original message and all copies. You
> should not
> > copy, forward and/or disclose this message, in whole or in part,
> > without permission of the sender.
> > --------------------------------------
> >
>
>
--------------------------------------
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--------------------------------------
RE: Problem with dataTable and newspaperOrientation
Posted by "Oellien, F (Frank)" <Fr...@intervet.com>.
Hello Paul,
I have downloaded the 1.1.5-SNAPSHOT and indeed Netbeans reports no dependency error with the taglib reference. However, when I start the web page I receive another critical error instead:
org.apache.jasper.JasperException: Parameter-Fehler: Ein oder mehrere Parameter könnten Null sein.
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
Do I have to set some additional parameters in my config files to work with the snapshot version?
Regards
Frank
> -----Original Message-----
> From: Paul Spencer [mailto:paulsp@apache.org]
> Sent: Dienstag, 12. Dezember 2006 15:06
> To: MyFaces Discussion
> Subject: Re: Problem with dataTable and newspaperOrientation
>
> Frank,
> I suspect you are not running the same version of MyFaces and
> Tomahawk as www.irian.at. They are running a recent
> 1.1.5-SNAPSHOT. For more information on building the current
> snapshot see:
> http://wiki.apache.org/myfaces/Building_With_Maven
>
> Paul Spencer
>
>
>
> Oellien, F (Frank) wrote:
> > Hello,
> >
> > I have just setup a dataTable with newspaper functionalitry like
> > described in http://www.irian.at/myfaces/newspaperTable.jsp.source
> >
> > However my application gives the error message:
> > org.apache.jasper.JasperException: /workspaceContent.jsp(24,8)
> > Attribute newspaperOrientation invalid for tag dataTable
> according to
> > TLD
> >
> > <%@ page contentType="text/html" %>
> > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib
> > uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib
> > uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> >
> > <f:view>
> >
> > <h:form>
> > <t:dataTable id="workflowLayout"
> > newspaperColumns="#{workflowsBean.noOfActiveWorkflows}"
> > newspaperOrientation="horizontal"
> > styleClass="standardTable"
> > headerClass="standardTable_Header"
> > footerClass="standardTable_Header"
> >
> rowClasses="standardTable_Row1,standardTable_Row2"
> >
> > columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > var="workflow"
> > value="#{workflowsBean.activeWorkflowsModel}">
> > <h:column>
> > <h:outputText value="#{workflow.userDefinedName}" />
> > </h:column>
> > </t:dataTable>
> > </h:form>
> > </f:view>
> > --------------------------------------
> > This message, including attachments, is confidential and
> may be privileged.
> > If you are not an intended recipient, please notify the sender then
> > delete and destroy the original message and all copies. You
> should not
> > copy, forward and/or disclose this message, in whole or in part,
> > without permission of the sender.
> > --------------------------------------
> >
>
>
--------------------------------------
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--------------------------------------
Re: Problem with dataTable and newspaperOrientation
Posted by Paul Spencer <pa...@apache.org>.
Frank,
I suspect you are not running the same version of MyFaces and Tomahawk as
www.irian.at. They are running a recent 1.1.5-SNAPSHOT. For more information
on building the current snapshot see:
http://wiki.apache.org/myfaces/Building_With_Maven
Paul Spencer
Oellien, F (Frank) wrote:
> Hello,
>
> I have just setup a dataTable with newspaper functionalitry like
> described in http://www.irian.at/myfaces/newspaperTable.jsp.source
>
> However my application gives the error message:
> org.apache.jasper.JasperException: /workspaceContent.jsp(24,8) Attribute
> newspaperOrientation invalid for tag dataTable according to TLD
>
> <%@ page contentType="text/html" %>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
>
> <f:view>
>
> <h:form>
> <t:dataTable id="workflowLayout"
> newspaperColumns="#{workflowsBean.noOfActiveWorkflows}"
> newspaperOrientation="horizontal"
> styleClass="standardTable"
> headerClass="standardTable_Header"
> footerClass="standardTable_Header"
> rowClasses="standardTable_Row1,standardTable_Row2"
>
> columnClasses="standardTable_Column,standardTable_ColumnCentered"
> var="workflow"
> value="#{workflowsBean.activeWorkflowsModel}">
> <h:column>
> <h:outputText value="#{workflow.userDefinedName}" />
> </h:column>
> </t:dataTable>
> </h:form>
> </f:view>
> --------------------------------------
> This message, including attachments, is confidential and may be privileged.
> If you are not an intended recipient, please notify the sender then delete
> and destroy the original message and all copies. You should not copy, forward
> and/or disclose this message, in whole or in part, without permission of
> the sender.
> --------------------------------------
>