It is missing, but the bug is that the TLD claims it's required.  That
got fixed in 1.0.2/1.2.2.

-- Adam


On 9/4/07, Gregg Leichtman <[EMAIL PROTECTED]> wrote:
>
>  The "text" attribute is indeed missing for the panelHeader tag on line 106
> of the progressSteps.jspx file. Fixing this might fix the entire problem.
>
>                                              -=> Gregg <=-
>
>
>  Gregg Leichtman wrote:
>  I happen to have the Trinidad 1.2.1 demo running in Tomcat 6.0.13. I had
> not looked at the Progress Steps demo before. When I did, I got the
> following:
>
>  org.apache.jasper.JasperException:
> /demos/progressSteps.jspx(106,30) According to the TLD or
> the tag file, attribute text is mandatory for tag panelHeader
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:802)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
>  ...
>
>
> I did things a little differently than described below. I opened the war and
> inserted the same JSF version files as described below along with JSTL 1.1.2
> into the WEB-INF/libs folder, jarred up the contents into a new war and
> dropped this into the Tomcat webapps folder. The result is as stated above.
> Maybe the difference in error output will be helpful.
>
>                                -=> Gregg <=-
>
>
>  Adam Winer wrote:
>  This doesn't make much sense to me. That line is
> a tr:forEach element. In 1.2.1, the tld for forEach has
>
>  <attribute>
>  <description>
>  the ending index
>  </description>
>  <name>end</name>
>  <deferred-value>
>  <type>java.lang.Integer</type>
>  </deferred-value>
>  </attribute>
>
> ... so "end" absolutely supports EL. Whether there's a
> Tomcat bug or a setup issue here, I don't know.
>
> -- Adam
>
>
> On 8/30/07, Thai Dang Vu <[EMAIL PROTECTED]> wrote:
>
>
>  Hi everybody,
>
> I dropped the trinidad 1.2.1 demo war file in the webapps folder of
> Tomcat 6, run tomcat so that it deployed that war file, stopped tomcat
> to dropped jsf-impl-1.2_04-p02.jar, jsf-api-1.2_04-p02.jar and
> jstl-1.2.jar in the trinidad-1.2.1-demo/WEB-INF/lib folder, started
> tomcat again and the Component Guide worked, but the Progress Step Demo
> didn't. This is the error:
>
> org.apache.jasper.JasperException:
> /demos/progressSteps.jspx(68,58)
> According to TLD or attribute directive in tag file, attribute end does
> not accept any expressions
>
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
> ler.java:40)
>
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java
> :407)
>
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java
> :148)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(
> Validator.java:1119)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:819)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:838)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:838)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:838)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:838)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:838)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:838)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:838)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.jav
> a:515)
> org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:566)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
> org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
>  org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>
> org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
>
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
>
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
> va:566)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:317)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.j
> ava:408)
>
> org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Ex
> ternalContextDecorator.java:44)
>
> org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Over
> rideDispatch.dispatch(FacesContextFactoryImpl.java:267)
>
> com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHan
> dlerImpl.java:442)
>
> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav
> a:115)
>
> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper
> .java:178)
>
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderVi
> ew(ViewHandlerImpl.java:174)
>
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.
> java:106)
>
> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
>
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
>
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoF
> ilter(TrinidadFilterImpl.java:208)
>
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterI
> mpl(TrinidadFilterImpl.java:165)
>
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(T
> rinidadFilterImpl.java:138)
>
> org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilte
> r.java:92)
>
> org.apache.myfaces.trinidaddemo.webapp.RedirectFilter.doFilter(RedirectF
> ilter.java:97)
>
> Does anybody know what problem is that and how to fix it?
>
> Regards.
>
>
>
> NOTICE: This message (including any attachments) from Momentum Systems, Inc.
> contains information that is PRIVILEGED and CONFIDENTIAL. If you are not an
> intended recipient, you are hereby notified that any dissemination of this
> message is strictly prohibited. If you have received this message in error,
> please do not read, copy or forward this message. Please permanently delete
> all copies and any attachments and notify the sender immediately by reply
> email or by calling our Office at 703.740.9300.
>
>
>
>
>

Reply via email to