Sorry I just realize I didn't use the tag the right way. I had String
literals in my list instead of the actual primitives/objects...

Now of course it works just fine without any patching!

Slowly, but I am getting there ;-)

Torsten

Torsten Römer schrieb:
> I tried to use primitive types/arrays of primitives as "name" property
> of <s:radio> and <s:checkboxlist>.
> 
> It works fine, but the state is not maintained because the
> ContainUtil.compare() method returns false as it compares e.g. an
> Integer and a Sting using Object.equals().
> 
> Is there a reason why we can't use primitives like in for example
> <s:checkbox>?
> 
> I patched my own ContainUtil.compare() and it seems to work fine now -
> should I log a JIRA issue/RFE?
> 
> Hope I haven't overlooked an existing issue/post on this!
> 
> Torsten
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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

Reply via email to