Bruno Dumon wrote:
On Sat, 2004-04-10 at 11:23, Joerg Heinicke wrote:
On 10.04.2004 09:09, Bruno Dumon wrote:
<fi:datatype type="java.lang.Date"> <fi:convertor pattern="dd-MM-yyyy"/> </fi:datatype>
ok. I'll try to look into it (should be pretty trivial to add).
That would be cool. Just a comment, what maybe is obvious: The above syntax is different to the one in the definition, we should use the same one: <fi:datatype base="date">.
yep, that's right. I did it like that. Now in CVS. The old fi:styling type="date" is not supported anymore, I guess that's fine?
Well, it's not completely ok:
When checking up on the sample form1 you'll see that the 'alternative-birth-date' doesn't get styled any more as the selection-list it used to be, but now with the date-picker popup!
I mentioned this to Bruno live this morning: he mentioned (without giving it much thought) that xslt priority of matchers might be the way to solve this (considering other suggestions couldn't hurt)
any takers?
as bruno didn't sound like diving into it here and now (too busy on other stuff)
Or more simply: a field should not issue datatype information if it has a selection-list, since the user then has no other choice than choosing in that list.
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
