How to disable GWT plugin per request level? (MSIE)

27 views
Skip to first unread message

Jaroslav Záruba

unread,
Dec 16, 2011, 2:51:39 PM12/16/11
to google-we...@googlegroups.com
To (remotely) debug my app I need to get to it by submitting POST requests through several other GWT-pages. (My app is one step within a business process manager.) I don't have the Java source from the preceding steps, therefore I need the magic codesvr parameter to show up only on my GWT-app. (If I add it to the initial request, when the wizard is starting, I end up with blank page because of failed debug attempt.)
I tried to modify the very last page before my app using Developer Tools, by setting <form action="?gwt.codesvr.=127.0.0.1:9997"/>. But to sweeten things up the URL in address bar is URL of a servlet that outputs each step of the wizard into a browser, therefore each step/page contains <base/> tag. When I modify the submitting form on the page just before my app (the action attribute) this servlet gets bypassed and my wizard page doesn't get served/populated properly.

I will try to obtain sources from those preceding wizard pages, but if it was possible to disable the GWT plugin untill I hit the last Submit I could move on sooner than on Monday. (Somehow I can not find the plugin listed in Internet Explorer.)

This brings me again to this feature request.

Ed

unread,
Dec 17, 2011, 9:30:19 AM12/17/11
to google-we...@googlegroups.com
This feature request issue is not  really an issue if you do a bit of deferred binding..
I navigate between modules in dev mode easily by using a different Navigator class in dev mode that is loaded through deferred binding in gwt.xml.
Tip: use at least a dev and production version of your app. This is easy done by selecting different gwt.xml files for production and dev respectively. In dev sersion of your app you do all kind of dev things like logging add debug-id's, navigation decoration etc...  The last one is interesting for you: you simple copy all url query param's from one url to another when navigating away from you app.

- Ed

Jaroslav Záruba

unread,
Dec 17, 2011, 2:33:10 PM12/17/11
to google-we...@googlegroups.com
I am not sure I understand. Let me repeat that I am not author of the other pages in the wizard not the wizard itself. As long as the plugin tries to debug the other pages I am not able to load mine.
Reply all
Reply to author
Forward
0 new messages