Tuesday, March 11, 2014

Re: Starting app in superdevmode from selenium

Hello,

Although we aren't using selenium we had a quite similar problem. We ended up in converting the module's html into a jsp (everything that's dynamic should work) and replace the url to module.nocache.js with the superdev-version.

<% 
  if (request.getParameter("superdev") != null && request.getParameter("superdev").equals("on")) {
%>
  <script type="text/javascript" language="javascript"
    src="http://localhost:9876/module/module.nocache.js"></script>
<%    
  } else {
%>
  <script type="text/javascript" language="javascript"
      src="module/module.nocache.js"></script>
<%
  }
%>

Invoking the compiler should be no problem. Just call http://localhost:9876/recompile/module?_callback=__gwt_bookmarklet_globals.callbacks.c0 via http-get.

Hope this helps.

Regards
Klemens

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment