I've seen this post several times, and have noticed that nobody else
seems to be saying anything...
On 18 Aug 2005, at 09:02, Kalyani Jitesh wrote:
<field name="loggerList" collection="map" get-method="getLoggerList"
set-method="addLogger" type="TMLogger">
First point: I'm not familiar with maps, so I don't know if that
will have an impact. I wasn't of the opinion that they could be used
this way - someone will have to clarify.
<bind-xml name="logger" location="logging"/>
Second: Not sure if that's enough to just say logging - thought you
wanted logging/logger here. Don't know if you've already examined
that, however.
<class name="TMLogger">
<field name="name" type="string">
<bind-xml name="name" node="attribute"/>
</field>
<field name="boundryLevel" type="string">
<bind-xml name="boundrylevel" node="attribute"/>
</field>
</class>
</mapping>
And again, I have no idea how this would ever be mapped to a name/
value pair on map. Don't you really want a List-based collection,
rather than a map, for this?
Anyways, someone more familiar with the XML side will need to answer
those questions for you. I imagine your first problem is in
incorrect use of the location attribute, and maybe that will solve
your problems - I honestly don't know. The use of a map seems odd,
to me, but who knows - maybe that's what's intended.
Best of luck.
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------