cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: fi:styling type="date
Date Sat, 10 Apr 2004 07:09:23 GMT
On Fri, 2004-04-09 at 16:11, Joerg Heinicke wrote:
> On 08.04.2004 10:12, Bruno Dumon wrote:
> 
> >>This led me to the question why the form model does not give the styling 
> >>hint to the pipeline. Of course, it is styling, but for the date it is 
> >>somewhat datatype centric. In the stylesheet there is also a comment 
> >>about getting the convertor's format out of the form model - this issue 
> >>would be solved too.
> >>
> >>WDYT?
> > 
> > Something like that's needed indeed. I wouldn't insert the styling hint
> > though, but let the datatype and convertor produce some XML, like:
> > 
> > <fi:datatype type="java.lang.Date">
> >   <fi:convertor pattern="dd-MM-yyyy"/>
> > </fi:datatype>
> 
> I like it.
> 

ok. I'll try to look into it (should be pretty trivial to add).

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message