surely it inserts into your output a string which contains the current date/time, formatted according to the contents of the "time-formt" parameter in the request. If that parameter is not available, it will be formatted using the "hh:mm:ss" format string.
John Grange
Software Team Leader
Tel: +44 (0) 1749 834922
Email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park, Wookey Hole Road, Wells, Somerset, BA5 1AF, UK
Tel: +44 (0) 1749 834900
Fax: +44 (0) 1749 834902
Mobile: +44 (0) 7876 038058
web: www.bluefinger.com <http://www.bluefinger.com>
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.***
> -----Original Message-----
> From: Canavaggio Guillaume ZFF PA-K
> [mailto:[EMAIL PROTECTED]]
> Sent: 05 November 2003 13:27
> To: Cocoon users
> Subject: Snippet inside
>
>
> Hello,
>
> I am not certain to interpret correctly what this code
> snippet is supposed
> to do:
>
> <xsp:expr>
> SimpleDateFormat.getInstance().format(
> new Date(),
> XSPRequestHelper.getParameter("time-formt",
> "hh:mm:ss")
> )
> </xsp:expr>
>
> Mit freundlichen Gruessen/Kind regards/Cordialement
>
> Guillaume Canavaggio
>
> Informatik Vorentwicklung (IV) / Advance IT Development
> ZF Friedrichshafen AG, D-88038 Friedrichshafen, Germany
> Tel.: +49 / 0/ 7541 77- 3950
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>