hello again,
i'm using version 2.1.5.

my footer.jsp file in samples/global looks like:

<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page";
   xmlns:cms="urn:jsptld:cms-taglib"
   xmlns:cmsu="urn:jsptld:cms-util-taglib"
   xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core";
   xmlns:fmt="urn:jsptld:http://java.sun.com/jsp/jstl/fmt";>
   <div class="footer">
       <!-- DESIGN -->
       <hr id="foot_line"/>
<div id="foot_lastUpdated">Latest Update: <cms:out nodeDataName="lastmodified" contentNodeName="MetaData/jcr:content" datePattern="EEEE, d. MMMM. yyyy HH:mm:ss" /></div> <div id="foot_copyright">&#0169; Copyright 2006 by eecoo<sup style="font-size: 0.6em;">TM</sup></div>
   </div>
</jsp:root>

[you can leave out any xmlns:XX declarations not needed in the file, of course]

As far as I can say, white pages often indicate an error in an EL expression (maybe not finding the node you passed to contentNodeName - export the site in the backend via xml and search for the node name you need - or more likely the datePattern is wrong). Take a look at your catalina.out in tomcat/logs and look at the last thrown exception for more details, maybe there is one that hints the error.

Best regards,
Vivian


Rafael Melo schrieb:
Vivian,

What's the version that you use?
Can you sendme you I've white in file \templates\jsp\samples\templateTwoColumns\main.jsp?

Tks for help,
Rafa
[EMAIL PROTECTED]

----- Original Message ----- From: "Vivian Steller" <[email protected]>
To: <[email protected]>
Sent: Friday, March 17, 2006 11:28 AM
Subject: Re: [magnolia-user] HowToAddAPageLastUpdateLine


Rafael Melo schrieb:
.I would like do show a page last update line in my templateTwoColumns template!

I've white in file \templates\jsp\samples\templateTwoColumns\main.jsp

<cmsu:date actpage="true" nodeDataName="lastmodified"
pattern="your_pattern" language="Your_language"/>

Ins't work!! any ideas???

Tks

Rah

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


for me this worked fine:

<cms:out nodeDataName="lastmodified" contentNodeName="MetaData/jcr:content" datePattern="EEEE, d. MMMM. yyyy HH:mm:ss" />

hope that works for you,
bye

vivian

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to