Wendy Smoak wrote:

> From: "Patrick Gelin" <[EMAIL PROTECTED]>
> 
>>        <jsp:useBean id = "collection" scope = "session" class =
>> "osis.jahia1.CollectionModel"/>
>> 
>> <display:table name = "collection" export = "false" pagesize = "10">
> 
> I think you need to tell displaytag where to look for your collection.
> 
> Try: <display:table name="sessionScope.collection" pagesize="10">
> 
Ok, it's better but now my HTML page is blank. I think this is because my
Display tag library v1.0 is not properly installed...

My installation look like this:
--------------------------------------------------------------------
[CATALINA_HOME]/shared/lib
- displaytag-1.0.jar
- commons-logging-1.0.4.jar
- commons-lang-2.0.jar
- commons-collections-2.1.1.jar
- commons-beanutils-1.6.1.jar
- log4j-1.2.8.jar

[CATALINA_HOME]/webapps/myapplication/WEB-INF/tlds
- displaytag-12.tld

As I'm using TOMCAT 5.5.7 ti support JSP 2.0 so I didn't need to add
anything into web.xml according displaytag documentation. Bit I made a try
and got errors because TLD is not the same as documentation sample...

Finally, this is my JSP header:
------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/tlds/displaytag-12.tld" prefix="display" %>
<%@ page language = "Java" import = "osis.jahia1.CollectionModel"%>
<html>
(...)

The result is an empty HTML page which code source is only:
-----------------------------------------------------------------
<html><body></body></html>

I installed displaytag and examples are working fine...

Any remarks are welcome!

Thanks for your expert point of view.   
--
-- 





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to