[EMAIL PROTECTED] wrote: sure,
I'll start from the beginning: a while back a user asked me why dates in table cells weren't formatted according to the specified dateformat, the reason was that a table is represented by a Collection and when AndroMDA is running we can't know which column holds dates .. therefore we don't know when to format a field I implemented a temporary solution where I test at runtime in the JSPs, comparing the class name of the field's type to java.util.Date, this is an ugly hack but it works for most cases (we can't use instanceof in JSP 2.0 EL although it has been reserved as a keyword) but this implementation required me to abandon the usage of the Struts taglibs for those form fields that exist in HTML: text, textarea, select .. but not html:multibox, html:collection, .. I made a mistake when converting from <html:textarea> to <textarea>: I specified the value attribute which is illegal in HTML (you need to use the body content of the tag in this case) <html:textarea name="XXX" property="YYY"/> was converted to <textarea name="YYY" value="${XXX.YYY}/> instead of <textarea name="YYY">${XXX.YYY}</textarea> it was an easy mistake to make because this tag is the only exception, all other tags I had to convert require a value attribute, not body content. (end of quote) -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3799#3799 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user