<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hallo group,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use opencms6b1 and I have a JSP which creates a
resource.</FONT></DIV>
<DIV><FONT face=Arial size=2>That works fine. But when I try to set date-relese
and date-expire attribute with</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>CmsResource.setDateReleased(long time)
and</FONT></DIV>
<DIV><FONT face=Arial size=2>CmsResource.setDateExpired(long time)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>the dates arenīt show up in opencms-browser
behind my new Resource.</FONT></DIV>
<DIV><FONT face=Arial size=2>The resource-type is created on my
own.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>here is a code snippet of my jsp:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2>
<P>.....</P>
<P>CmsResource cmsR = </FONT><B><FONT color=#7f0055 size=2>null</B></FONT><FONT
size=2>;</P></FONT><B><FONT color=#7f0055 size=2>
<P>try </B></FONT><FONT size=2>{</P>
<P>cmsR = cmsOb.createResource(a_valid_and_nonexistent_ filename, 34,
content.getBytes(), </FONT><B><FONT color=#7f0055 size=2>new </B></FONT><FONT
size=2>ArrayList());</P>
<P>cmsR.setDateReleased(schwarzesbrett.getReleaseInMillis());</P>
<P>cmsR.setDateExpired(schwarzesbrett.getExpireInMillis());</P>
<P>ergebnis += </FONT><FONT color=#2a00ff size=2>"Der Eintrag wurde angelegt!
Rechte werden gesetzt...<br>"</FONT><FONT size=2>;</P>
<P>} </P>
<P>.....</P>
<P><FONT face=Arial> </P>
<DIV><FONT face=Arial size=2>Is there a bug, or do I something
wrong?</FONT></DIV>
<DIV> </DIV>
<DIV>Thanks a lot</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Daniel</DIV></FONT></FONT></DIV></BODY></HTML>