Graeme Defty <graeme.de...@gmail.com> writes:

> My _types record contains this:
>
>           dob = {date,[{format, "YYYY-MM-DD"},
>                     {description, "Date of Birth"}]}
>
> and my html looks thusly:
>
>         <p>date of birth: <wpart:lookup key="player:dob" format="date" /></p>

These two places have no connection with eachother; the wpart:lookup
can't get the format from your wtype.  Try something like:

<wpart:lookup key="player:dob" format="date(YYYY-MM-DD)" />

-- 
Magnus Henoch, mag...@erlang-solutions.com
Erlang Solutions
http://www.erlang-solutions.com/
---------------------------------------------------

---------------------------------------------------

WE'VE CHANGED NAMES!

Since January 1st 2010 Erlang Training and Consulting Ltd. has become ERLANG 
SOLUTIONS LTD.

www.erlang-solutions.com


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Erlangweb-users mailing list
Erlangweb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlangweb-users
http://www.erlang-web.org/

Reply via email to