HI,
I'm having a similar problem.
My action only get's the really selected(Highlighted) values of
doubleSelect. If I don't click in at least one, I get an null object in the
list inside my action.

did anything changed?

Tahnks,

Felipe


Julien Leonard wrote:
> 
> Hi all,
> In 2.0.6, I used optiontransfertselect with Long params like this :
> 
> 
> 
> <s:optiontransferselect
> leftTitle="%{getText('saving.input.countries.available')}"
> rightTitle="%{getText('saving.input.countries.selected')}"
> doubleList="saving.countries"
> doubleListKey="id"
> doubleListValue="%{getText(i18nKey)}"
> doubleName="selectedCountries"
> doubleId="saveSaving_selectedCountries"
> id="saveSaving_availableCountries"
> list="availableCountries"
> listKey="id"
> listValue="%{getText(i18nKey)}"
> allowUpDownOnLeft="false"
> allowUpDownOnRight="false">
> allowUpDownOnRight="false"></s:optiontransferselect>
> 
> 
> in my action I have this :
> 
> private List<Long> selectedCountries = new LinkedList<Long>();
> public List<Long> getSelectedCountries()
> {
>       return selectedCountries;
> }
> 
>       
> public void setSelectedCountries( List<Long> selectedCountries )
> {
>       this.selectedCountries = selectedCountries;
> }
> 
> In  2.0.6, it was good. But in 2.0.8 have a
> java.lang.ClassCastException: java.lang.String when I want to acces to
> the selectedCountries List.
> In fact struts inject a xworkList typed as String.
> Is it a bug of 2.0.8 ?
> Can I resolve it?
> 
> Julien
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--OptionTransferSelect-in-2.0.8-tf3975978.html#a11296304
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to