Re: GWT MVP4G thoughts over Activities Places.

2012-09-20 Thread Frank Hossfeld
Hi,
most of my projects are made with mvp4g. 
mvp4g offers everything you need to create large applications. You will 
find everything, that Activities  Places offers and a lot more. And mvp4g 
will help you to avoid writing unnecessary code.

Am Donnerstag, 13. September 2012 22:46:25 UTC+2 schrieb BM:

 Hello,
 Just wanted to see what are pros and cons of GWT MVP4G vs GWT Activities  
 Places?

 If moving to GWT MVP4G will make us miss any features which Activities  
 Places offer or MVP4G is self sufficient enough to replace Activities and 
 Places.

 I used extensively Activities and Places and that it is second nature to 
 me. But there is a lot of boiler plate code needs to be written. Trying to 
 evaluate GWT MVP4G.

 Any thoughts would welcome. 


-- 
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/-/Erfd47kjAjgJ.
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: GWT MVP4G thoughts over Activities Places.

2012-09-20 Thread James Gustard
I have delivered a major commercial project based on the mvp4g framework.
We found it very easy to develop on. The MVP pattern allowed us to write
JVM unit tests for our presenters as well. We started design work before
the activities  places in gwt was released though, so I am unable to
compare the two.
On Sep 20, 2012 7:20 AM, Frank Hossfeld frank.hossf...@web.de wrote:

 Hi,
 most of my projects are made with mvp4g.
 mvp4g offers everything you need to create large applications. You will
 find everything, that Activities  Places offers and a lot more. And mvp4g
 will help you to avoid writing unnecessary code.

 Am Donnerstag, 13. September 2012 22:46:25 UTC+2 schrieb BM:

 Hello,
 Just wanted to see what are pros and cons of GWT MVP4G vs GWT Activities
  Places?

 If moving to GWT MVP4G will make us miss any features which Activities 
 Places offer or MVP4G is self sufficient enough to replace Activities and
 Places.

 I used extensively Activities and Places and that it is second nature to
 me. But there is a lot of boiler plate code needs to be written. Trying to
 evaluate GWT MVP4G.

 Any thoughts would welcome.

  --
 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/-/Erfd47kjAjgJ.
 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.


-- 
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: Help finding widget that someone posted in this group

2012-09-20 Thread Andrea Boscolo
Too much generic.
One of the best I've seen so far is
https://groups.google.com/forum/?fromgroups=#!starred/google-web-toolkit/IbZf2DeINk8

On Thursday, September 20, 2012 4:57:15 AM UTC+2, Milan Cvejic wrote:

 Hello,
 I am looking for ListBox implementation that someone posted in this group 
 few months ago. I bookmarked it, but lost my bookmarks :(

 Thanks for help!

 Best,
 Milan


-- 
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/-/PTDngFQEyHIJ.
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: What happened to composite images for ClientBundles?

2012-09-20 Thread Chris Lercher
On Thursday, September 20, 2012 3:54:41 AM UTC+2, Tim wrote:

 Perhaps you want set some ImageOptions on the resource.  Check 
 preventInlining and RepeatStyle 


Thanks, according to the javadoc, ImageOptions.preventInlining actually 
seems to disable all kinds of optimizations:

Set to {@code true} to require the ImageResource to be downloaded as a  

separate resource at runtime. Specifically, this will disable the use of 

{@code data:} URLs *or other bundling optimizations* for the image. 


I assume, this also includes spriting (?). A quick look at 
com.google.gwt.resources.rg.ImageResourceGenerator seems to confirm this 
for the current implementation.

It's a bit counter-intuitive, because the option is just called 
preventInlining, so to be on the safe side, I'll probably use a 
DataResource instead (I might miss ImageResource's getWidth()/getHeight() 
methods though).

And about RepeatStyle.Both: Here, the javadoc says:

 The image is intended to be tiled both horizontally and vertically. Note

 that this will prevent compositing of the particular image *in most cases*
 .

  

  

-- 
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/-/lCqKpfXTALYJ.
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: Help finding widget that someone posted in this group

2012-09-20 Thread Milan Cvejic
Thanks Andrea,

that is what I was looking for, forgot that it is called GwtChosen.

Best,
Milan

On Thu, Sep 20, 2012 at 10:11 AM, Andrea Boscolo andrew...@gmail.com wrote:
 Too much generic.
 One of the best I've seen so far is
 https://groups.google.com/forum/?fromgroups=#!starred/google-web-toolkit/IbZf2DeINk8


 On Thursday, September 20, 2012 4:57:15 AM UTC+2, Milan Cvejic wrote:

 Hello,
 I am looking for ListBox implementation that someone posted in this group
 few months ago. I bookmarked it, but lost my bookmarks :(

 Thanks for help!

 Best,
 Milan

 --
 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/-/PTDngFQEyHIJ.

 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.



-- 
LiquidBrain!

-- 
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: TextBox.setText remove the \n

2012-09-20 Thread Paul Robinson
TextBox is for single line text. Use TextArea for multiline text.

On 20/09/12 10:16, tong123123 wrote:
 as shown in attached ContetWithReturnKey1.png, the content has \n before 
 setText (content\ncontent), but after setText and then getText() again, the 
 \n is disappear(contentcontent)!!
 How to fix this issue?

-- 
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: 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-20 Thread Jeffrey Chimene
On 09/18/2012 06:02 PM, Jan Przybylo wrote:

 no, I don't want to print double-sided document.


@media css has nothing to do with double-sided printing.

Cheers,
jec

 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 WHOLE image. So you'd expect your printer to
 print something like this:

 http://why.net.pl/tmp/1_.png

 but instead of this I'm getting something like this printed:

 http://why.net.pl/tmp/2_.png

 so it's not whole image.
 of course my problem is not about image but very big HTML form that
 has fixed width and height. This form cannot be resized. Fields on
 this form cannot be positioned differently, they are positioned with
 absolute positioning and they have to stay in their places.
 So my question is:
what do I have to do in order to print wide elements that won't fit
 in one page (when it comes to element's width)?

 as I previously mentioned I already use gwt-print-it.





 W dniu wtorek, 18 września 2012 16:36:45 UTC-4 użytkownik jchimene
 napisał:

 Are you using @media css?
 http://www.w3.org/TR/CSS2/page.html#page-selectors
 http://www.w3.org/TR/CSS2/page.html#page-selectors

 On Mon, Sep 17, 2012 at 12:29 PM, Jan Przybylo
 jan.pr...@gmail.com javascript: wrote:

 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 started using PrintIt class (gwt-print-it) and it
 solves most basic problems for me.
 But when I try to print whole big form it only prints top left
 as the 1st page and top bottom as the 2nd page leaving the
 right side not printed.

 Does anyone know proper way of printing wide big pages?
 -- 


 -- 
 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/-/O6LWSBf8EE0J.
 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.

-- 
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 dynamically resize the table width after adding/removing columns?

2012-09-20 Thread James
I have the same request. Can somebody answer this question?


James

On Wednesday, June 27, 2012 5:32:08 PM UTC-4, javadev79 wrote:

 How do I ensure the datagrid expands to the total columns width or shrinks 
 to the minimum table width on adding/removing columns?

 Using refreshColumnWidths() after add/remove columns has no effect.


-- 
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/-/EWyGq7VsyG4J.
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: Future of GWT survey

2012-09-20 Thread Oleg K.
I've post my answers to survey. Here what was not included.

1) I use maven (with gwt-maven-plugin which is very-very good). With that 
plugin I think meny maven users are happy. The only real problem is that it 
cant' autoreload dependencies so GWT Dev Mode console should always be 
restarted when I change the code in the library.

2) I don't think that Swiss Army knife is what is really needed. Just 
make some central repository where gwt extensions and libraries can leave 
with real usage reports, user comments etc. Now I do not have any way to 
compare or even know about good gwt library. A site like 
http://jsfmatrix.net/ could help.

3) I think that GWT is not as modular as it could be. For example, it has 
widgets that works only in quirks mode or only in standards mode. But thay 
all are included in one jar file and all can be used in project.

4) There are many good JS libraries. The only way now to include them is 
wrapping existing JavaScript calls to that library and that's it. Neither 
optimizations and code reducing can be used nor packaging of that js code 
into one_big_html_which_include_all.

5) Current JSON library included into GWT can not be used without tonns of 
useless code. Custom classes that extends JavaScriptObject helps a bit but 
that is not enougth.

This points are not supposed to say GWT is bad. I think that GWT v2.5 is 
really great. I use it for my current projects and I think that its 
principles are the best choise for web.

Oleg K.

-- 
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/-/e9cLxxkWl80J.
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: 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-20 Thread Ed
Have You tried

a href=# 
view-source:https://hrapp1.secep.net/HR/cyberobjects/CyberObjects.html?LOADTABLENAME=PEOPLELOADTABLEGROUP=PEOPLELOADTABLEACTION=GETID=20798#
onclick=print(); return false;Print/a

Using javascript print function

E



On Thu, Sep 20, 2012 at 7:46 AM, Jeffrey Chimene jchim...@gmail.com wrote:

  On 09/18/2012 06:02 PM, Jan Przybylo wrote:

 no, I don't want to print double-sided document.


 @media css has nothing to do with double-sided printing.

 Cheers,
 jec

  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 WHOLE image. So you'd expect your printer to print
 something like this:

  http://why.net.pl/tmp/1_.png

 but instead of this I'm getting something like this printed:

 http://why.net.pl/tmp/2_.png
 so it's not whole image.
 of course my problem is not about image but very big HTML form that has
 fixed width and height. This form cannot be resized. Fields on this form
 cannot be positioned differently, they are positioned with absolute
 positioning and they have to stay in their places.
 So my question is:
what do I have to do in order to print wide elements that won't fit in
 one page (when it comes to element's width)?

 as I previously mentioned I already use gwt-print-it.





 W dniu wtorek, 18 września 2012 16:36:45 UTC-4 użytkownik jchimene
 napisał:

 Are you using @media css?
 http://www.w3.org/TR/CSS2/**page.html#page-selectorshttp://www.w3.org/TR/CSS2/page.html#page-selectors

 On Mon, Sep 17, 2012 at 12:29 PM, Jan Przybylo jan.pr...@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 started using PrintIt class (gwt-print-it) and it solves most
 basic problems for me.
 But when I try to print whole big form it only prints top left as the
 1st page and top bottom as the 2nd page leaving the right side not printed.

 Does anyone know proper way of printing wide big pages?
 --


  --
 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/-/O6LWSBf8EE0J.
 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.


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


-- 
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: Future of GWT survey

2012-09-20 Thread Ryan Shillington
Crap.  I also forgot about that.  I want to go back.  

On Wednesday, September 19, 2012 10:50:05 AM UTC-5, Dave Laycock wrote:

 I wish I could change my responses. I forgot about the single biggest 
 improvement I would like to see on the long term roadmap: support for Java 
 8 language features

 On Wednesday, 19 September 2012 07:23:24 UTC-6, Joonas Lehtinen wrote:

 What is your opinion on the future of GWT?
 How should GWT develop?
 What technologies should it better support?
 ...

 We all would like to get answers to these questions, right? To do so, we 
 created survey with help of Ray Cromwell, Artur Signell, Mike Brock, David 
 Chandler, Daniel Kurka and Bhaskar Janakiraman.

 If you want to help finding the best direction for GWT, please fill the 
 survey at: http://bit.ly/GWT2012
 (it will take just 10 minutes)

 When the results are collected, the will share the information with you.

 - Joonas @ Vaadin



-- 
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/-/z7Tfib2LX44J.
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 dynamically resize the table width after adding/removing columns?

2012-09-20 Thread Andrei
If you want the width of the DataGrid to change, set width of all columns in 
pixels, and use setWidth() on your DataGrid after each change.

If you want the width to be constant (a better option from the UI perspective, 
in my opinion), set the width of your DataGrid once and set width of at least 
one column in percentages. After you add or remove columns DataGrid will 
automatically resize columns to fit its width.

Minimum width setting is useful when you set width of your DataGrid as a 
percentage of its parent widget or add it to a layer of a resizable panel. When 
a browser window (or other content) forces DataGrid to change its size, it will 
automatically resize its columns until it hits the minimum width, at which 
point a horizontal scrollbar will appear and columns will not be resized 
anymore.

-- 
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/-/Gd0NmY4Cm94J.
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: GUI Design - Layout Panels

2012-09-20 Thread Marco
Thx for the answer but my problems described in my post are not solved with 
your solution.

One more thing to be clear, with Layout Panels I don't mean just the 
LayoutPanel.class but
all the classes described here:
https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#LayoutPanels
 


-- 
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/-/uj6ntd_noDgJ.
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: GUI Design - Layout Panels

2012-09-20 Thread Thomas Broyer


On Wednesday, September 19, 2012 11:14:18 PM UTC+2, Marco wrote:

 Hello,
 i have planned to design my application with following areas:
 ---
 Toolbar Area
 --
 Workspace Header (for some information or filter criteria's)
 ---
 Workspace Area
 ---
 Statusbar Area
 ---

 To use a datagrid which automatically resizes with the screensize, I have 
 read that the best way
 is to use the DockLayoutPanel.
 I have also read following article:
 https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels 

 In this articel it's also recommended to use Layout Panels for better 
 standard mode support. 
 Therefore I have build a very easy example to test the Layout Panels.

 In my GwtTestDock.java example I have created a empty application skeleton 
 with Layout Panels.
 In GwtTestDockFilled.java I have filled this skeleton with some widgets.

 In this example I have some problems:
 * The css padding is not working for SimpleLayoutPanel. Which class should 
 I use instead?
 I want to use the css padding in the empty skeleton class because if I 
 replace the widgets for
 this place holder, it should automatically use the css of the parent 
 (slpWorkspaceHeaderPlaceholder).
 I don't want to set the padding for every child 
 of slpWorkspaceHeaderPlaceholder.


I'm not sure I understand that one, but maybe try 
getWidgetContainerElement(...).addClassName(...)
And play around with Firebug or WebInspector or whichever dev tool for your 
browser of choice, then try to recreate what worked within GWT.
 

 * The Disclosure Panel for Additional Details is not working. The reason 
 is because the DockLayoutPanel
 has a fix size for North. I tested a solution that I just change the North 
 size if I open the Disclosure Pane but
 the animation is not working.


Try HeaderPanel.
 

 * Is this the right track to design my application or should I use 
 different Panels?


It depends. Maybe a FlowPanel would be enough for the 
DisclosurePanel+center widgets, it depends what layout you want to achieve 
for those.
If you feel more comfortable with CSS, then use 
RootPanel/FlowPanel/HTMLPanel instead.

-- 
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/-/8YcSHY23cdgJ.
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: GWT Maps V3 Api, clearing directions

2012-09-20 Thread Deepak Singh
Any guidance pls..

On Thu, Sep 20, 2012 at 1:39 AM, Deepak Singh deepaksingh...@gmail.comwrote:

 Could not resolve the exception mentioned.

 Then i copied PlaceSearchMapWidget.java and tried to use.

 But could not create the widget as
 PlacesService placeService = PlacesService.newInstance(attrContainer,
 mapWidget);
 And i could not understand 'attrContainer' parameter.


 My requirement is simple,

 I have latitude and longitude. I need to search places within 2 kms area
 of this latlong.

 Pls let me know which kind of class will be useful for me ?

 Regards
 Deepak


 On Thu, Sep 20, 2012 at 1:36 AM, Deepak Singh deepaksingh...@gmail.comwrote:

 Now, I added gwt-ajaxloader.jar
 It was able to run in dev mode.

 Now i run the following code

 MapOptions mo = MapOptions.newInstance();
 LatLng ll = LatLng.newInstance(Double.parseDouble(latitude),
 Double.parseDouble(longitude));
  mo.setCenter(ll);
 mo.setZoom(4);
 mo.setMapTypeId(MapTypeId.HYBRID);
  MapWidget mw = new MapWidget(mo);
 // enquiryDiv.appendChild(mw.getElement());


 com.google.gwt.core.client.JavaScriptException: (TypeError)
 @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)([JavaScript
 object(6222), JavaScript object(6221), JavaScript object(6296)]):
 $wnd.google is undefined




 On Thu, Sep 20, 2012 at 1:02 AM, Deepak Singh 
 deepaksingh...@gmail.comwrote:

 I added jar file APIs_Google_map3.8.0beta.jar to my classpath.
 Added this to lib also.

 Included
 inherits name='com.google.gwt.maps.Apis_Google_Maps' / to my *.gwt.xml

 When i run the app in local, i get the following exception

 Unable to find 'com/google/gwt/ajaxloader/AjaxLoader.gwt.xml' on your
 classpath;

 Thanks
 Deepak


 On Wed, Sep 19, 2012 at 11:00 AM, Brandon Donnelson 
 branflake2...@gmail.com wrote:

 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 7:16:38 AM UTC-7, Deepak Singh wrote:

 I want to use this library.

 I have lattitude and longitude with me and i need to show the location
 on the map.
 Also, need to find the nearest locations based on lattitue/longitude.

 I went through the docs but could not understand the right class to be
 used.

 Can you give me some sample code ?

 Thanks
 Deepak

  On Fri, Aug 31, 2012 at 6:52 PM, Thai Ha Duong duong...@gmail.comwrote:

  I have the same question please any one can help?


 On Friday, 31 August 2012 12:47:02 UTC+1, Jonas wrote:

 I'm using the GWT Maps V3 Api from https://github.com/**branflake22*
 *67/GWT-Maps-V3-Apihttps://github.com/branflake2267/GWT-Maps-V3-Api

 After finding directions on the map, I'm trying to clear the
 previous ones before finding new.

 In DirectionsRenderer:

   /**
* This method specifies the map on which directions will be
 rendered. Pass null to remove the directions from the map.
* @param mapWidget
*/
   public final void setMap(MapWidget mapWidget) {
 setMapImpl(mapWidget.getJso());
   }

   private final native void setMapImpl(MapImpl map) /*-{
 this.setMap(map);
   }-*/;

 I'm trying to pass:

 directionsDisplay.setMap(null);

 which results in NPE:

 Caused by: java.lang.**NullPointerException**: null
 at com.google.gwt.maps.client.**ser**vices.DirectionsRenderer$.*
 *setM**ap$(DirectionsRenderer.**java:**50)

 Anyone used this API and knows how to clear directions from the map
 widget?

  --
 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/-/**emLbrk1GnloJhttps://groups.google.com/d/msg/google-web-toolkit/-/emLbrk1GnloJ
 .

 To post to this group, send email to google-we...@**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=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.




 --
 Deepak Singh

  --
 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/-/r8sXg55osSoJ.

 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.




 --
 Deepak Singh




 --
 Deepak Singh




 --
 Deepak Singh




-- 
Deepak Singh

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to 

Re: GUI Design - Layout Panels

2012-09-20 Thread Marco
Thanks Thomas for this hint, also HeaderPanel was new for me.

Maybe for better understanding I have added a screenshot with some remarks 
of GwtTestDockFilled.class

My background is plain Java, therefore it's easier for me to have 
less CSS,HTMLPanel I think.  ;-)

I still have no idea whats the best way to structure my application. It's 
also a hard for me to understand
all the panels and which panels can/should be used together in which order 
(also with respect of standard-mode).

Normally I think it sould be very easy. I have 4 areas (or maybe it's 
better to have only 3). 
Toolbar (fix size), WorkspaceHeader(with no fix size because of 
DisclosurePanel), Workspace (should use all available space), and a 
statusbar(fix size) area.

Can you please give me one more hint.

-- 
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/-/hc3hQJ_r8KEJ.
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.

attachment: appLayout.png

Re: Future of GWT survey

2012-09-20 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

We are at my organization.  We don't love Maven, but it fits with our
infrastructure here, and we prefer the declarative style to a
scripting-oriented one.

On 09/19/2012 10:10 AM, Paul Robinson wrote:
 One question missing from the survey that would have been
 interesting is the number of people using Maven with GWT.
 
 On 19/09/12 14:23, Joonas Lehtinen wrote:
 What is your opinion on the future of GWT? How should GWT
 develop? What technologies should it better support? ...
 
 We all would like to get answers to these questions, right? To do
 so, we created survey with help of Ray Cromwell, Artur Signell,
 Mike Brock, David Chandler, Daniel Kurka and Bhaskar
 Janakiraman.
 
 If you want to help finding the best direction for GWT, please
 fill the survey at: http://bit.ly/GWT2012 (it will take just 10
 minutes)
 
 When the results are collected, the will share the information
 with you.
 
 - Joonas @ Vaadin -- 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/-/i8aXw78yueQJ.

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBbXZwACgkQ5IyIbnMUeTuhDgCghsNlB7O0ly3B5NopVVVssJqH
Nx4An0WBCkxyMXdRn9vSmxmS4I3FuyRG
=JLX/
-END PGP SIGNATURE-

-- 
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: Future of GWT survey

2012-09-20 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would /love/ to be able to use a language other than Java - in
particular, Scala - for GWT development.  On my project, we use Scala
for all our other JVM work, and it's been a massive boilerplate
killer, plus easily graspable by curious-but-merely-mortal developers
like me.

The folks here: http://scalagwt.github.com/ have a working prototype,
but the last I heard, they needed to submit a patch upstream to GWT.
(Or maybe their patch needed to be accepted, I don't know.)

I like GWT quite a lot, and would not make a dynamic web UI without
it, but the biggest drag is having to go back to Java.

On 09/19/2012 09:23 AM, Joonas Lehtinen wrote:
 What is your opinion on the future of GWT? How should GWT develop? 
 What technologies should it better support? ...
 
 We all would like to get answers to these questions, right? To do
 so, we created survey with help of Ray Cromwell, Artur Signell,
 Mike Brock, David Chandler, Daniel Kurka and Bhaskar Janakiraman.
 
 If you want to help finding the best direction for GWT, please fill
 the survey at: http://bit.ly/GWT2012 (it will take just 10
 minutes)
 
 When the results are collected, the will share the information with
 you.
 
 - Joonas @ Vaadin
 
 -- 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/-/i8aXw78yueQJ. 
 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.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBbXuIACgkQ5IyIbnMUeTt9xACeKdEjE0Da6ao0ohTfrxIlLuNZ
kUMAn1va40R5Wrb3Gnk9lhw5i1tXEk/W
=GdQB
-END PGP SIGNATURE-

-- 
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: 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-20 Thread Freller

Hi Jan,

This is browser/OS dependable.

Regards,
Freller


Em segunda-feira, 17 de setembro de 2012 14h29min04s UTC-3, Jan Przybylo 
escreveu:

 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 started using PrintIt class (gwt-print-it) and it solves most 
 basic problems for me. 
 But when I try to print whole big form it only prints top left as the 1st 
 page and top bottom as the 2nd page leaving the right side not printed. 

 Does anyone know proper way of printing wide big pages?


-- 
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/-/NO6SWr5S8iMJ.
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: TextBox.setText remove the \n

2012-09-20 Thread Joseph Lust
Add br if you want line returns in regular HTML components.

-- 
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/-/0xnNrgKVUfcJ.
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: GWT - logging

2012-09-20 Thread BM
Hi,
Did you able to make the logging thing work? I am in same situation, 
perhaps you can help me? Thanks.

On Wednesday, November 10, 2010 3:26:46 AM UTC-6, sree wrote:

 Hi,

  The document is complicated and no easy understandable examples. 
 I was planning to use slf4j along with log4j. The SimpleRemoteHandler does 
 nothing but doing an asynchronous call( If i undestand right). Why not 
 right my own logging service and use that for putting client logs to a file 
 on the server? 
  

 Thanks
 Sreekanth

 On Wed, Nov 10, 2010 at 1:59 PM, Vagner Araujo 
 arau...@jdukes.comjavascript:
  wrote:

 Hi,

 see:


 http://code.google.com/intl/pt-BR/webtoolkit/doc/latest/DevGuideLogging.html

 -- 
 *
 Vagner Araujo

 O PLANETA É O MEU PAÍS, E A CIÊNCIA É A MINHA RELIGIÃO ! INDO AO INFINITO 
 E ALÉM... !!

 [image: puregwt-logo2.png] http://showcase.jdukes.com/
 *

  -- 
 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-we...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com javascript:.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
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/-/cO-TzcoFTx4J.
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.



GWT Vaadin meetup during JavaOne

2012-09-20 Thread Joonas Lehtinen
Coming to JavaOne or are in San Francisco on Tue Oct 2? 

Vaadin team is arranging a GWT meetup. Excellent opportunity to meet people 
using GWT and/or Vaadin. There are some interesting demos and speakers in 
the agenda as well. 

Event is free, but space is limited. Sign up at:
http://www.meetup.com/Vaadin-GWT-Meetup-San-Francisco/events/82917142/


-- 
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/-/NvbTzRL7lLQJ.
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: Indexed DB support

2012-09-20 Thread Cristian Rinaldi
1) I am using IndexedDB with Elemental API, but is implemented the 
old specification of IndexedDB and I can't find the way to assign the 
version, therefore, the VersionChange is never launched.

2) Try updating WebCore with all IDL, but when running the build script, 
the parser,  throws the following error.


Traceback (most recent call last):
  File . / Scripts / elemental_fremontcutbuilder.py, line 217, in module
sys.exit (main ())
  File . / Scripts / elemental_fremontcutbuilder.py, line 214, in main
build_database return (idl_files, database_dir)
  File . / Scripts / elemental_fremontcutbuilder.py, line 139, in 
build_database
builder.import_idl_file (file_name, webkit_options)
  File / home / cristian / Logikas / Frameworks / gwt-source / trunk / 
elementary / idl / scripts / databasebuilder.py, line 472, in 
import_idl_file
idl_file = self._load_idl_file (file_path, import_options)
  File / home / cristian / Logikas / Frameworks / gwt-source / trunk / 
elementary / idl / scripts / databasebuilder.py, line 86, in _load_idl_file
raise RuntimeError ('Failed to load file% s:% s'% (file_name, e))
RuntimeError: Failed to load file 
./scripts/../third_party/WebCore/html/canvas/Uint8ClampedArray.idl: At line 
37 offset 28: Expected ( or ] or , but c found  TypedArray = 
unsigned char 
Traceback (most recent call last):
  File . / Scripts / elementaldomgenerator.py, line 164, in module
sys.exit (main ())
  File . / Scripts / elementaldomgenerator.py, line 155, in main
database_dir, use_database_cache)
  File . / Scripts / elementaldomgenerator.py, line 120, in GenerateDOM
systems = systems)
  File / home / cristian / Logikas / Frameworks / gwt-source / trunk / 
elementary / idl / scripts / elementalgenerator.py, line 279, in Generate
self.PopulateMixinBase (self._database.GetInterface 
('ElementalMixinBase'), mixins)
  File / home / cristian / Logikas / Frameworks / gwt-source / trunk / 
elementary / idl / scripts / database.py, line 188, in GetInterface
raise RuntimeError ('Interface% s is not loaded'% interface_name)
RuntimeError: Interface is not loaded ElementalMixinBase

Any ideas about the two problems?


El domingo, 8 de julio de 2012 09:11:48 UTC-3, Jens escribió:

 You could use Elemental (GWT 2.5) I guess. Only downside could be that it 
 only works in Webkit browsers because of vendor prefixes. But maybe thats 
 your target browser anyway.

 -- J.


-- 
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/-/TdPUdo46fsEJ.
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: Future of GWT survey

2012-09-20 Thread RonS
Sounds like you're set with Scala, but another high advanced JVM language 
option is XTend (http://www.eclipse.org/xtend/).

They recently added GWT support:
http://blog.efftinge.de/2012/08/gwt-programming-with-xtend.html


On Thursday, September 20, 2012 1:23:06 PM UTC-5, Clint Gilbert wrote:

 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 

 I would /love/ to be able to use a language other than Java - in 
 particular, Scala - for GWT development.  On my project, we use Scala 
 for all our other JVM work, and it's been a massive boilerplate 
 killer, plus easily graspable by curious-but-merely-mortal developers 
 like me. 

 The folks here: http://scalagwt.github.com/ have a working prototype, 
 but the last I heard, they needed to submit a patch upstream to GWT. 
 (Or maybe their patch needed to be accepted, I don't know.) 

 I like GWT quite a lot, and would not make a dynamic web UI without 
 it, but the biggest drag is having to go back to Java. 

 On 09/19/2012 09:23 AM, Joonas Lehtinen wrote: 
  What is your opinion on the future of GWT? How should GWT develop? 
  What technologies should it better support? ... 
  
  We all would like to get answers to these questions, right? To do 
  so, we created survey with help of Ray Cromwell, Artur Signell, 
  Mike Brock, David Chandler, Daniel Kurka and Bhaskar Janakiraman. 
  
  If you want to help finding the best direction for GWT, please fill 
  the survey at: http://bit.ly/GWT2012 (it will take just 10 
  minutes) 
  
  When the results are collected, the will share the information with 
  you. 
  
  - Joonas @ Vaadin 
  
  -- 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/-/i8aXw78yueQJ. 
  To post to this group, send email to 
  google-we...@googlegroups.com javascript:. To unsubscribe from this 
  group, send email to 
  google-web-toolkit+unsubscr...@googlegroups.com javascript:. For more 
 options, 
  visit this group at 
  http://groups.google.com/group/google-web-toolkit?hl=en. 

 -BEGIN PGP SIGNATURE- 
 Version: GnuPG v1.4.11 (GNU/Linux) 
 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ 

 iEYEARECAAYFAlBbXuIACgkQ5IyIbnMUeTt9xACeKdEjE0Da6ao0ohTfrxIlLuNZ 
 kUMAn1va40R5Wrb3Gnk9lhw5i1tXEk/W 
 =GdQB 
 -END PGP SIGNATURE- 


-- 
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/-/MRZcFMHZ_k0J.
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: Future of GWT survey

2012-09-20 Thread RonS
Sounds like you're set with Scala, but another advanced JVM language option 
is XTend (http://www.eclipse.org/xtend/).

They recently added GWT support:
http://blog.efftinge.de/2012/08/gwt-programming-with-xtend.html


On Thursday, September 20, 2012 1:23:06 PM UTC-5, Clint Gilbert wrote:

 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 

 I would /love/ to be able to use a language other than Java - in 
 particular, Scala - for GWT development.  On my project, we use Scala 
 for all our other JVM work, and it's been a massive boilerplate 
 killer, plus easily graspable by curious-but-merely-mortal developers 
 like me. 

 The folks here: http://scalagwt.github.com/ have a working prototype, 
 but the last I heard, they needed to submit a patch upstream to GWT. 
 (Or maybe their patch needed to be accepted, I don't know.) 

 I like GWT quite a lot, and would not make a dynamic web UI without 
 it, but the biggest drag is having to go back to Java. 

 On 09/19/2012 09:23 AM, Joonas Lehtinen wrote: 
  What is your opinion on the future of GWT? How should GWT develop? 
  What technologies should it better support? ... 
  
  We all would like to get answers to these questions, right? To do 
  so, we created survey with help of Ray Cromwell, Artur Signell, 
  Mike Brock, David Chandler, Daniel Kurka and Bhaskar Janakiraman. 
  
  If you want to help finding the best direction for GWT, please fill 
  the survey at: http://bit.ly/GWT2012 (it will take just 10 
  minutes) 
  
  When the results are collected, the will share the information with 
  you. 
  
  - Joonas @ Vaadin 
  
  -- 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/-/i8aXw78yueQJ. 
  To post to this group, send email to 
  google-we...@googlegroups.com javascript:. To unsubscribe from this 
  group, send email to 
  google-web-toolkit+unsubscr...@googlegroups.com javascript:. For more 
 options, 
  visit this group at 
  http://groups.google.com/group/google-web-toolkit?hl=en. 

 -BEGIN PGP SIGNATURE- 
 Version: GnuPG v1.4.11 (GNU/Linux) 
 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ 

 iEYEARECAAYFAlBbXuIACgkQ5IyIbnMUeTt9xACeKdEjE0Da6ao0ohTfrxIlLuNZ 
 kUMAn1va40R5Wrb3Gnk9lhw5i1tXEk/W 
 =GdQB 
 -END PGP SIGNATURE- 


-- 
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/-/nHUat9IKTUsJ.
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.



[gwt-contrib] Re: Make the AbstractEditorDriverGenerator create Context classes that work with parameterized parents. (issue1836803)

2012-09-20 Thread t . broyer

LGTM

http://gwt-code-reviews.appspot.com/1836803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors