Regular Popup Window in GWT?

2009-09-03 Thread lakshmi thyagarajan
Hi,

I want to add a regular pop-up window to my application. I tried using a
PopupPanel (and DecoratedPopupPanel). But it doesnt have regular window
controls (like minimize, maximize, close etc). Am forced to either use the
auto-hide feature or include a Widget (like a button) to close the panel. Am
not able to minimize the panel and work in another window.
Does GWT have any other Window like widget?

Thanks for your time!
Lakshmi

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to replace the GWT css?

2009-08-11 Thread lakshmi thyagarajan
Hi,

I found that defining a custom style with the same name in the application
css overrides the default style.

thanks!
Lakshmi

On Tue, Aug 11, 2009 at 9:42 PM, lakshmi thyagarajan <
tlakshmipr...@gmail.com> wrote:

> Hi Kamal,
>
> I tried setting the styles that way. But it replaces all the styles
> associated with the GWT Dialog box. I want to change only the 'Caption'
> style and not the rest.
>
> thanks,
> Lakshmi
>
>
> On Tue, Aug 11, 2009 at 9:30 PM, Kamal Chandana Mettananda <
> lka...@gmail.com> wrote:
>
>> Hi,
>>
>> You can set the your own style name as you needed.
>>
>> You just have to call setStyleName(String) method.
>>
>> http://lkamal.blogspot.com/2007/08/add-css-style-for-gwt-widgets.html
>>
>> HTH,
>>
>> Kamal Mettananda
>>
>>
>>
>>
>>
>> On Wed, Aug 12, 2009 at 9:53 AM, lakshmi thyagarajan <
>> tlakshmipr...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I want to replace either "gwt-DialogBox .Caption" with my own style or
>>> modify the contents of gwt-DialogBox .Caption. I dont want to replace all
>>> the other default styles associated with the GWT Dialog box. Is there a way
>>> to do this?
>>>
>>> thanks,
>>> Lakshmi
>>>
>>>
>>>
>>>
>>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to replace the GWT css?

2009-08-11 Thread lakshmi thyagarajan
Hi Kamal,

I tried setting the styles that way. But it replaces all the styles
associated with the GWT Dialog box. I want to change only the 'Caption'
style and not the rest.

thanks,
Lakshmi

On Tue, Aug 11, 2009 at 9:30 PM, Kamal Chandana Mettananda  wrote:

> Hi,
>
> You can set the your own style name as you needed.
>
> You just have to call setStyleName(String) method.
>
> http://lkamal.blogspot.com/2007/08/add-css-style-for-gwt-widgets.html
>
> HTH,
>
> Kamal Mettananda
>
>
>
>
>
> On Wed, Aug 12, 2009 at 9:53 AM, lakshmi thyagarajan <
> tlakshmipr...@gmail.com> wrote:
>
>> Hi,
>>
>> I want to replace either "gwt-DialogBox .Caption" with my own style or
>> modify the contents of gwt-DialogBox .Caption. I dont want to replace all
>> the other default styles associated with the GWT Dialog box. Is there a way
>> to do this?
>>
>> thanks,
>> Lakshmi
>>
>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



How to replace the GWT css?

2009-08-11 Thread lakshmi thyagarajan
Hi,

I want to replace either "gwt-DialogBox .Caption" with my own style or
modify the contents of gwt-DialogBox .Caption. I dont want to replace all
the other default styles associated with the GWT Dialog box. Is there a way
to do this?

thanks,
Lakshmi

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Asynch call does not return

2009-08-11 Thread lakshmi thyagarajan
Thanks David and Daniel!
I changed my code to periodically poll the result store to detect
completion.

thanks,
Lakshmi

On Tue, Aug 11, 2009 at 1:00 PM, Daniel Jue  wrote:

> I meant to mention that you'd probably want to save the finished results in
> a database, and maybe keep the last few jobs per user.  My wife runs jobs
> that take weeks to process.  Saving all on the server would let you come
> back the next day or 10 minutes later, from a different browser instance.
> This would also make sense for any type of job that takes a long time, like
> shipping a package, etc, not just computationally intense ones.
>
> Not sure if it will help, but here is a job scheduler for grid computing
> using gwt...didn't see if the back end is available
>
> http://code.google.com/p/inters/
>
>
>
>
> On Tue, Aug 11, 2009 at 3:51 PM, Daniel Jue  wrote:
>
>> Assuming you can't make the code run faster, one technique I've seen done
>> is to have the the RPC return when the job has been submitted.  The user can
>> then check on a "jobs" page to see a list of jobs from a database.
>> Unfinished jobs can say "processing" until the server side has updated the
>> list that it has completed/failed/etc.  Save the results on the server side
>> (possibly write the bare minimum needed to construct the final object,
>> whether it's a report or a rendered image, etc) and for finished jobs on the
>> jobs page, selecting a finished job will stream back the finished
>> binary/display a widget/etc.
>>
>> On Tue, Aug 11, 2009 at 3:43 PM, lakshmi thyagarajan <
>> tlakshmipr...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> One of my server side methods requires about 20 minutes to complete
>>> (involves executing a series of scripts and a whole lot of iterations to
>>> execute a complex algorithm).
>>> An asynchronous call to this method from my client does not return back
>>> to the client even after the method finishes execution. My GWT application
>>> is deployed in a Tomcat server. The session expiry time in the tomcat server
>>> is set to 30 minutes. This problem however does not exist in the hosted
>>> mode. Could any of you help?
>>>
>>> thanks,
>>> Lakshmi
>>>
>>>
>>>
>>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Asynch call does not return

2009-08-11 Thread lakshmi thyagarajan
Hi,

One of my server side methods requires about 20 minutes to complete
(involves executing a series of scripts and a whole lot of iterations to
execute a complex algorithm).
An asynchronous call to this method from my client does not return back to
the client even after the method finishes execution. My GWT application is
deployed in a Tomcat server. The session expiry time in the tomcat server is
set to 30 minutes. This problem however does not exist in the hosted mode.
Could any of you help?

thanks,
Lakshmi

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: onModuleLoad called when hitting Browser 'Back' button

2009-04-24 Thread lakshmi thyagarajan
Thanks! Yeah that makes sense.

cheers,
Lakshmi

On Fri, Apr 24, 2009 at 7:17 PM, Vitali Lovich  wrote:

> No.  When you hit back, you're browser is navigating to a new page so of
> course you lose all your current Javascript state (otherwise, you could
> potentially leak your state to other sites which at best might corrupt them
> & at worst allow attackers to steal your visitor's data).
>
>
> On Fri, Apr 24, 2009 at 6:07 PM, Lakshmi  wrote:
>
>>
>> Hi,
>>
>> I have been dabbling with GWT 1.6 for a few days now and I have a
>> problem with the History mechanism.
>>
>> I wrote a small application which consists of 4 hyperlinks and a
>> panel. The content of the panel changes depending on which  hyperlink
>> is clicked. Three of these are GWT defined hyperlinks which were
>> created this way: new Hyperlink(" Home","Home"); The fourth is a html
>> link containing href navigates the user to some external application.
>> The history mechanism works properly when I navigate between the GWT
>> hyperlinks. onHistoryChanged is called whenever they are clicked or
>> when I use the 'Back' button between their navigations.
>>
>> However when I click on the html hyperlink and then the 'Back' button,
>> I see that my application's url is loaded (http://localhost:8080/
>> KDDBrowser.html#Home ),
>> but onHistoryChanged is not called. Instead
>> onModuleLoad is called. This, I think, means that a new instance of
>> the module is now serving my request because of which the state that I
>> had stored in my earlier instance of the module is now lost :(
>> Since it is the same browser instance I had expected GWT to route all
>> requests coming from the same browser instance to the same module
>> instance (and hence call 'onHistoryChanged' instead of 'onModuleLoad')
>> Is there no way of maintaining state when navigating away from a GWT
>> application and back?
>>
>> thanks,
>> Lakshmi
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---