Chris Long wrote:
> Yes, that was the example that I was viewing. However, when I attempt
> to run it (I was previously using display tags 1.0 where everything
> worked, and I upgraded to 1.1 and started getting this errror)
The example would only work with 1.1 but I guess you knew that.
>
> *exception*
> javax.servlet.ServletException: /projects/project_main.jsp(73,7)
> Attribute width invalid for tag table according to TLD
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter
> (ExtensionsFilter.java:122)
>
>
> *root cause*
>
> javax.faces.FacesException: /projects/project_main.jsp(73,7) Attribute width
> invalid for tag table according to TLD
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch
> (ServletExternalContextImpl.java:422)
>
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
>
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
> javax.faces.webapp.FacesServlet.service
> (FacesServlet.java:138)
>
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
>
>
This should be fixable by removing the width="100%" attribute from the
<display:table> tag.
>
> When I use just the bare minimum:
>
> <% java.util.ArrayList alist =
> (java.util.ArrayList)pBean.getProjects();
> request.setAttribute("alist", alist);
> %>
>
>
>
> <display:table name="alist">
> <display:column property="createdBy"
> class="tdborder"/>
> </display:table>
>
> I get this error:
> java.lang.NoClassDefFoundError :
> org/apache/commons/beanutils/NestedNullException
> java.lang.NoClassDefFoundError:
> org/apache/commons/beanutils/NestedNullException
> at
> org.displaytag.tags.TemplateTag.evaluateExpression(TemplateTag.java:84)
> at org.displaytag.tags.TableTag.initParameters(TableTag.java:847)
> at org.displaytag.tags.TableTag.doStartTag(TableTag.java:722)
[snipped the rest of stack trace]
This is caused by a missing commons-beanutils.jar file on the classpath
- check it's in the right place.
Ed!
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user