<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><%@ page
session="false" %><BR><%@ taglib prefix="cms" uri="<A
href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</A>"
%><BR><%@ taglib prefix="fmt" uri="<A
href="http://java.sun.com/jstl/fmt">http://java.sun.com/jstl/fmt</A>" %>
<BR><%@ taglib prefix="c" uri="<A
href="http://java.sun.com/jstl/core">http://java.sun.com/jstl/core</A>"
%><BR></FONT><FONT face=Arial color=#0000ff size=2></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><BR><FONT color=#0000ff
size=2></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><c:set
var="dateString"><cms:contentshow
element="Release"/></c:set><BR><% <BR> java.util.Date date =
new java.util.Date();
<BR> date.setTime(Long.parseLong(pageContext.getAttribute("dateString").toString()));
<BR> pageContext.setAttribute("date", date); <BR>%>
<BR><fmt:formatDate value="${date}" type="date" pattern="dd.MM.yyyy"
/> </FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><BR><FONT color=#0000ff
size=2></FONT></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=528101214-27082005><FONT face=Arial
color=#0000ff size=2>that's how we solved it, don't know if there are more
elegant ways.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=528101214-27082005><FONT face=Arial
color=#0000ff size=2>we just needed it once so the above code is enough for
us.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=528101214-27082005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=528101214-27082005><FONT face=Arial
color=#0000ff size=2>hth</FONT></SPAN></DIV><SPAN
class=528101214-27082005></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>Ivo<SPAN class=528101214-27082005></SPAN></FONT></FONT></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Kelley,
Kevin<BR><B>Sent:</B> Mittwoch, 31. August 2005 16:07<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] Display Date on
JSP<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Product: OpenCms 6</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Are there any JSP taglibs built in
to take the output of:</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><cms:contentshow
element=”PublishDate”/></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">And format it? Or do I need to
just write a scriptlet.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Kevin</SPAN></FONT></P></DIV></BODY></HTML>