Bill Johnson schrieb:
I'm having the same problem and it appears to be
because the default theme is requiring DOJO to
automatically select all the select options before
submitting the form. I'm not sure if there is a JIRA
bug opened for this or not, but there probably should
be. The default (non-ajax) theme should not require
DOJO for the optionstransferselect tag to work.

I think the way to fix this is to have the default
theme use plain JavaScript to do the "select all"
functionality and not DOJO.

-Bill

Without using dojo, it's quite complicated to code a generic solution
for the tag as it is now. Dojo allows you to add one or more event
listeners, and that is done with the selectAllOptionsExceptSome
function: it is bound to the onsubmit event with dojo.event.connect,
with the needed code being able to be bound to the component template.

Coding the needed javascript by hand, might cause trouble in future when
implementation details might be changed. So maybe using dojo for adding
a js event model to your page is not the worst option ...



--- [EMAIL PROTECTED] wrote:

Hi all,
I have a problem with the optiontransferselect tag.
When I click on the submit button,nothing is set on
the listeSelectedKeys attribute of my updateActionClass.
Can someone tells me what i've missed.
here is an extract of my jsp.






<s:form action="updateExtraction" >
<s:optiontransferselect headerValue="--- Veuillez selectionner un compartiments ---" headerKey="-1"
 emptyOption="false"
 list="#application.vlisteCompartiments"
 listValue="libelleCompartiment"
listKey="id" buttonCssClass="bouton" cssStyle="width: 350px;" allowSelectAll="false" doubleList="listeCompartiments" doubleName="listSelectedKeys"
 doubleHeaderValue="--- Veuillez selectionner un
compartiments ---"
 doubleHeaderKey="-1"
 doubleEmptyOption="false"
 buttonCssStyle="bouton"
 doubleCssStyle="width: 350px;"
/> <s:submit cssClass="bouton" type="submit" value="Modifier" /> </s:form>


thank in advance.

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.




____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php

---------------------------------------------------------------------
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