the kind of test could be for example check out the session if the
user is logged... if not redirect to login page :)

On Aug 25, 8:20 am, Marcelo Emanoel <[EMAIL PROTECTED]> wrote:
> probably not... the javascript will be on cache, if you use another
> page with the same application, but your entry point will be called
> again... since you are on a different page... so you should use a test
> of something like that to look if the user is logged and if not you
> redirect to the previous page to login :)
>
> On Aug 25, 12:51 am, Niraj <[EMAIL PROTECTED]> wrote:
>
> > Arthur ,
>
> > Thanks for the response:
> > 1. The solution for" RootPanel.get() method and calling clear() " is
> > good and I did not know about it earlier. so thanks for that
> > 2. The solution for "have your logged in user redirected to another
> > page that's all GWT" . Question here. my aim is to load the JS file on
> > the start page (i.e the HTML login page). If I redirect the user - Is
> > the JS file going to load up again from the All the GWT page
>
> > On Aug 24, 8:29 pm, Arthur Kalmenson <[EMAIL PROTECTED]> wrote:
>
> > > Hi Niraj,
>
> > > There are a number of solutions available to you, one of them would be
> > > to have your logged in user redirected to another page that's all GWT
> > > (if that's what you're looking for). If you want to remove elementsAt by
> > > hand from the page itself, it should be possible to do using the
> > > RootPanel.get() method and calling clear() on the Elements that you
> > > get back.
>
> > > Regards,
> > > Arthur Kalmenson
>
> > > On Aug 22, 7:04 pm, Niraj <[EMAIL PROTECTED]> wrote:
>
> > > > I have a start page with a GWT written Login panel in a div tag .  The
> > > > start page has a ton of CSS at page level .i,e body , a etc.
>
> > > > My problem is that after login  , I need to take control of the
> > > > viewport and get rid of all the HTML that was defined on the
> > > > startpage.
>
> > > > Is their a way to do this.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to