Title: Message
> If this isn't a problem that can be easily solved
 
simply remove all the <type> elements in displaytag-12.tld or use displaytag-11.tld, that's not so hard...
 
fabrizio
 
 

 
From: Larsson, Jonas
Sent: Tue 02/03/2004 0.23
To: '[EMAIL PROTECTED]'
Subject: RE: [displaytag-user] WLS 7 deployment problem

Thanks for the reply.
 
I tried the simple way of just removing the offending attribute, but the next time I get a similar error on defaultsort and then columntag.
 
If this isn't a problem that can be easily solved it seems I am forced to remove displaytag and code all pagination code myself (sigh). I *really* do not have time for that. I am already late with my deployment...
 
Does anyone know if there are any decent alternatives for displaytag that I can try?
 
Regards
 
Jonas
 
 
-----Original Message-----
From: Fabrizio Giustina [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 8:22 PM
To: [EMAIL PROTECTED]
Subject: RE: [displaytag-user] WLS 7 deployment problem

you can get the latest binary/source snapshots here:
 
the source snapshot should be automatically update once a day starting from tomorrow, the binary snapshot is actually updated manually (check the file date), an automatic nightly build should be up and running soon.
 
This will solve your problems with maven, but I think you will have the same problem using the latest source code.
the export attribute in displaytag attribute is declared as boolean, but for compatibility with most of the appserver (and with the taglib 1.1, 1.2 specs, I think) we need to declare the property as String in the tag class.
 
Your problem could be fixed by simply removing the <type>boolean</type> line you can find in displaytag-x.tld for the "export" attribute (be happy, no need to recompile it).
I don't know if there are other attributes with the same problem (probaly yes) and how this should be definitively addressed. I don't think adding a setExport(boolean) could make all the servers happy since, according to the javabeans spec, a property can't exists with multiple types...
 
please let us know for the results on WLS 7 and, if you have some time to test it after your demo, try adding the setExport(boolean) (with and without removing the existing setExport(String) method) to tableTag.java to see what happens...
 
fabrizio
 
 
 

From: Larsson, Jonas
Sent: Mon 01/03/2004 9.45
To: '[EMAIL PROTECTED]'
Subject: [displaytag-user] WLS 7 deployment problem

Hi all,

I'm having a problem that has escalated in a manner that always happen when
the bosses is breathing down your neck wanting to know when you can have a
demo running :)

I've had almost no problems deploying locally on Tomcat 4.1.29 but when
moving to my production environment I get the following welcome message
(WLS7 on Linux with Jrockit JVM):

Parsing of JSP File '/jsp/ClientProfileListSuccess.jsp' failed:
/jsp/ClientProfileListSuccess.jsp(4): Error in using tag library
uri='http://displaytag.org' prefix='display': type mismatch for property
'export', for Tag class 'org.displaytag.tags.TableTag': tld says boolean,
implementation type is java.lang.String
probably occurred due to an error in /jsp/ClientProfileListSuccess.jsp line
4:
<%@ taglib uri="http://displaytag.org" prefix="display" %>

I've looked for this in the archives and I found a suggestion that this may
be fixed in the CVS version of Displaytag. Said and done, I spent an hour
trying to get to the CVS through our firewall and finally got CVSGrab
configured correctly. And then I spent another hour downloading and messing
with Maven to get it to build (never used Maven before). After solving some
proxy config problems I am stuck with the following and I am lost at how to
continue...

taglib:convert-12to11:
    [echo] creating
E:\dev\displaytag\displaytag2/target/tld/displaytag-11.tld f
rom E:\dev\displaytag\displaytag2/src/tld/displaytag-12.tld


        [xslt] Processing
E:\dev\displaytag\displaytag2\src\tld\displaytag-12.tl
d to E:\dev\displaytag\displaytag2\target\tld\displaytag-11.tld
    [xslt] Loading stylesheet C:\Documents and
Settings\karl\.maven\plugins\mave
n-taglib-plugin-1.0\plugin-resources\convert-12to11.xslt

BUILD FAILED
File...... file:/C:/Documents and
Settings/karl/.maven/plugins/maven-taglib-plug
in-1.0/
Element... xslt
Line...... 25
Column.... 162
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
Total time: 7 seconds
Finished at: Mon Mar 01 00:36:10 CET 2004

I tried to copy a newer version of xml-apis.jar xalan.jar and xercesImpl.jar
to ant/lib but no success...

I certainly do not want to give up on Displaytag and implement all that
paging stuff myself. At least not at this stage.

Help?

Regards

Jonas

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.

Reply via email to