The template of <optiontransferselect> has these code:

<#if !stack.findValue("#optiontransferselect_js_included")??><#t/>
        <script type="text/javascript" src="<@s.url
value="/struts/optiontransferselect.js" encode='false'
includeParams='none'/>"></script>
        <#assign temporaryVariable =
stack.setValue("#optiontransferselect_js_included", "true") /><#t/>
</#if>

These code should generate some HTML code which import the JS file.

And, the JS file is in the struts2-core-2.2.1.jar, under the path
[/org/apache/struts2/static/].


>> I am confused why the "optiontransferselect.js" was not automatically 
>> imported/generated into HTML page

Maybe there are something else getting wrong.
(1)check if the HTML code is right
(2)check if there are error messages on the client side
(3)check if there are  exceptions on the server side
Maybe you can find something.






2010/11/7 Mead Lai <laiqi...@gmail.com>:
> Appreciate all of you very much.
> Is the "/struts/optiontransferselect.js" included in the struts-core.jar?
> I am confused why the "optiontransferselect.js" was not automatically
> imported/generated into HTML page.
> I config the "struts.theme = simple" for entire project.
>
> Regards,
> Mead
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to