Title: Message
Hi Matt
 
Thanks for your quick help! Your answer guided me to the solution: requetURI="myPage.jsp" dosen't work, but requestURi="" worked!
 
Jürg
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Dowell
Sent: Dienstag, 28. Februar 2006 17:03
To: [email protected]
Subject: Re: [displaytag-user] Problems with css and paging

Jürg,

You could try setting your requestURI="myPage.jsp" in the table tag. Other than that, your right, it does not make sense as long as all your styles are in this file:

<link rel="stylesheet" href="" type="text/css">

...maybe the path is getting hosed, so that's all I can suggest.

Matt


On 2/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hello everybody

I hava a problem with the paging mechanisme. Here is my JSP code:

<%@ page language="java" import="java.util.*, ch.post.ops.dao.*, ch.post.ops.vo.*" contentType="text/html" %>

<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

<%
   ArrayList cveSANSList = null;
   DaoCVE dao = new DaoCVE();
   cveSANSList = dao.getCVESANSEditList();
   request.setAttribute("CVESANSEditList", cveSANSList);
%>

<html>

  <head>
     <title>Liste neue SANS CVE</title>
     <link rel="stylesheet" href="" type="text/css">
  </head>

  <body>

         <h2>Liste neue SANS CVE</h2>
         <hr>

         <display:table name="CVESANSEditList" export="true" pagesize="10">
            <display:column property="id"
                            title="CVE-Nr."
                            sortable="true"
                            width="12%"
                            headerClass="sortable" />
            <display:column property="description"
                            title="Beschreibung" />
            <display:column property="refs"
                            title="Referenzen" />
            <display:setProperty name="export.pdf" value="true" />
         </display:table>


  </body>

</html>

The first page displays the above JSP with the right format settings from screen.css. But when I choose "next" or the second page (2) or some other next pages, then all the formattings of the side will be lost. It looks like the displaytaglib can't find the screen.css file. The content are displayed, but not in the right format settings from screen.css. What's going wrong? Can anybody help me?

Tanks in advanced!

Kind regards

Jürg Flückiger




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to