File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes DisplayTag  works but without colors!? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "DisplayTag  works but without colors!?" Watch "DisplayTag  works but without colors!?" New topic
Author

DisplayTag works but without colors!?

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
hi guys,

I'm using the displayTag library from: http://displaytag.sourceforge.net/11/install.html

I'm able to see the table on the jsp page (code below) but for some reason, there're no graphics (colors and borders in the table) and it looks empty!

I tried to set it to the look and feel of ITS:
http://displaytag.homeip.net/displaytag-examples-1.1/example-styles.jsp?class=its

but...nothing :-(

any idea?
Thanks

Sivaraman Lakshmanan
Ranch Hand

Joined: Aug 02, 2003
Posts: 231
Hi,
I am also having the same problem. Please help


Regards,
Sivaraman.L
Sivaraman Lakshmanan
Ranch Hand

Joined: Aug 02, 2003
Posts: 231
Hi,
I got it. I just linked the screen.css file to my JSP and it showed the graphics.
Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
mmm...

I'm still working on it :-(

could you tell me:

1. Where exactly did you put screen.css file - is it the same below?
2. could you kindly send the jsp code that worked for you?

THANKS!


SCREEN.CSS
Sivaraman Lakshmanan
Ranch Hand

Joined: Aug 02, 2003
Posts: 231
Hi,
Add the below line to your JSP page and put the screen.css file inside the css folder. This should work.

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
FINALLY!!!
ok, I was missing some css files :-(
* in particular the displayTag.css HA!

anyway, it's working...thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DisplayTag works but without colors!?
 
Similar Threads
How to pass multiple parameters. Displaytag row value not changing on dynamic link
displaying tag in jsp
pagination problem
Displaytag question
display tag export problem