Christian,

I'm trying the same thing and tried to wrap the <esql:get-time> call with an
<esql:if-null>.  If that is the only command:
        <esql:if-null column="schedule_lunch_start">none</esql:if-null>
it works just fine when the value is null, but I can't find the correct
"syntax" to use for the command if the value is NOT null.  Because otherwise
I want to get the time value...
        <esql:get-time column="schedule_lunch_start" format="hh:mm aa"/>

I sent an email about the esql:if-null earlier today (14:29 PM CDT) and
never saw it come through the list.  Has anyone else been having trouble
seeing their replies?

Mark

-----Original Message-----
From: Schroeter Christian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 8:35 AM
To: [EMAIL PROTECTED]
Subject: Re: date-format in cocoon 1.8.2


Now if the value in the db is null then i get an error-message.

Without the format - attribute i wouldnt get it.

What must i change, and how?

cu,
Christian

Am Dienstag, 23. Oktober 2001 19:01 schrieben Sie:
> Specify the format attribute using a Java SimpleDateFormat string.  For
> instance,
> <esql:get-date column="..." format="MMM dd, yyyy"/>
>
> -Christopher
>
>
>
>
> Please respond to [EMAIL PROTECTED]
>
> To:   [EMAIL PROTECTED]
> cc:
>
> Subject:  date-format in cocoon 1.8.2
>
>
> Hi,
>
> what must i do to change the format of the date i get with
> <esql:get-date...>
>
> i am using cocoon1.8.2
>
> cu,
> christian
>
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to