You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by me...@investorservicing.natixis.fr on 2007/07/12 15:27:34 UTC

optiontransferselect tag problem (again)

Hi all,

I have a problem with the selected values by the optiontransferselect tag 
when my form is submitted.

here is an extract of my jsp. The list is a map and I'm expecting to get a 
List of DummyKey in the doubleName.
But I'm getting a ClassCastException when I try to iterate and cast the 
returned list.
How could I manage to get the right typed list keys.



<TD width="15%" height="25" align="left">&nbsp;</TD>
                <TD align="left">
                <s:optiontransferselect 
        headerKey="-1"
        headerValue="--- Selectionnez ---"
        doubleHeaderKey="-1"
        id="leftId"
        doubleId="rightId"
        doubleHeaderValue="--- Selectionnez ---"
 
        name="dummyFavoris" 
        size="5"
        doubleSize="5"
        list="#application.dummies" 
        doubleName="dummyFavorisChoisis"
        doubleList="defaultDummy" />
                </TD>



Any help is greetly appreciated.
Meissa

L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur.
Ensemble, faisons un geste pour l'environnement : n'imprimons nos mails que si necessaire

The integrity of this message cannot be guaranteed on the Internet. Natixis can not therefore be considered responsible for the contents. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.
Let us mind the environment : let's print our mails only when necessary.