Hello,

It seems that there is no problem to have many inclusions of

<script language="javascript" src="org.testgwt.Main/
org.testgwt.Main.nocache.js"></script>

in the web page, and that the module is loaded a single time.

But I would like to have the opinion of experts on that point!


Bertrand.


On 16 juin, 15:16, bgoetzmann <[email protected]> wrote:
> Hello,
>
> Using NetBeans 6.5 and its GWT4NB plugin, I created a very simple web
> application with a GWT module. The plugin generates a welcomeGWT.htm
> page that loads the GWT module.
> I noted that:
>
> 1. In the head tag, there is a meta tag: <meta name='gwt:module'
> content='org.testgwt.Main=org.testgwt.Main'>
>
> Is it mandatory?
>
> 2. In the body tag, I found: <script language="javascript"
> src="org.testgwt.Main/org.testgwt.Main.nocache.js"></script>
>
> What if there are many inclusions of this script? Does the .js file
> contains some test to handle this use case?
> These questions are very important for me, because I made experiments
> in a portlet environment (JBoss Portal), in which I can't avoid -for
> the moment- multiple inclusions of the script tag, in case of the use
> of multiple instances of the same portlet.
>
> Thank you!
>
> Bertrand.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to