Click handler for widgets in content panel for a DisclosurePanel does not work

2014-01-11 Thread byhisdeeds
Can anyone say if it is posible for me to receive click events for widgets in the content panel of a disclosure panel. When I try it I receive no notifications within the click handlers attached to the widgets. -- You received this message because you are subscribed to the Google Groups "Goog

Handling link clicks in an HTML component

2011-04-18 Thread byhisdeeds
I have an HTML component in a GWT2.1 application and I want to be able to have the links such that when they are clicked the new urls's contents replace the HTML components ext. The HTML text content has a link, and the HTML component has its id set to "abc" ( htmlComponent.getElement().setID("abc"

Request Builder and cross domain requests

2011-01-03 Thread byhisdeeds
I am trying to use RequestBuilder to access an xml document that is available on the same server as my GWT 2.1 application but in a different servlet container. Thus my GWT application is accessed via http://localhost:8084/sdv and the xml document is accessed via localhost:8086:/geoserver/rest/...

Dynamically setting property value for multiple class element

2009-09-30 Thread byhisdeeds
Can anyone say how I could set a property value (width) for a element that has multiple classes. I have a TabPanel and I want to dynamically set the width of the first tab bar. Using css I can achieve this using: .UserTabs .gwt-TabBar .gwt-TabBarFirst { ... width: 200px; } However when I try

How to pass javascript maps between Java and javascript

2009-07-17 Thread byhisdeeds
I have a GWT application with a JSONObject which must be passed to a javascript function which will make some calculations, which will then be returned to the calling GWT app. ie: JSONObject json = new JSONObject(); json.put("x", 2); json.put("y", 5); JSONObject result = process(json) Window.ale

Re: Best practise when dealing with a large style sheet

2009-01-19 Thread byhisdeeds
> Does the application not freeze up if you don't include the style > sheet? It could just be a lot of DOM operations and not related to > CSS. When I use a style sheet with a few entries I get very fast rendering. > In terms of best practice, I guess the fewer CSS files you have, the > better. T

Best practise when dealing with a large style sheet

2009-01-17 Thread byhisdeeds
I have a GWT application where my one and only style sheet is 3000 lines long. needless to say the application freezes up from time to time when rendering panels. Can some tell me whether I GWT has a best practise to deal with many styling statements, each of which belong to just a set of panels.

How do I unload MapWidget resources?

2008-12-29 Thread byhisdeeds
I am using the latest gwt maps MapWidget within a Dialog and want to know how to unload the resources when I hide the dialog, as I don't see any GUnload() function in the documentation. John --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Profiling browser memory usage in a GWT application

2008-12-27 Thread byhisdeeds
Ok, I found firefub, but can anyone who has used this tool tell me how I can see my memory footprint with it. John On Dec 27, 11:31 am, byhisdeeds wrote: > Hi. I have a GWT application that I want to try and reduce the size of > the memory footprint in the browser. What can I use to l

Re: Profiling browser memory usage in a GWT application

2008-12-27 Thread byhisdeeds
Ok, I found firefub, but can anyone who has used this tool tell me how I can see my memory footprint with it. John On Dec 27, 11:31 am, byhisdeeds wrote: > Hi. I have a GWT application that I want to try and reduce the size of > the memory footprint in the browser. What can I use to l

Profiling browser memory usage in a GWT application

2008-12-27 Thread byhisdeeds
Hi. I have a GWT application that I want to try and reduce the size of the memory footprint in the browser. What can I use to look at the memory foot print dynamically in firefox (or IE) so I can see when my code is stressing the browser. John --~--~-~--~~~---~--~~

Re: Are RPC servlets Thread safe

2008-12-26 Thread byhisdeeds
Sorry for bothering everybody in this season of good cheer. I found the problem which was my own (of course). I had my json object instantiated per the RPC servlet class and not the servlet method. Think I'll go and have a drink now. John On Dec 26, 4:05 pm, byhisdeeds wrote: > Please

Are RPC servlets Thread safe

2008-12-26 Thread byhisdeeds
Please forgive me if the question seems a bit daft. Its christmas and maybe I have had too much to drink. I have a GWT 1.5 application using RPC to access some server side code running under tomcat 6.xxx. I've just recently seen something that puzzles me. When I let fly with 10 or 20 independent R

Dynamically loading javascript code

2008-11-13 Thread byhisdeeds
I have a GWT application where I want to display a list of urls, such that when the user will selects one of them I can load the contents of the url into my application. The contents will represent html code and javascript code. The html code I will use to display a form say, by setting the inner