I'm not sure how you have assumed that tapestry knows how understand a
"format:" binding prefix. Certainly none of the tapestry documentation
mentions it?

The simple solution is to provide a getter for the formatted date String.

If you really want a "format:" binding prefix, you can create a custom
binding prefix.
 On 14 May 2014 18:31, "Aristedes Maniatis" <a...@ish.com.au> wrote:

> I understand that I can do this in the tml:
>
>     <span itemprop="startDate"><t:output value="someDate"
> format="literal:YYYY-MM-DD hh:mm:ss 'UTC' Z"></span>
>
>
> But I want to put the value into an attribute to suit a Google schema
> microformat, like this:
>
> <abbr itemprop="startDate" content="${format:date=YYYY-MM-DD hh:mm:ss
> 'UTC' Z,someDate}" title="">
>
>
> This does not work. What am I missing here?
>
>
> Ari Maniatis
>
>
> --
> -------------------------->
> Aristedes Maniatis
> ish
> http://www.ish.com.au
> Level 1, 30 Wilson Street Newtown 2042 Australia
> phone +61 2 9550 5001   fax +61 2 9550 4001
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to