On 22 août, 19:38, Pieter <[email protected]> wrote:
> I have created a basic basic gwt application running on ServerA.
>
> Now I want a designer to be able to write his own style sheet for the
> application but not touch the source code.  So I created an html file
> and referenced the absolute js src.  However, this is not working as
> expected.
>
> Sample of html on ServerB
>
> <html>
>     <head>
>         <meta name='gwt:module'
> content='com.my.modules.Blast=com.my.modules.Blast'>
>         <title>Party Blast</title>
>         <link href="http:/ServerA:8080/Forms/css/datepicker.css"
> rel="stylesheet" type="text/css" />
>     </head>
>     <body>
>         <script type="text/javascript"  src="http://ServerA:8080/Forms/
> com.my.modules.Blast/com.my.modules.Blast.nocache.js"></script>
>         <div id="theForm"></div>
>     </body>
> </html>
>
> The page is just empty.  Any insight with this is appreciated.

See 
http://code.google.com/webtoolkit/doc/latest/FAQ_Server.html#What_is_the_Same_Origin_Policy,_and_how_does_it_affect_GWT?

It's not as simple as it seems.

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