That functionality is present in 5.0.5-SNAPSHOT.
On 6/22/07, Dan Adams <[EMAIL PROTECTED]> wrote:
I like how you can configure new renderers based on type for
BeanEditForm. Could we do the same thing with grid? Right now GridCell
checks for a block parameter, then checks for a builtin block, then
defaults to just using toString(). After checking for the override
block, it could check a configured service for a renderer based on that
type. In our system we would use it so that:
- boolean -> True/False
- Date -> Formatted with a specific, system-wide format
- BigDecimal -> Formatted as currency
- Book (custom type) -> prints the ISBN or something
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]