On Thu, Jun 26, 2008 at 3:04 PM, Pierre Thibaudeau
<[EMAIL PROTECTED]> wrote:
> 2008/6/26 Chris Pratt <[EMAIL PROTECTED]>:
>
>> How does your case differ from the example on the Type Conversion page
>> you referenced?  It seems to me you're trying to do exactly what that
>> page says you can't?
>>
>
> My understanding of
> http://struts.apache.org/2.1.2/docs/type-conversion.html#TypeConversion-GenericsandErasure
> is that Struts cannot *infer* the actual type of a generified type.  (And
> that was the very first statement I made at the beginning of this thread.)
> Which is exactly why I intend to *specify* the conversion (and not let
> Struts attempt to do something which it can't do).
>
> It's obvious from the erasure of generics that Struts could not (even in
> theory) deduce the correct conversion.  But if I specify my own converter,
> why does it fail to make use of it?  I don't see that the reference I quoted
> makes any comment about that...
>

Ahhh, that's the piece I missed.  Seems like that should work, but I
haven't had to try anything like that.  Sorry.
  (*Chris*)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to