https://issues.apache.org/struts/browse/WW-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41243
WW-1993
Musachy Barroso wrote:
What if the ticket number? That would be a major issue
regards
musachy
On 6/25/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
Something broke between 2.0.6 and 2.0.8 when posting collections. You
will need to create a conversions properties file for your action. I've
logged a bug but I haven't had any feed back on it yet.
Felipe Rodrigues wrote:
> 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]
>>
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]