Is there way to change a key type from the default String to something else, when defined in:
<map>
<entry>
<key>
.....
I need to use Integer wrapper class.
Any clues ?
Is there way to change a key type from the default String to something else, when defined in:
<map>
<entry>
<key>
.....
I need to use Integer wrapper class.
Any clues ?
Can you not specify type="java.lang.Integer" on the key element? Not sure, just a guessOriginally Posted by matt_koss
![]()
Do not think so. At least not in 1.2.5. Not sure if version 2.X will support this or what ?Originally Posted by yatesco
No idea then, sorry![]()
Spring 1.2.7 (and 1.2.6 I think) allow the type attribute (obviously Spring 2.x has this feature also.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags
Hold on, are you talking about type of the value, or type of the key ?Originally Posted by costin
There is a type attrtibute in the value tag, but I am not sure about the key.
At least dtd does not seem to have it.