cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark S. Kent" <mark.k...@vistyx.com>
Subject RE: date-format in cocoon 1.8.2
Date Wed, 24 Oct 2001 21:34:32 GMT
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:Christian.Schroeter@nbg.sbs.de]
Sent: Wednesday, October 24, 2001 8:35 AM
To: cocoon-users@xml.apache.org
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 cocoon-users@xml.apache.org
>
> To:   cocoon-users@xml.apache.org
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message