On Aug 26, 11:26 am, Stefan Bachert <stefanbach...@yahoo.de> wrote: > Hi Pieter, > > your approach does not support ClientBundle. > And the link href is missing a double slash ("http://.."). Maybe a > typo. > > You probably need to deliver addition headers with your page > (Access-Control-Allow-Origin) in order to overcome SOP. (Take care > which browser really support this)
Alternatively there is a directive you can add to the module xml file which forces it to compile with using the XSS linker which will work cross domain unlike the default one. Unfortunately this linker cannot run in development mode, so you can't debug its output. That said it might be enough to just compile a new version for the designer to use every now and again and do the normal development with the default linker. Before release you will probably want to transfer the designers output in to CSS client bundles and move the images into these bundles as well. As it will improve load times a lot. Charlie M > Stefan Bacherthttp://gwtworld.de > > On 22 Aug., 19:38, Pieter <pieter.vandenb...@gmail.com> 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. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.