cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: fi:styling type="date
Date Fri, 09 Apr 2004 14:11:59 GMT
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.

Joerg

Mime
View raw message