struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danilo Barsotti" <mcbarso...@gmail.com>
Subject Re: Question about dojo and tag <s:head theme="simple" />
Date Sat, 13 Dec 2008 00:37:21 GMT
I'm using struts 2.0.14, struts-sitemesh-plugin 2.0.14 and freemarker 2.3.8

On Fri, Dec 12, 2008 at 10:33 PM, Danilo Barsotti <mcbarsotti@gmail.com>wrote:

> hi all!!
>
> why when I write <s:head theme="simple" /> the html generated have this:
>
>     <script type="text/javascript">
>
>     // Dojo configuration
>     djConfig = {
>         baseRelativePath: "/xxx/struts/dojo",
>         isDebug: false,
>         bindEncoding: "UTF-8",
>         debugAtAllCosts: true // not needed, but allows the Venkman debugger to work
with the includes
>
>     };
> </script>
> <script type="text/javascript"
>         src="/xxx/struts/dojo/dojo.js"></script>
>
> <script type="text/javascript"
>         src="/xxx/struts/simple/dojoRequire.js"></script>
>
>
> when I write theme="simple" the dojo javascript shouldn't appear, its
> correct???
>
> tanks!!!
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message