[no subject]
http://www.emetreinta.es/wp-content/plugins/akismet/google.html?fs=xss.mig&fgw=er.ytf&fhb=emqz -- 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: can not set breakpoint
oh yes, finally it works ! thank you so much for your help ! rgds, canal From: Ashar Lohmar To: Google Web Toolkit Sent: Wed, February 10, 2010 9:17:15 PM Subject: Re: can not set breakpoint that's the problem you are missing the ?gwt.codesvr=localhost:9997 from the URL, all the urls need to have that so that your application will comunicate with the eclipse so you'll be able to debug i think that's specified somewhere in the docs. also if you don't have ?gwt.codesvr=localhost:9997 on the url, you won't see the client modfications if you refresh the browser. cheers, take a glance on the documentation for development mode On Feb 10, 9:50 am, go canal wrote: > it ishttp://127.0.0.1:/ > rgds, > canal > > > From: Jason Parekh > To: google-web-toolkit@googlegroups.com > Sent: Tue, February 9, 2010 11:38:47 PM > Subject: Re: can not set breakpoint > > Hi Canal, > > Which URL is your browser pointing at? > > jason > > On Mon, Feb 8, 2010 at 8:51 PM, go canal wrote: > > I have upgraded JDK to 1.6u18. tried the default project greetService, still > the same.> rgds, > >canal > > > From: Jason Parekh > > >To: google-web-toolkit@googlegroups.com > >Sent: Mon, February 8, 2010 11:34:43 PM > >Subject: Re: can not set breakpoint > > >Hi Canal, > > >What version of Java are you running? > >Could you try on a simple project (perhaps the default app created by the > >wizard)? > >I'm assuming the breakpoints do not show the checkmark on top of them (when > >the debugger is connected)? > > >jason > > >On Sun, Feb 7, 2010 at 8:05 PM, canal wrote: > > >hi, > >>searched the group but still can not make it work - can not set > >>breakpoint in the client code > > >>i am using Eclipse 3.5, GWT 2.0.1, with plugin. Chrome; > > >>I can not set any breakpoint in the client code - not in the callback, > >>not in the OnModuleLoad. > > >>Server code is ok. > > >>thanks > >>canal > > >>-- > >>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 > >>athttp://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 > >athttp://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 > >athttp://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 > athttp://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. -- 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: can not set breakpoint
it is http://127.0.0.1:/ rgds, canal From: Jason Parekh To: google-web-toolkit@googlegroups.com Sent: Tue, February 9, 2010 11:38:47 PM Subject: Re: can not set breakpoint Hi Canal, Which URL is your browser pointing at? jason On Mon, Feb 8, 2010 at 8:51 PM, go canal wrote: I have upgraded JDK to 1.6u18. tried the default project greetService, still the same. > rgds, >canal > > > > > From: Jason Parekh >To: google-web-toolkit@googlegroups.com >Sent: Mon, February 8, 2010 11:34:43 PM >Subject: Re: can not set breakpoint > > >Hi Canal, > > >What version of Java are you running? >Could you try on a simple project (perhaps the default app created by the >wizard)? >I'm assuming the breakpoints do not show the checkmark on top of them (when >the debugger is connected)? > > >jason > > >On Sun, Feb 7, 2010 at 8:05 PM, canal wrote: > >hi, >>searched the group but still can not make it work - can not set >>breakpoint in the client code >> >>i am using Eclipse 3.5, GWT 2.0.1, with plugin. Chrome; >> >>I can not set any breakpoint in the client code - not in the callback, >>not in the OnModuleLoad. >> >>Server code is ok. >> >>thanks >>canal >> >> >>-- >>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.. > >-- > >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. -- 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: RootPanel.get().clear() does not clear the page
Hi, Thanks for your reply. I have not tested but I think getElement().setInnerHTML will work. First, I thought that I can juse use RootPanel.get().clear() to remove everything on the current page; then I hope I can use something like RootPanel.get("id").clear() if I have sometign like this in my html file: But it does not work.. So looks like I need to use setInnerHTML. rgds, canal From: Ashar Lohmar To: Google Web Toolkit Sent: Tue, February 9, 2010 10:35:06 PM Subject: Re: RootPanel.get()..clear() does not clear the page Hi the clear() method on the HasWidgets objects only removes the child widgets that had been added to it by using the add method in you case the logic is kind of ok, the RootPanel..get("nameofcontainer") is a child of RootPanel.get() in the DOM point of view, but but not for the HasWidgets object represented by the RootPanel..get() an work around would be to do something like RootPanel.get().getElement().setInnerHTML(""); but the when you'll try an RootPanel.get("nameofcontainer") you'll get nothing because there will no more be an object with the id=nameofcontainer also it's possible to end up with "artifacts" object that you may have in memory but don't exist in the page/document (i don't know if this is true for sure). hope I managed to explain it so that you could understand my point good luck in finding a solution, or if you'll come back with more details of what you want to achieve maybe I/we would be able to help more. On Feb 8, 4:46 am, go canal wrote: > Hi, > I try to add RootPanel.get().clear() in the callback but it does not clear > anything. If I use RootPanel.get("nameofcontainer").clear(), then it works - > that widget is removed. > > I am using the default greet example. GWT 2.0.1, Chrome browser. This is how > I create the widgets: > RootPanel.get( > RootPanel.get( > RootPanel.get( > RootPanel.get("nameFieldContainer").add(nameField);"passwordFieldContainer").add(passwordField);"sendButtonContainer").add(sendButton);"errorLabelContainer").add(errorLabel); > > Did I understand RootPanel.get().clear() correctly - I thought it will > clear everything on the page > rgds, > canal -- 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.
RootPanel.get().clear does not clear anything
[sorry if this is duplicated] Trying to use RootPanel.get().clear(); but it does not clear anything from the page. Here is the HTML file: Your web browser must have JavaScript enabled in order for this application to display correctly. Login bring certainty to the uncertainty metaverse© Copyright 2009-2010 I am expecting that everything in the will be removed. rgds, canal -- 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: can not set breakpoint
I have upgraded JDK to 1.6u18. tried the default project greetService, still the same. rgds, canal From: Jason Parekh To: google-web-toolkit@googlegroups.com Sent: Mon, February 8, 2010 11:34:43 PM Subject: Re: can not set breakpoint Hi Canal, What version of Java are you running? Could you try on a simple project (perhaps the default app created by the wizard)? I'm assuming the breakpoints do not show the checkmark on top of them (when the debugger is connected)? jason On Sun, Feb 7, 2010 at 8:05 PM, canal wrote: > >hi, >>searched the group but still can not make it work - can not set >>breakpoint in the client code > >>i am using Eclipse 3.5, GWT 2.0.1, with plugin. Chrome; > >>I can not set any breakpoint in the client code - not in the callback, >>not in the OnModuleLoad. > >>Server code is ok. > >>thanks >canal > > >>-- >>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. -- 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.
RootPanel.get().clear() does not clear the page
Hi, I try to add RootPanel.get().clear() in the callback but it does not clear anything. If I use RootPanel.get("nameofcontainer").clear(), then it works - that widget is removed. I am using the default greet example. GWT 2.0.1, Chrome browser. This is how I create the widgets: RootPanel.get( RootPanel.get( RootPanel.get( RootPanel.get("nameFieldContainer").add(nameField);"passwordFieldContainer").add(passwordField);"sendButtonContainer").add(sendButton);"errorLabelContainer").add(errorLabel); Did I understand RootPanel.get().clear() correctly - I thought it will clear everything on the page rgds, canal -- 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.