Hi Rahul,
For some reason I didn't get the email Chad has replied to.

I'm sure there must be a way to create the layout you want in the right
order first time. Do you have an example?

Refreshing should create exactly the same effect as running it the first
time (all other factors being equal - i.e. you are not setting a bookmark or
anything like that)

Also, I'm not sure I understand what you mean by 'cascading tabs'.

Ian

http://examples.roughian.com


2009/8/19 Chad <[email protected]>

>
> Rahul,
>
> Instead of trying to refresh the page, you should probably defer the
> loading of your buttons, labels, and tabs. Use a DeferredCommand for
> making the call to the method(s) for creating those widgets. It sounds
> like they are loading before something that they rely on loads.
> Although, this may have no effect whatsoever. :-/
>
> HTH,
> Chad
>
> On Aug 18, 9:32 am, Rahul <[email protected]> wrote:
> > Hi,
> > I am loading buttons in individual tabs of a tab panel. In the tab
> > panel i have some labels in order and also some cascading tabs in
> > order.
> > The first time the page is loaded, the buttons (which i want at the
> > bottom) are at the top of each tab and the cascading tabs which i want
> > in order are at the bottom of each tab. But whenever i refresh the
> > page once, everything comes to the place i want. So i figured that if
> > i refresh the page once it has been loaded, i can get the widgets
> > where i want them
> >
> > is this the right approach or theres a better way to do this ?
> >
> > On Aug 17, 11:06 pm, Ian Bambury <[email protected]> wrote:
> >
> >
> >
> > > Why do you want to reload the page as soon as it has just loaded?
> > > Can't you just get it right the first time?
> >
> > > What do you want to happen the second time that didn't happen the first
> > > time?
> >
> > > Ian
> >
> > >http://examples.roughian.com
> >
> > > 2009/8/18 Rahul <[email protected]>
> >
> > > > HI Ian,
> > > > thanks for replying
> > > > i have started looking at some tutorials for javascript
> > > > but i have some more confusion.
> >
> > > > all coding i did in gwt was in java in the client class, so for this
> > > > functionality also i need to code in the client class? or not? i need
> > > > to do javascript for tht. and if i can do in java, what is the
> function
> > > > ( because when searched it always shows me how to do with javascript
> > > > and not in java)
> >
> > > > On Aug 17, 6:00 pm, Ian Bambury <[email protected]> wrote:
> > > > > 2009/8/17 Rahul <[email protected]>
> >
> > > > > > Hi
> > > > > > I want to refresh my webpage once after loading completely. I am
> using
> > > > > > this code for this
> >
> > > > > >    <script language=" JavaScript" >
> > > > > >        function MyReload()
> > > > > >        {
> > > > > >                window.location.reload();
> > > > > >        }
> > > > > >        </SCRIPT>
> >
> > > > > > and calling
> > > > > > <Body onLoad=" MyReload()" >  on body part of my html file
> >
> > > > > > but this is not working
> > > > > > can anyone tell me where am i going wrong?
> >
> > > > > First problem is that you are asking a JavaScript question in a GWT
> group
> > > > > :-)
> >
> > > > > Second problem is that your webpage will loop, endlessly loading
> and
> > > > > reloading. This a pretty basic a mistake, so maybe it would be a
> good
> > > > idea
> > > > > to search for some JavaScript tutorials or sign up to a JavaScript
> > > > > beginners' group.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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