Yes, the error on Weblogic has already been reported and I already suggested this solution to users.
Having attributes declared in tld with the correct type is better for 1.2 tlds but we also need to keep a String setter for compatibility whit the 1.1 version (BTW, Weblogic it the only appserver complaining about the String setter).
I'll try the opposite way, modifying the setter to accept an object (so both the String and Boolean should work), this will be needed for jsp 2.0 containers too.
 
fabrizio
 

-----Original Message-----
Da: Matt Raible
Inviato: lun 19/04/2004 18.33
A: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Oggetto: [displaytag-devel] FW: [displaytag-user] Problem with EL tag

I'm forwarding your message to the displaytag-devel mailing list.
Fabrizio does most of the work on this project (not me) - he's the one
that deserves the kudos.

Matt

-----Original Message-----
From: Sam Brodkin [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 18, 2004 10:58 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [displaytag-user] Problem with EL tag


Hey guys you probably figured this out but the tlds don't match the code
on the following attributes (both in the el and regular taglibs):

export
defaultsort
nulls
autolink
sortable


All I did to make it work (quick fix) on websphere 8.1 is to change the
types to java.lang.String .  See my attached tld files:


Matt thanks for your work on this project.  It is amazingly useful and
time saving!!!

Sam Brodkin


> Sounds like a problem with your container - which one (+version) are
 > you using?

>  Matt

 On Mar 26, 2004, at 9:17 AM, Brad Lane wrote:

 > I keep getting this error when trying to use the displayTag EL
taglib:  >  >  > Parsing of JSP File '/pages/introduction.jsp' failed:
>  > /pages/introduction.jsp(3): Error in using tag library  >
uri='http://displaytag.sf.net/el' prefix='display': type mismatch for  >
property 'export', for Tag class 'org.displaytag.tags.el.TableTag':
 > tld says boolean, implementation type is java.lang.String
 > probably occurred due to an error in /pages/introduction.jsp line 3:
> <%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>

Reply via email to