Attribute attribute invalid according to the specified TLD ??

2003-10-10 Thread Mufaddal Khumri
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
namenextPrevLink/name
tag-classcom.cw.NextPrevLink/tag-class
body-contentempty/body-content
descriptionDisplays the next and previous link for any  
list/description
attribute
namelistSize/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameoffset/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
namedisplaySize/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
namelink/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameparamNames/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameparamValues/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
/tag		

Thanks.


Re: Attribute attribute invalid according to the specified TLD ??

2003-10-10 Thread Tim Funk
I think the error is pretty clear that you have a typo. pramValues  should be 
 paramValues

-Tim

Mufaddal Khumri wrote:

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
namenextPrevLink/name
tag-classcom.cw.NextPrevLink/tag-class
body-contentempty/body-content
descriptionDisplays the next and previous link for any  
list/description
attribute
namelistSize/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameoffset/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
namedisplaySize/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
namelink/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameparamNames/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameparamValues/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
/tag   

Thanks.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]