Some "maybe"s: :)
1. Maybe it's better to pass, e.g., items : Item[], not items : Collection as a page variable? So the cartridge could use class information and add formatting while generating JSP (there would be no need to make runtime class checks in JSP). 2. Maybe it could be possible to specify field types while setting columns to display: @andromda.presentation.view.table.columns=id:Long,name:String,birthDate:Date 3. Maybe it's possibe to configure Hibernate to return java.util.Date instead of java.sql.Timestamp, or add Timestamp->Date transformation to the generated code. Actually, it would be nice if the cartridge could use type info during the generation, because now there is a kind of inconsistence in diplaying dates, for example. If I have entity field, say, birthDay:Date, I would expect it to be formatted as "$defaultDateFormat" everywhere. But it is formatted as "$defaultDateFormat" when showed as a form field, and is formatted as "$defaultDateFormat $defaultTimeformat" when showed as a table field. The latter format would be welcome if DateTime datatype were used. _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3683#3683 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