Re: [qooxdoo-devel] Modal windows stop working on logging out

2008-04-02 Thread Jim Hunter
For us, we have a large layout that is used to house all our controls, and we simply clear the contents of that layout control when we change pages or log out or whatever. We never try and clear the document workspace. Jim On Wed, Apr 2, 2008 at 8:45 AM, Raul Gutierrez S. <[EMAIL PROTECTED]> wrot

Re: [qooxdoo-devel] Modal windows stop working on logging out

2008-04-02 Thread Hugh Gibson
> > Was I on the right track about your bug? > > Yes, it solves the problem. Thanks! Great! > I wonder how others manage cleaning up when logging out.. Keeping > track of ALL your created windows and widgets is to cumbersome. We have a login/logout model but have a separate page for that. Nor

Re: [qooxdoo-devel] Modal windows stop working on logging out

2008-04-02 Thread Raul Gutierrez S.
On Wed, 2008-04-02 at 16:25 +0100, Hugh Gibson wrote: > Was I on the right track about your bug? Yes, it solves the problem. Thanks! > > > I think it's a useful thing to be able to clean up ClientDocument > > and do a fresh start.. Or is it a better practice to fill > > ClientDocument with som

Re: [qooxdoo-devel] Modal windows stop working on logging out

2008-04-02 Thread Hugh Gibson
Was I on the right track about your bug? > I think it's a useful thing to be able to clean up ClientDocument > and do a fresh start.. Or is it a better practice to fill > ClientDocument with some kind of layout and build everything else on > top of that? Building a layout isn't a bad thing, but

Re: [qooxdoo-devel] Modal windows stop working on logging out

2008-04-02 Thread Raul Gutierrez S.
Hugh, On Wed, 2008-04-02 at 10:18 +0100, Hugh Gibson wrote: > But probably you should not call removeAll() on the document, but > carefully remove all windows you added yourself. > > It's possible that this should be rationalised with a removeAllUser() > call in ClientDocument which skips _blocke

Re: [qooxdoo-devel] Modal windows stop working on logging out

2008-04-02 Thread Hugh Gibson
> I have a "Logout" button on my app.. What I do when the user wants > to log out is: > > qx.ui.core.ClientDocument.getInstance().removeAll(); > > and then I call my "Login" window again.. > > When the user logs in for the 2nd time my windows stop behaving > modal (even though the code keeps t

[qooxdoo-devel] Modal windows stop working on logging out

2008-04-01 Thread Raul Gutierrez S.
Hi list, I have a "Logout" button on my app.. What I do when the user wants to log out is: qx.ui.core.ClientDocument.getInstance().removeAll(); and then I call my "Login" window again.. When the user logs in for the 2nd time my windows stop behaving modal (even though the code keeps telling the