Testing the type of the list element's property to format table fields ----------------------------------------------------------------------
Key: BPM-234 URL: http://jira.andromda.org/browse/BPM-234 Project: Bpm4Struts Cartridge Type: Improvement Versions: 3.1-RC1 Reporter: Igor Kuzmitshov Assigned to: Wouter Zoons Priority: Minor Currently the cartridge does not test the type of the runtime list element's property while rendering tables. E.g., when you put an event variable of type Date, it's shown in current Date format (controlled by the namespace or @andromda.struts.view.field.format). But when you send a Collection of items as a page variable to be shown as a table, e.g., birthDate:Date field is shown as "YYYY-MM-DD hh:mm:ss". As the page variable is given as the single Collection with "@andromda.presentation.view.table.columns=id,name,birthDate", you cannot control the format of the individual field. Instead of using the default toString() call when showing tables, the cartridge could use "more intelligent" type processing like the one used to render single (e.g., Date) fields. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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-devel mailing list Andromda-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-devel