Geez ... that toString() is burried pretty deep! Inside
LinkFactoryImpl, inside ComponentInvocation.
On 2/6/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
I think ActionLink simply invokes toString().
I don't see why we couldn't use the TypeCoercer for this purpose.
In most cases, the coercer will simply invoke toString().
The TypeCoercer is used on the flip side, mapping string query
parameter values to typed event handler method parameters, so I can't
see why not using it for your situation would matter.
On 2/6/07, Ted Steen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Im trying to contribute a type coercer from MyType to String (and vice versa),
> but it seems like the Object to String is used instead. When the
> ActionLink is rendered with a MyType in the context it renders to the
> value toString() returns, not the value my MyType->String coercer
> gives.
>
> I have tried to add @Order("before:*.*") to the contribution, but to no
avail...
> any suggestions?
>
> --
> /ted
>
> ---------------------------------------------------------------------
> 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
--
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]