Hi all,
I am facing a particular problem, and I didn't find help on the web so I'm
turning myself to you.
I use in my Struts 2 application the UI tag <s:optiontransferselect>. The
parameters work fine and everything's displayed correctly on the screen.
Nevertheless, the buttons just don't work. Nothing happens and I get a
javascript error each time I hit those buttons, saying that a javascript
function is undefined (the function corresponding to the buttons :
moveSelectedOptions, moveAllOptions ...).
In my <head> tag, I have included the ajax theme (<s:head theme="ajax"
debug="true"/>), which gives me this in my final page:
<link rel="stylesheet" href="/roadbook/struts/xhtml/styles.css"
type="text/css"/>
<script type="text/javascript">
// Dojo configuration
djConfig = {
baseRelativePath: "/roadbook/struts/dojo",
isDebug: true,
bindEncoding: "UTF-8",
debugAtAllCosts: true // not needed, but allows the Venkman
debugger to work with the includes
};
</script>
<script type="text/javascript"
src="/roadbook/struts/dojo/dojo.js"></script>
<script type="text/javascript"
src="/roadbook/struts/simple/dojoRequire.js"></script><script
type="text/javascript"
src="/roadbook/struts/ajax/dojoRequire.js"></script>
<script type="text/javascript"
src="/roadbook/struts/CommonFunctions.js"></script>
I think I might have a lacking js file, where the optiontranserselect
javascript methods may be ...
Any ideas ?
regards,
Matthieu
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
Do not print this message unless it is necessary,
consider the environment.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire,
pensez a l'environnement.