OK I thought I had got past this problem, but Its returned and its not happening at the "RootPanel.get()" point.
I've used Eclipse to step through the code line by line and here is where Im getting this "A widget that has an existing parent widget may not be added to the detach list" (BTW I wish someone would acually explain what this really means!) As this appears to be at the browser level, I have no idea how to investigate any further, can anyone please help me out with what to try next? Heres the StackTrace: ~~~~~~~~~~~~~~~~ Daemon Thread [Code server for idebanet from Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 GTB6 (.NET CLR 3.5.30729) on http://localhost:8888/IDeBanet.html?gwt.codesvr=127.0.0.1:9997 @ H_W?:@Z[P&3u;sI*] (Suspended) BrowserChannelServer(BrowserChannel).reactToMessages(BrowserChannel $SessionHandler) line: 1670 BrowserChannelServer.processConnection() line: 401 BrowserChannelServer.run() line: 222 Thread.run() line: not available [local variables unavailable] Heres the Code: ~~~~~~~~~~~~ public void reactToMessages(SessionHandler handler) { do { try { getStreamToOtherSide().flush(); MessageType messageType = Message.readMessageType( getStreamFromOtherSide()); switch (messageType) { case FREE_VALUE: final FreeMessage freeMsg = FreeMessage.receive(this); handler.freeValue(this, freeMsg.getIds()); break; case INVOKE: InvokeOnServerMessage imsg = InvokeOnServerMessage.receive(this); ExceptionOrReturnValue result = handler.invoke(this, imsg.getThis(), imsg.getMethodDispatchId(), imsg.getArgs()); sendFreedValues(); On Feb 9, 2:31 pm, "Juan M.M.M." <[email protected]> wrote: > Thx for the reply > > p.d: it's enough with the prototype of the method ;D > > Bye! > > On Feb 9, 3:10 pm, Thomas Broyer <[email protected]> wrote: > > > > > On Feb 9, 10:37 am, "Juan M.M.M." <[email protected]> wrote: > > > > Hi man! > > > > Thx for the reply but I can't set the visiblitiy with this method > > > Document.get().getElementById(...) . > > > > Can you tell me the exact sintax to acced to the setVisibility method > > > through Document clas? > > > Either getStyle.setDisplay(Display.NONE) to hide and > > getStyle().clearDisplay() to show; or UIObject.setVisible(elt, false) > > to hide (pass 'true' as the second argument to show). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
