Something like this in the html template:
<span jwcid="[EMAIL PROTECTED]">
<span jwcid="@Insert"
value="ognl:dataRow.accessTime"
format="ognl:dateFormater" />
</span>
In your page specification file :
<property name="dateFormater"
initial-value="new
java.text.SimpleDateFormat('EEE, d MMM yy HH:mm
\'GMT\'Z')"/>
The above is for Tapestry 4.
In case you did not know, John Reynolds has an
excellent tutorial on the table component.
https://tapestrywebcomponentexamples.dev.java.net/
I think it is written in Tapestry 3, but it is still
very much relevant in Tapestry 4.
Shing
--- Christian Mittendorf
<[EMAIL PROTECTED]> wrote:
> Hello!
>
> I've using a plain Table component from the contrib
> lib and I'd like
> to for format the date values of one column. How can
> I accomplish
> that? Does anybody have a nice example ready?
>
> Christian
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
Yahoo! Model Search 2005 - Find the next catwalk superstars -
http://uk.news.yahoo.com/hot/model-search/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]