I have problems passing my own datatype(s) to my own component. The
component takes two parameters, one List<String> and one List<MyMap>.
MyMap is declared as MyMap extends TreeMap {...}.
The first parameter, a list of strings arrives safely to my component.
However, the other one, seems to be mixed up: when I try to access an
element in my List<MyMap>, it turns out that Tapestry (nothing else
involved) have filled this list with String items, not the expected
MyMap items. In the end, there is a class cast exception when trying to
access the MyMap items as Maps.
In the Eclipse debugger, it seems that the value of the List<MyMap>
instance variable is a single string holding what looks like the
serialized value of my List<MyMap> list. The start is
"[{key=value,key=value...
I've tried to contribute coercions between MyMap<->Map, but this desn't
seem to help (?).
Basically, I'm stucked unless I write everything in several big pages
with duplicated code. Don't really want to do that. :-(
Any hints out there?
--alec
PS Version: 5.0.11 DS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]