Hi,

Does anybody know why I would get the following exception:

org.apache.jasper.JasperException: /MyJsp.jsp(103,2) Attribute pramValues invalid according to the specified TLD
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand ler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java :428)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java :186)


MyJsp.jsp has the following tag library:

                <%
                Vector vPName = new Vector();
                Vector vPValue = new Vector();
                
                vPName.addElement("selection");
                vPValue.addElement(selection);
                %>

                <cw:nextPrevLink listSize='<%=maxLength%>'
                                                 offset='<%=offset%>'
                                                 
displaySize='<%=Constants.USER_LIST_DISPLAY_SIZE%>'
                                                 link='/myOther.jsp'
                                                 paramNames='<%=vPName%>'
                                                 pramValues='<%=vPValue%>'/>

The tag entry in my .tld file is as below:

<tag>
<name>nextPrevLink</name>
<tag-class>com.cw.NextPrevLink</tag-class>
<body-content>empty</body-content>
<description>Displays the next and previous link for any list</description>
<attribute>
<name>listSize</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>offset</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>displaySize</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>link</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>paramNames</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>paramValues</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>


Thanks.

Reply via email to