You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Oliver Pfau <Ol...@in-gmbh.de> on 2004/05/04 16:18:19 UTC
creation of a renderURL
Hi,
what's the problem to use this code ??
<%@ page import="javax.portlet.PortletURL" %>
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<portlet:defineObjects/>
<a href="
<portlet:renderURL>
<portlet:param name="pflow" value="second"/>
</portlet:renderURL>
">link1</a><br>
I get this exception:
2004-05-04 16:13:26 ApplicationDispatcher[/portletcom] Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: /pages/menu2.jsp(7,2) Unknown attribute
type (String) for attribute value.
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:83)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402
)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:274
)
at
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Vali
dator.java:975)
at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:73
9)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1458)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2230)
at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:75
9)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1458)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2230)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2236)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:485)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
at
org.apache.jasper.compiler.Validator.validate(Validator.java:1515)
at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:247)
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org