Why don't you just use setVisibile(true/false)? That's the normal way to set visibility in GWT.
-- Arthur Kalmenson On Tue, Oct 14, 2008 at 8:52 AM, jfey <[EMAIL PROTECTED]> wrote: > > Hi all GWTficiondos > > I am working on a rather complex environment (say OS) based on GWT. I > use a widget based on SimplePanel which owns the real widget to be > shown. > > My problem is that after hiding that outer SimplePanel once i can not > get it to be shown any more at a later stage. > > I show the widget with the following code: > > child.setVisible (true); > this.setVisible (true); > setStyleAttribute (this.getElement (), "visibility", ""); > setStyleAttribute (child.getElement (), "visibility", ""); > child.setUserAttention (true); > > > Hiding: > > child.setUserAttention (false); > //child.setVisible (false); > //this.setVisible (false); > setStyleAttribute (this.getElement (), "visibility", "hidden"); > setStyleAttribute (child.getElement (), "visibility", "hidden"); > > If i hide again, the code in my widget runs (background process > display some info somewhere else) but the UE is now shown after > setvisible (true);. All the HTML ist there. > > What do i miss here? > > > cheers > > > Jürgen > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---