R: Re: IE8 shows only my application's first page
Someone can help me? -- 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-toolkit@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.
Re: IE8 shows only my application's first page
Hi, i have the following error when i start my application in production mode after compile process: "Dettagli errore pagina Web Agente utente: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; AskTB5.6) Timestamp: Wed, 11 May 2011 12:29:09 UTC Messaggio: 'DOMParser' non è definito Linea: 2219 Carattere: 24 Codice: 0 URI: http://www.pumenengo.altervista.org/com.gwt.gxt.Index.Index/28A96E53625EBD3D5314024CFE662103.cache.html"; If can be usefull, i'm using also the latest version of GXT. Thanks in advance Alessio On 11 Mag, 14:14, Juan Pablo Gardella wrote: > What signal error? > > 2011/5/11 Alessio unibs > > > GoodMorning everybody. I'm using GWT 2.0.4 and in IE8 appears only my > > application's first page and when i click on a button, IE8 shows a > > white page and in the bottom-left corner shows a signal error. > > What can i do? > > Thanks in advance > > > -- > > 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-toolkit@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. -- 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-toolkit@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.
Re: IE8 shows only my application's first page
The whole application work fine with Mozilla Firefox and Chrome. On 11 Mag, 13:53, Alessio unibs wrote: > GoodMorning everybody. I'm using GWT 2.0.4 and in IE8 appears only my > application's first page and when i click on a button, IE8 shows a > white page and in the bottom-left corner shows a signal error. > What can i do? > Thanks in advance -- 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-toolkit@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.
IE8 shows only my application's first page
GoodMorning everybody. I'm using GWT 2.0.4 and in IE8 appears only my application's first page and when i click on a button, IE8 shows a white page and in the bottom-left corner shows a signal error. What can i do? Thanks in advance -- 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-toolkit@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.
Re: REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE
Hi guys, i solved my problem using $HTTP_RAW_POST_DATA as Thomas Broyer suggests; Thank you for helping me On 7 Ott, 17:55, Ketan Shah wrote: > try > > trasmettiJSON.setHeader("Content-Type","application/x-www-form- > urlencoded"); > > On Oct 7, 1:58 am, Alessio unibs wrote: > > > Hi, i have problem by using gwt requestbuilder to make http request > > with json object in body messages. In the server side code, i use php, > > but when i try to access request's data, the $_POST variable is empty. > > I post the code below: > > > String path = GWT.getHostPageBaseURL() + "JsonObjectReceiver.php"; > > > RequestBuilder trasmettiJSON = new > > RequestBuilder(RequestBuilder.POST, URL.encode(path)); > > trasmettiJSON.setHeader("Content-Type", > > "application/json"); > > > //L'evento contiene due oggetti da tenere in > > considerazione > > PrenotazioneJSON pj = > > event.getData(Costanti.OGGETTI_DA_INVIARE); > > final WCard corrente = > > event.getData(Costanti.CARD_CORRENTE_PASSO3); > > > try{ > > @SuppressWarnings("unused") > > Request req = > > trasmettiJSON.sendRequest(pj.getInfo_generali(), new > > RequestCallback() { > > > @Override > > public void > > onResponseReceived(Request request, Response > > response) { > > if (200 == > > response.getStatusCode()) { > > > AppEvent xmlCorrect > > = new AppEvent(StartEvents.xmlWritten); > > > > xmlCorrect.setData(Costanti.CARD_CORRENTE_PASSO3, corrente); > > > > > xmlCorrect.setData("status", response.getText()); > > > > forwardToView(passo3View, xmlCorrect); > > } else { > > // displayError("Couldn't > > retrieve JSON (" + > > response.getStatusText()+ ")", corrente); > > } > > > } > > > @Override > > public void onError(Request > > request, Throwable exception) { > > //displayError("Couldn't > > retrieve JSON"); > > > } > > }); > > > }catch(RequestException e) { > > //displayError("Couldn't retrieve JSON"); > > > } > > > CAN SOMEONE HELP ME PLEASE? I'M NEW TO GWT, SO I HAVE NOT A LOT OF > > EXPERIENCE. > > THANKS IN ADVANCE FOR ANSWERS > > > ALESSIO -- 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.
Re: REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE
Hi andy, thank you for answer; Yes i try setRequestData, and if i'am right, i must use send() method to send the request. I did that but the $_POST php variable was empty again. My php file is for now: THANK YOU IN ADVANCE On 7 Ott, 07:18, andy stevko wrote: > Did you try > > public void *setRequestData*(java.lang.String requestData) > > On Wed, Oct 6, 2010 at 1:58 PM, Alessio unibs wrote: > > Hi, i have problem by using gwt requestbuilder to make http request > > with json object in body messages. In the server side code, i use php, > > but when i try to access request's data, the $_POST variable is empty. > > I post the code below: > > > String path = GWT.getHostPageBaseURL() + "JsonObjectReceiver.php"; > > > RequestBuilder trasmettiJSON = new > > RequestBuilder(RequestBuilder.POST, URL.encode(path)); > > trasmettiJSON.setHeader("Content-Type", > > "application/json"); > > > //L'evento contiene due oggetti da tenere in > > considerazione > > PrenotazioneJSON pj = > > event.getData(Costanti.OGGETTI_DA_INVIARE); > > final WCard corrente = > > event.getData(Costanti.CARD_CORRENTE_PASSO3); > > > try{ > > �...@suppresswarnings("unused") > > Request req = > > trasmettiJSON.sendRequest(pj.getInfo_generali(), new > > RequestCallback() { > > > �...@override > > public void > > onResponseReceived(Request request, Response > > response) { > > if (200 == > > response.getStatusCode()) { > > > AppEvent xmlCorrect > > = new AppEvent(StartEvents.xmlWritten); > > > xmlCorrect.setData(Costanti.CARD_CORRENTE_PASSO3, corrente); > > > xmlCorrect.setData("status", response.getText()); > > > forwardToView(passo3View, xmlCorrect); > > } else { > > // displayError("Couldn't > > retrieve JSON (" + > > response.getStatusText()+ ")", corrente); > > } > > > } > > > �...@override > > public void onError(Request request, > > Throwable exception) { > > //displayError("Couldn't > > retrieve JSON"); > > > } > > }); > > > }catch(RequestException e) { > > //displayError("Couldn't retrieve JSON"); > > } > > > CAN SOMEONE HELP ME PLEASE? I'M NEW TO GWT, SO I HAVE NOT A LOT OF > > EXPERIENCE. > > THANKS IN ADVANCE FOR ANSWERS > > > ALESSIO > > > -- > > 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. -- 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.
REQUEST BUILDER + JSON OBJECT + PHP SERVER SIDE LANGUAGE
Hi, i have problem by using gwt requestbuilder to make http request with json object in body messages. In the server side code, i use php, but when i try to access request's data, the $_POST variable is empty. I post the code below: String path = GWT.getHostPageBaseURL() + "JsonObjectReceiver.php"; RequestBuilder trasmettiJSON = new RequestBuilder(RequestBuilder.POST, URL.encode(path)); trasmettiJSON.setHeader("Content-Type", "application/json"); //L'evento contiene due oggetti da tenere in considerazione PrenotazioneJSON pj = event.getData(Costanti.OGGETTI_DA_INVIARE); final WCard corrente = event.getData(Costanti.CARD_CORRENTE_PASSO3); try{ @SuppressWarnings("unused") Request req = trasmettiJSON.sendRequest(pj.getInfo_generali(), new RequestCallback() { @Override public void onResponseReceived(Request request, Response response) { if (200 == response.getStatusCode()) { AppEvent xmlCorrect = new AppEvent(StartEvents.xmlWritten); xmlCorrect.setData(Costanti.CARD_CORRENTE_PASSO3, corrente); xmlCorrect.setData("status", response.getText()); forwardToView(passo3View, xmlCorrect); } else { // displayError("Couldn't retrieve JSON (" + response.getStatusText()+ ")", corrente); } } @Override public void onError(Request request, Throwable exception) { //displayError("Couldn't retrieve JSON"); } }); }catch(RequestException e) { //displayError("Couldn't retrieve JSON"); } CAN SOMEONE HELP ME PLEASE? I'M NEW TO GWT, SO I HAVE NOT A LOT OF EXPERIENCE. THANKS IN ADVANCE FOR ANSWERS ALESSIO -- 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.
Re: GWT DESIGNER NOT WORKING WITH GWT SDK 2.0.4
Hi, i solved the problem by installing e clean version of eclipse 3.6 Helios; now the plug in run correctly. On 24 Set, 10:24, Alessio unibs wrote: > Hi guys, i downloaded also the sdk GWT 2.0.4 and i imported that > instead the one included in gwt eclipse plugin, but watching in the > jar file gwt-dev.jar, the class com.google.gwt.dev.shell.ie.util.Utils > is not inside. I'm here with a friend and she installed eclipse 3.6; > In her eclipse all work well. Now i try to install this eclipse > versione because mine is eclipse 3.5. -- 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.
Re: GWT DESIGNER NOT WORKING WITH GWT SDK 2.0.4
Hi guys, i downloaded also the sdk GWT 2.0.4 and i imported that instead the one included in gwt eclipse plugin, but watching in the jar file gwt-dev.jar, the class com.google.gwt.dev.shell.ie.util.Utils is not inside. I'm here with a friend and she installed eclipse 3.6; In her eclipse all work well. Now i try to install this eclipse versione because mine is eclipse 3.5. -- 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.
Re: GWT DESIGNER NOT WORKING WITH GWT SDK 2.0.4
Thank you for answers. Now i try to understand if in my GWT library there are some errors. And also i will try to install e new clean Eclipse; if i have problems yet, i post them here. -- 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.
GWT DESIGNER NOT WORKING WITH GWT SDK 2.0.4
GoodMorning, i'm a new GWT user, i installed gwt and GWT designer as eclipse plugins. But when i tried to pass in design mode with the WIndowBuilder Editor, i obtain the following error: java.lang.NoClassDefFoundError: Could not initialize class com.google.gwt.dev.shell.ie.util.Utils at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6.(BrowserShellIE6.java: 63) at com.instantiations.designer.gwt.hosted.ie.BrowserShellFactory.create(BrowserShellFactory.java: 13) at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.createBrowserShell(HostedModeSupport.java: 212) at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.(HostedModeSupport.java: 73) at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupportFactory.create(HostedModeSupportFactory.java: 17) at com.instantiations.designer.gwt.model.widgets.support.GWTState.getHostedModeSupport(GWTState.java: 899) at com.instantiations.designer.gwt.model.widgets.support.GWTState.initialize(GWTState.java: 196) at com.instantiations.designer.gwt.model.widgets.support.GWTState.(GWTState.java: 175) at com.instantiations.designer.gwt.model.widgets.support.GWTState.(GWTState.java: 102) at com.instantiations.designer.gwt.parser.ParseFactory.getClassLoader(ParseFactory.java: 371) at com.instantiations.designer.core.parser.AbstractParseFactory.initializeClassLoader(AbstractParseFactory.java: 695) at com.instantiations.designer.gwt.parser.ParseFactory.getRootContext(ParseFactory.java: 89) at com.instantiations.designer.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java: 1091) at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java: 220) at com.instantiations.designer.core.parser.JavaInfoParser.access $9(JavaInfoParser.java:216) at com.instantiations.designer.core.parser.JavaInfoParser $1.runObject(JavaInfoParser.java:137) at com.instantiations.designer.core.parser.JavaInfoParser $1.runObject(JavaInfoParser.java:1) at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java: 133) at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java: 135) at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java: 408) at com.instantiations.designer.core.editor.DesignPage.access $10(DesignPage.java:400) at com.instantiations.designer.core.editor.DesignPage $7$1.run(DesignPage.java:337) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java: 179) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java: 150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4342) at com.instantiations.designer.core.editor.DesignPage $7.run(DesignPage.java:334) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java: 464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java: 372) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java: 507) at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java: 355) at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java: 304) at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java: 362) at com.instantiations.designer.core.editor.DesignPage.refreshGEF(DesignPage.java: 290) at com.instantiations.designer.core.editor.actions.RefreshAction.run(RefreshAction.java: 34) at com.instantiations.designer.core.editor.actions.DesignPageAction.run(DesignPageAction.java: 23) at com.instantiations.designer.core.editor.errors.ExceptionCompositeJava.doRefresh(ExceptionCompositeJava.java: 77) at com.instantiations.designer.core.editor.errors.ExceptionComposite $2.widgetSelected(ExceptionComposite.java:101) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java: 228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 3910) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: 2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: 493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl