Re: hard time to get GWTTestCase to work

2012-09-18 Thread Ed Bras
Thanks Anywhere you find yourself re-writing the same code more than three times, you would likely benefit from a generator. Can you give some examples? And what is your experience concerning debugging? -- You received this message because you are subscribed to the Google Groups Google Web

Re: Two footers in a CellTable?

2012-09-18 Thread Andrea Boscolo
Yes, check for Header/FooterBuilder API. http://showcase3.jlabanca-testing.appspot.com/#%21CwCustomDataGrid On Monday, September 17, 2012 10:42:59 PM UTC+2, Kevin Buikema wrote: Is there a way within the standard CellTable to add two footers to the table? I need to have two separate

Will PopupPanel.hide() clear the memory it used?

2012-09-18 Thread tong123123
I display the search result using PopupPanel, the PopupPanel has a button filter which allow user to refine the criteria and show the result (PopupPanel) again.I found that after several this operation (hide(), then new the PopupPanel again, center() it), the weblogic will throws

Re: GWT MVP Architecture

2012-09-18 Thread Adolfo Panizo Touzon
I don't know if i am missing something, but, why yo don't create a clientFactory in order to get the View? In that way you only create the view once and you avoid the problem of having multiple handlers attached. 2012/9/14 Aryan saurabh.bl...@gmail.com On 14 Sep, 14:21, stuckagain

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-18 Thread Alain Ekambi
The GPE provides some help with JSNI. But at some point you will have to write some JS by hand with no autocompletion :) 2012/9/15 Sebastián Gurin sebastigu...@gmail.com nino: thank you very much! I have my two question responded in your code snippet. My last question: I notice you perform

Re: GWT Maps V3 Api, clearing directions

2012-09-18 Thread Deepak Singh
On Tue, Sep 18, 2012 at 12:32 AM, Deepak Singh deepaksingh...@gmail.comwrote: As far as, I know there has to be a unique for using google maps. Where would i place my unique key? I have a limited requirement to find near about places using LatLong, will it be enough to use just Basic map

Very Big JS

2012-09-18 Thread Néstor Boscán
Hi I have a big application that is generating a 3 MB JS. Is there a way to divide this JS in multiple modules so they can be loaded if needed? Regards, Néstor Boscán -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: Very Big JS

2012-09-18 Thread Paul Robinson
See https://developers.google.com/web-toolkit/doc/latest/DevGuideCodeSplitting Paul On 18/09/12 13:37, Néstor Boscán wrote: Hi I have a big application that is generating a 3 MB JS. Is there a way to divide this JS in multiple modules so they can be loaded if needed? Regards, Néstor

Re: Will PopupPanel.hide() clear the memory it used?

2012-09-18 Thread Joseph Lust
java.lang.OutofMemoryError: Java heap space Are you referring to an error while running in DevMode? You should not get a heap space error when running JS code in the client browser. You said this is a weblogic error, so you likely have a leak not in your DevMode/GWT code, but in your

Re: GWT Maps V3 Api, clearing directions

2012-09-18 Thread Joseph Lust
This is the V3 Maps API. The V3 does not use API keys like V2 does. Because you download the JS from Google, and it has to start on your site (where it can detect the URL), they track the API usage that way. So, you should be able to just use the example in the

Pager on or off

2012-09-18 Thread James
Is it possible to make one pager on or off depending on search results in DataGrid? I have one requirement. Pager must be used if the number of search records is over 200 and it cannot be used if the number is below 200. Thanks, James -- You received this message because you are subscribed

SimpleHtmlSanitizer is too much simple, where can I find a complete one?

2012-09-18 Thread gong min
Dear all I want to save RichTextArea content into database, and it will show in HTML widgets later. Before save, RichTextArea.getHtml() will return HTML String, I have to Sanitize this String by SimpleHtmlSanitizer. But it is too much simple, even u br are not supported, where can I find a

Re: Will PopupPanel.hide() clear the memory it used?

2012-09-18 Thread tong123123
Not devMode, but in production mode. Each time the user press filter button, a GWT-RPC is called, at first I think this is related to the popuppanel does not release memory. On Tuesday, September 18, 2012 9:13:18 PM UTC+8, Joseph Lust wrote: java.lang.OutofMemoryError: Java heap space Are

JSNI file is calling DOM.dispatchEvent(..)

2012-09-18 Thread Luke
May i know which jsni files that calling DOM.dispatchEvent(..) whenever event is trigger from browser? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Will PopupPanel.hide() clear the memory it used?

2012-09-18 Thread Jens
All code in your GWT app's client package will be run by the users web server and not your WebLogic app server. If your WebLogic app server throws an OutOfMemory exception then you have an issue in your GWT-RPC method implementation and not in the PopupPanel. -- J -- You received this

Re: JSNI file is calling DOM.dispatchEvent(..)

2012-09-18 Thread Colin Alworth
The DOM class is used to bridge the various gaps between browsers - the dispatchEvent method, as you've noted, is invoked by the specific implementation in use at a given time. These browser-specific implementations live in the com.google.gwt.user.client.impl package: *DOMImpl

Re: SimpleHtmlSanitizer is too much simple, where can I find a complete one?

2012-09-18 Thread Ed
supported, where can I find a complete one? Why not make one yourself? The one in GWT is just an example... (I made one myself based on the GWT one). Op dinsdag 18 september 2012 16:01:45 UTC+2 schreef 退5的工科苹岷 het volgende: Dear all I want to save RichTextArea content into database,

DockLayoutPanel/SimpleLayoutPanel - Css padding

2012-09-18 Thread Marco
Hello, i have the problem that the css padding is not working for me, the margin and background-color does. Here a simple example to show the problem. Has anybody an idea where the problem is? Thx a lot Marco .test { margin: 4px; padding: 20px; background-color: Lime; } public class

Re: DockLayoutPanel/SimpleLayoutPanel - Css padding

2012-09-18 Thread Jens
SimpleLayoutPanel stretches its child to fill the whole area. It does so by using absolute positioning with top, left, bottom, right: 0px (see SimpleLayoutPanel.setWidget() source code). Thats why your padding does not have any effect. -- J. -- You received this message because you are

Re: Validating RPC Serialization at Compile Time?

2012-09-18 Thread RyanZA
Just wanted to add: It seems this annotation already exists to an extent: http://docs.guava-libraries.googlecode.com/git-history/release/javadoc/index.html http://docs.guava-libraries.googlecode.com/git-history/release/javadoc/com/google/common/annotations/GwtCompatible.html

Re: printing problem: when I print content of my iframe (I use gwt-print-it) all what is left on the right side of printable page is cut off and stays not printed at all

2012-09-18 Thread Jeff Chimene
Are you using @media css? http://www.w3.org/TR/CSS2/page.html#page-selectors On Mon, Sep 17, 2012 at 12:29 PM, Jan Przybylo jan.przyb...@gmail.comwrote: I print big form that has fixed dimensions. If I'd use Letter parer size it should fit in 4 pages (2 pages wide and 2 pages high). I already

Re: printing problem: when I print content of my iframe (I use gwt-print-it) all what is left on the right side of printable page is cut off and stays not printed at all

2012-09-18 Thread Jan Przybylo
no, I don't want to print double-sided document. let me explain it: imagine you have empty page with just one big image inside 'body' element: body img src=... style=width: 3000px; height: 2200px; / /body lets say it looks like this: http://why.net.pl/tmp/0.png and you want to print

Re: SimpleHtmlSanitizer is too much simple, where can I find a complete one?

2012-09-18 Thread Brandon Donnelson
I copied it and added all the tags I need. :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/IyR9vXDFWCkJ. To post to this group, send email to

Re: GWT Maps V3 Api, clearing directions

2012-09-18 Thread Brandon Donnelson
This should be resolved, but if it isn't let me know. :) On Friday, August 31, 2012 4:47:02 AM UTC-7, Jonas wrote: I'm using the GWT Maps V3 Api from https://github.com/branflake2267/GWT-Maps-V3-Api After finding directions on the map, I'm trying to clear the previous ones before finding

Re: GWT Maps V3 Api, clearing directions

2012-09-18 Thread Brandon Donnelson
Are you looking for the PlaceServiceSearchRequest? If so, I added and example map in the live demo maps. https://github.com/branflake2267/GWT-Maps-V3-Api/blob/master/Apis_Maps_Test/src/com/google/gwt/maps/testing/client/maps/PlaceSearchMapWidget.java#L40 Brandon On Tuesday, September 4, 2012

Re: [gwt-contrib] Re: In the Chrome plugin, rename src to java for compatibility with (issue1834803)

2012-09-18 Thread Thomas Broyer
On Tuesday, September 18, 2012 7:43:25 AM UTC+2, Brian Slesinsky wrote: On Mon, Sep 17, 2012 at 10:37 PM, Stephen Haberman stephen@gmail.com javascript: wrote: nor do we want to divide up the open source build into that many jars. I dunno, I assumed we were headed towards 1

Re: [gwt-contrib] submit chrome dev mode plugin to chrome web store?

2012-09-18 Thread Daniel Kurka
Where do we actually store all the files for a new build on svn? -Daniel Am 17.09.2012 um 18:28 schrieb Brian Slesinsky skybr...@google.com: Yep, back on the Chrome plugin this week. On Mon, Sep 17, 2012 at 9:26 AM, Rajeev Dayal rda...@google.com wrote: +[skybrian] Ok, so it looks like

Re: [gwt-contrib] Re: In the Chrome plugin, rename src to java for compatibility with (issue1834803)

2012-09-18 Thread John A. Tamplin
On Tue, Sep 18, 2012 at 3:30 AM, Ray Cromwell cromwell...@google.comwrote: I favor splitting things up into reasonable chunks that have coherence. e.g. Logging, RPC, RequestFactory, Editors, UI Widgets, ClientBundle, Core, Events, Dom, etc. For example, I should be able to get away with

Re: [gwt-contrib] submit chrome dev mode plugin to chrome web store?

2012-09-18 Thread John A. Tamplin
On Tue, Sep 18, 2012 at 12:40 PM, Daniel Kurka kurka.dan...@gmail.comwrote: Where do we actually store all the files for a new build on svn? If you mean the libraries, they are in the /plugin-sdks directory (a sibling to /trunk). They are add-only, like /tools, and separate since few people