Re: Could not load GWT DMP Plugin

2012-10-24 Thread Juanra Collado
It's working for me the new version in:
Chrome - Versión 22.0.1229.94 m
Windows XP SP3

Thanks for your work.

El miércoles, 24 de octubre de 2012 02:52:41 UTC+2, Markus Grill escribió:

 the new version works...

 Thank you
 Markus


 Am Mittwoch, 24. Oktober 2012 01:53:48 UTC+2 schrieb Brian Slesinsky:

 A new version is now live in the Chrome store. The only difference is 
 that the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/MZBOrgWT7osJ.
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: Could not load GWT DMP Plugin

2012-10-24 Thread Chris Feuz
After updating the GWT Dev Plugin to version 1.0.11349 it seems to work 
again on my system (Win 7/64, Chrome 22, GWT Dev Plugin 1.0.11349, Juno, m2e
)

Thanks for fixing it

On Wednesday, October 24, 2012 8:46:22 AM UTC+2, Juanra Collado wrote:

 It's working for me the new version in:
 Chrome - Versión 22.0.1229.94 m
 Windows XP SP3

 Thanks for your work.

 El miércoles, 24 de octubre de 2012 02:52:41 UTC+2, Markus Grill escribió:

 the new version works...

 Thank you
 Markus


 Am Mittwoch, 24. Oktober 2012 01:53:48 UTC+2 schrieb Brian Slesinsky:

 A new version is now live in the Chrome store. The only difference is 
 that the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/efXKgsbLv4EJ.
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: Rounded Borders or Curved Borders

2012-10-24 Thread Thomas Broyer

On Wednesday, October 24, 2012 7:44:25 AM UTC+2, vairavan Murugappan wrote:

 Is there any panel or any easy way of having a rounded border in gwt?


Best is to simply use CSS's border-radius http://caniuse.com/border-radius. 
If you can't (absolutely need rounded corners in IE6-8), then use a 
DecoratorPanelhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/DecoratorPanel.html.
 
Have a look at the built-in themes to see how to style it with images.

-- 
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/-/GQEyI0DdXzwJ.
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: Could not load GWT DMP Plugin

2012-10-24 Thread Benoit Bolduc
Version 1.0.11349 works here also.

Thanks for the fix. Really appreciated!

On Wednesday, October 24, 2012 3:21:02 AM UTC-4, Chris Feuz wrote:

 After updating the GWT Dev Plugin to version 1.0.11349 it seems to work 
 again on my system (Win 7/64, Chrome 22, GWT Dev Plugin 1.0.11349, Juno, 
 m2e)

 Thanks for fixing it

 On Wednesday, October 24, 2012 8:46:22 AM UTC+2, Juanra Collado wrote:

 It's working for me the new version in:
 Chrome - Versión 22.0.1229.94 m
 Windows XP SP3

 Thanks for your work.

 El miércoles, 24 de octubre de 2012 02:52:41 UTC+2, Markus Grill escribió:

 the new version works...

 Thank you
 Markus


 Am Mittwoch, 24. Oktober 2012 01:53:48 UTC+2 schrieb Brian Slesinsky:

 A new version is now live in the Chrome store. The only difference is 
 that the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/h-oCBfwRmyQJ.
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: Could not load GWT DMP Plugin

2012-10-24 Thread Drew Spencer
Thank you Brian! All working now.

On Wednesday, 24 October 2012 00:53:48 UTC+1, Brian Slesinsky wrote:

 A new version is now live in the Chrome store. The only difference is that 
 the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/DzffmvlMMEEJ.
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: Could not load GWT DMP Plugin

2012-10-24 Thread Leos Prikryl
Thanks a lot. The new version works for me as well.

On Wednesday, October 24, 2012 1:53:48 AM UTC+2, Brian Slesinsky wrote:

 A new version is now live in the Chrome store. The only difference is that 
 the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/yAml0wey6H8J.
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: Rounded borders in panel

2012-10-24 Thread Ashton Thomas

UiBinder: (Also shows background gradients)

!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder 
xmlns:g=urn:import:com.google.gwt.user.client.ui
ui:style
.wrap {
padding: 10px;
}
 .roundedWidget {
text-align: center;
margin: 0px 0px 0px 0px;
color: #FF;
cursor: pointer;
border: 1px solid #4D4D4D;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: #666 1px 2px 2px;
-moz-box-shadow: #666 1px 2px 2px;
box-shadow: #666 1px 2px 2px;
background: #616161;
background: literal(-webkit-gradient(linear, 0 0, 0 bottom, from(#616161), 
to(#303030))
);
background: literal(-webkit-linear-gradient(#616161, #303030));
background: literal(-moz-linear-gradient(#616161, #303030));
background: literal(-ms-linear-gradient(#616161, #303030));
background: literal(-o-linear-gradient(#616161, #303030));
background: literal(linear-gradient(#616161, #303030));
padding-bottom: 4px;
}
 .roundedWidget:hover {
color: #33;
background: #EBEBEB;
background: literal(-webkit-gradient(linear, 0 0, 0 bottom, from(#EBEBEB), 
to(#C2C2C2))
);
background: literal(-webkit-linear-gradient(#EBEBEB, #C2C2C2));
background: literal(-moz-linear-gradient(#EBEBEB, #C2C2C2));
background: literal(-ms-linear-gradient(#EBEBEB, #C2C2C2));
background: literal(-o-linear-gradient(#EBEBEB, #C2C2C2));
background: literal(linear-gradient(#EBEBEB, #C2C2C2));
}
/ui:style
g:HTMLPanel ui:field=wrap styleName={style.wrap}
g:HTMLPanel styleName={style.roundedWidget} ui:field=text
More HTML or Widgets Here
/g:HTMLPanel

/g:HTMLPanel
/ui:UiBinder




Non UiBinder:

You can probably start with:

fuWidgetBar.getElement().getStyle().setProperty(borderRadius, 30px);






On Wednesday, October 24, 2012 1:47:23 AM UTC-4, vairavan Murugappan wrote:

 Is there a easy widget or panel with rounded borders in gwt ??
 It seems decoratorpanel can be used to do it but its not very clear how to 
 do it..

 Thanks in advance.


-- 
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/-/B-3KftJTjKkJ.
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.



Custom Cell in Table

2012-10-24 Thread furious_panda
Hi all,

I'm new in GWT and I want to create* a table with custom cell.*

I want to do a custom cell similar to the gwt examples : 
http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList

The difference is each row, I have for example 5 columns, and each cell 
must be a custom cell who is initialized with different data.

Each column of each row have'nt relation.

for example: 

I have a list of cars (Lamborghini aventador, Ferrari F400, Ferrari 
california, Porsche  911, Lamborghini reventon, Lamborghini gallardo, 
etc...)

In one row, I have 5 column, I want to display 5 cars in first row, and 
five others in second one, etcand I want to include a pagination on my 
table.

Each cell (row, column), must display one car with the following 
informations:

   - Name of the car
   - Image of the car
   - and other informations

Can anyone help me and indicate how do this ?

Thanks in advance






-- 
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/-/7CrJ4nY-XlgJ.
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: Moving Animation

2012-10-24 Thread Tony Rah
Here are some tips for such a thing in GWTLand. These are off the top of my 
head so there might be some missing pieces.

1. Use the GWT Animation class. Read its java doc. It will tell you 
everything you need to know about how it works.
2. Override the onStart method and hold onto the widget to be moved, start 
location left/top, finish location left/top. You will use these on the 
onUpdate method. You will also want to detach you widget from its current 
parent, attach it to the RootPanel, set its css to position absolute, its 
left/top to the start location that you captured.
3. In the onUpdate method you will be given a progress argument. This 
argument will range between .0-1.0. You will want to do a little math here 
to determine the incremental left/top of the widget given the progress. You 
can use the start and finish location you captured in the onStart to 
perform this calculation. This will give you your movement across the 
screen.
4. Override the onFinish. Here you will want to detach your widget from the 
RootPanel and attach it to the new parent in the target destination. You 
can also add the bouncy effect using another GWT Animation if you like.
5. After all that you will call the run method on the animation and give it 
a duration in milliseconds.

You will likely have to tweak and tune the code to achieve the exact effect 
you want but this should get you started. You could also play with css3 
transitions to get your animation effects but it is not supported in all 
browsers and might be a bit difficult (if not impossible) given the effects 
you are trying to achieve.

Good luck...
x

On Tuesday, October 23, 2012 1:00:07 PM UTC-6, Deepak Singh wrote:

 Any hint / guide over the logic how to implement because i feel panic how 
 to write custom animation as i never did this and used gwtquery for all 
 animations.

 Regards
 Deepak 

 On Tue, Oct 23, 2012 at 9:47 PM, Jens jens.ne...@gmail.com 
 javascript:wrote:

 Basic example can be found in the showcase: 
 http://gwt.google.com/samples/Showcase/Showcase.html#!CwAnimation

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

 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.




 -- 
 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/-/QAU6Wpj8OzgJ.
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: Could not load GWT DMP Plugin

2012-10-24 Thread Geoff Gibbs
I have the same versions of Chrome and Windows, but it's still not working 
for me.

I have tried uninstalling/reinstalling but still no joy...


On Wednesday, October 24, 2012 7:46:22 AM UTC+1, Juanra Collado wrote:

 It's working for me the new version in:
 Chrome - Versión 22.0.1229.94 m
 Windows XP SP3

 Thanks for your work.

 El miércoles, 24 de octubre de 2012 02:52:41 UTC+2, Markus Grill escribió:

 the new version works...

 Thank you
 Markus


 Am Mittwoch, 24. Oktober 2012 01:53:48 UTC+2 schrieb Brian Slesinsky:

 A new version is now live in the Chrome store. The only difference is 
 that the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/4GVZNtBpSZsJ.
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: Could not load GWT DMP Plugin

2012-10-24 Thread Catherine Nantel
It seems to have make things better but it still crashes.
Could it be caused by the automatic update of the plugin that overwrite 
your version?


Le mercredi 24 octobre 2012 10:15:34 UTC-4, Geoff Gibbs a écrit :

 I have the same versions of Chrome and Windows, but it's still not working 
 for me.

 I have tried uninstalling/reinstalling but still no joy...


 On Wednesday, October 24, 2012 7:46:22 AM UTC+1, Juanra Collado wrote:

 It's working for me the new version in:
 Chrome - Versión 22.0.1229.94 m
 Windows XP SP3

 Thanks for your work.

 El miércoles, 24 de octubre de 2012 02:52:41 UTC+2, Markus Grill escribió:

 the new version works...

 Thank you
 Markus


 Am Mittwoch, 24. Oktober 2012 01:53:48 UTC+2 schrieb Brian Slesinsky:

 A new version is now live in the Chrome store. The only difference is 
 that the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/rbwtEni_4tUJ.
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: Could not load GWT DMP Plugin

2012-10-24 Thread Juanra Collado
That's true. It's loading the plugin well but is crashing in a few clicks. 
Hope a solution, it's so difficult programming this way.

El miércoles, 24 de octubre de 2012 16:22:46 UTC+2, Catherine Nantel 
escribió:

 It seems to have make things better but it still crashes.
 Could it be caused by the automatic update of the plugin that overwrite 
 your version?


 Le mercredi 24 octobre 2012 10:15:34 UTC-4, Geoff Gibbs a écrit :

 I have the same versions of Chrome and Windows, but it's still not 
 working for me.

 I have tried uninstalling/reinstalling but still no joy...


 On Wednesday, October 24, 2012 7:46:22 AM UTC+1, Juanra Collado wrote:

 It's working for me the new version in:
 Chrome - Versión 22.0.1229.94 m
 Windows XP SP3

 Thanks for your work.

 El miércoles, 24 de octubre de 2012 02:52:41 UTC+2, Markus Grill 
 escribió:

 the new version works...

 Thank you
 Markus


 Am Mittwoch, 24. Oktober 2012 01:53:48 UTC+2 schrieb Brian Slesinsky:

 A new version is now live in the Chrome store. The only difference is 
 that the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/ad57HfF9NkgJ.
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: Could not load GWT DMP Plugin

2012-10-24 Thread Nomikos Zografakis
Hi Brian, It crashes a little later than before, but still crashed 
nonetheless. If there's any way I can can send you logs from the plugin, 
please let me know and I will send them as per your instructions.

Thanks.

- Nomikos

On Tuesday, October 23, 2012 7:53:48 PM UTC-4, Brian Slesinsky wrote:

 A new version is now live in the Chrome store. The only difference is that 
 the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/AL3KMAWu3WsJ.
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: CellList Style

2012-10-24 Thread sana ben aissa
hi , 

how does it work in case i added the same widget twice in a view ? i wanna 
add the same widget twice in a view with diffrent style ! 
like this , i will always get the second style i puted in the component !

thx for ur time :=)

-- 
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/-/qBEQf61ecp8J.
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: GWTTESTCASE and SSL

2012-10-24 Thread Ed
You need to configure your server to handler ssl.  Running in local
mode will not work in ssl.

Ed

On Tue, Oct 23, 2012 at 2:19 PM, jana jlp...@hotmail.com wrote:


 On Wednesday, September 5, 2012 6:25:46 PM UTC-4, jana wrote:

 I'm using GWTTestCase but need the ability to configure it to use SSL. I
 can't seem to find any information on how to do that.

 I'm using Google Plugin for Eclipse and use Run as GWT Test Case.
 Everything works except that I need to use SSL.


 Still struggling with trying to run GWTTestCase over SSL if anyone has an
 example of how to set the keystore, etc information. I tried to add the
 following code but I got errors trying to call System.setProperty() like the
 following for example.The error was The method setProperty(String, String)
 is undefined for the type System.

 System.setProperty(javax.net.ssl.trustStore, mytruststore);

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

 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.



Security considerations for GWT applications

2012-10-24 Thread Flying-w
I am investigating security considerations around the user login for a GWT 
application in respect of the following strategy:

   - User enters their id and password in a dialogue;
   - Client transmits the login request with the above details to the 
   server using RPC;
   - Server returns a token unique to the client.  The client stores this 
   in a cookie such that if they press F5 to reload the application, or 
   navigate away and come back, they do not need to login again (within a 
   timeout period);
   - On every request the client sends to the server, the token is included 
   in the payload of the request to authenticate the request;

There are some obvious flaws in this approach:

   - The Eve type hacker listening on the network can intercept the plain 
   text userid and password and reuse them directly in their client;
   - If someone gains physical access to the original users computer, can 
   they lift the server token from the cookie and use the token on the their 
   computer to impersonate the original user?

What are the solutions to these security exposures:

   - Use SSL.  Any good guides about doing this with GWT?  Does SSL also 
   defeat the Mallory attacker that can also modify network data?
   - Any non-SSL solutions?

Perhaps there's a guide about this out there somewhere, but all I can find 
so far is information relating to javascript security.

Thanks
Simon.

-- 
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/-/4MgiVSsFI3UJ.
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: CellList Style

2012-10-24 Thread Thomas Broyer


On Wednesday, October 24, 2012 5:36:44 PM UTC+2, sana ben aissa wrote:

 hi , 

 how does it work in case i added the same widget twice in a view ? i wanna 
 add the same widget twice in a view with diffrent style ! 
 like this , i will always get the second style i puted in the component !


See http://code.google.com/p/google-web-toolkit/issues/detail?id=6144  

-- 
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/-/Sp7IMWxqdWAJ.
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: Error for installing Google App engine in the Eclipse indigo

2012-10-24 Thread Ed
Check your Anti Virus to make sure it is not blocking.

Ed

On Sun, Oct 21, 2012 at 10:00 AM, Francis Nderitu
nderitufranci...@gmail.com wrote:
 same problem

 An error occurred while collecting items to be installed
 session context was:(profile=epp.package.java,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
 action=).
 Unable to read repository at
 http://dl.google.com/eclipse/appengine/plugins/com.google.appengine.eclipse.sdkbundle_1.7.2.1.jar.
 Read timed out

 HELP PLIZ.

 On Wednesday, 11 April 2012 19:23:05 UTC+3, azhar wrote:

 An error occurred while collecting items to be installed
 session context was:(profile=epp.package.java,
 phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
 action=).
 Unable to read repository at

 http://dl.google.com/eclipse/plugin/3.7/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201203300216-rel-r37.jar.
 Read timed out

 Please answer this question

 --
 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/-/YFZkLDTTmxwJ.
 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: Moving Animation

2012-10-24 Thread Manuel Carrasco Moñino
Use the animate method from gwtquery to move the widget to the panel
position (just a line of code) , dont forget to add a callback function in
order to add the widget to the panel after the animation has been finished
and maintain the gwt widget hierarchy.

BTW: gquery uses gwt-animate as its low-level function.

Example code:

// Create your widgets and add to the document
final HorizontalPanel panel = new HorizontalPanel();
final HTMLPanel widget = new HTMLPanel(Hello World);
RootPanel.get().add(panel);
RootPanel.get().add(widget);

// Style your widgets, gwtquery makes it easy
$(panel).css($$(bottom:0px; position:fixed; border: solid 1px; width:
200px; height: 40px;));
$(widget).css($$(top: 50%; left: 50%; position:fixed; border: solid
1px; width: 150px));

// Compute the final position of your widget
Properties props = $$(top:  + $(panel).top() + , left: +
$(panel).left());

// animate it and run a callback function
$(widget).animate(props, 2000, new Function(){
  public void f() {
panel.add(widget);
$(widget).css($$(position: relative));
  }
});



On Wed, Oct 24, 2012 at 3:47 PM, Tony Rah xsegr...@gmail.com wrote:

 Here are some tips for such a thing in GWTLand. These are off the top of
 my head so there might be some missing pieces.

 1. Use the GWT Animation class. Read its java doc. It will tell you
 everything you need to know about how it works.
 2. Override the onStart method and hold onto the widget to be moved, start
 location left/top, finish location left/top. You will use these on the
 onUpdate method. You will also want to detach you widget from its current
 parent, attach it to the RootPanel, set its css to position absolute, its
 left/top to the start location that you captured.
 3. In the onUpdate method you will be given a progress argument. This
 argument will range between .0-1.0. You will want to do a little math here
 to determine the incremental left/top of the widget given the progress. You
 can use the start and finish location you captured in the onStart to
 perform this calculation. This will give you your movement across the
 screen.
 4. Override the onFinish. Here you will want to detach your widget from
 the RootPanel and attach it to the new parent in the target destination.
 You can also add the bouncy effect using another GWT Animation if you like.
 5. After all that you will call the run method on the animation and give
 it a duration in milliseconds.

 You will likely have to tweak and tune the code to achieve the exact
 effect you want but this should get you started. You could also play with
 css3 transitions to get your animation effects but it is not supported in
 all browsers and might be a bit difficult (if not impossible) given the
 effects you are trying to achieve.

 Good luck...
 x

 On Tuesday, October 23, 2012 1:00:07 PM UTC-6, Deepak Singh wrote:

 Any hint / guide over the logic how to implement because i feel panic how
 to write custom animation as i never did this and used gwtquery for all
 animations.

 Regards
 Deepak

 On Tue, Oct 23, 2012 at 9:47 PM, Jens jens.ne...@gmail.com wrote:

 Basic example can be found in the showcase: http://gwt.google.**
 com/samples/Showcase/Showcase.**html#!CwAnimationhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwAnimation

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

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

 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: Security considerations for GWT applications

2012-10-24 Thread Ed
Use SSL for Security, never send a clear text user id password over the wire.
If a user navigates away from app then they should log in again.

ed

On Wed, Oct 24, 2012 at 5:41 AM, Flying-w simonjone...@googlemail.com wrote:
 I am investigating security considerations around the user login for a GWT
 application in respect of the following strategy:

 User enters their id and password in a dialogue;
 Client transmits the login request with the above details to the server
 using RPC;
 Server returns a token unique to the client.  The client stores this in a
 cookie such that if they press F5 to reload the application, or navigate
 away and come back, they do not need to login again (within a timeout
 period);
 On every request the client sends to the server, the token is included in
 the payload of the request to authenticate the request;

 There are some obvious flaws in this approach:

 The Eve type hacker listening on the network can intercept the plain text
 userid and password and reuse them directly in their client;
 If someone gains physical access to the original users computer, can they
 lift the server token from the cookie and use the token on the their
 computer to impersonate the original user?

 What are the solutions to these security exposures:

 Use SSL.  Any good guides about doing this with GWT?  Does SSL also defeat
 the Mallory attacker that can also modify network data?
 Any non-SSL solutions?

 Perhaps there's a guide about this out there somewhere, but all I can find
 so far is information relating to javascript security.

 Thanks
 Simon.

 --
 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/-/4MgiVSsFI3UJ.
 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: Security considerations for GWT applications

2012-10-24 Thread Manuel Carrasco Moñino
- Use Http-Only cookies so as any eventually injected js does not have
access to the session cookie.
- You could compute and send the MD5 hash of the password instead of the
clear one if the server is storing the password in MD5

On Wed, Oct 24, 2012 at 8:26 PM, Ed ej19...@gmail.com wrote:

 Use SSL for Security, never send a clear text user id password over the
 wire.
 If a user navigates away from app then they should log in again.

 ed

 On Wed, Oct 24, 2012 at 5:41 AM, Flying-w simonjone...@googlemail.com
 wrote:
  I am investigating security considerations around the user login for a
 GWT
  application in respect of the following strategy:
 
  User enters their id and password in a dialogue;
  Client transmits the login request with the above details to the server
  using RPC;
  Server returns a token unique to the client.  The client stores this in a
  cookie such that if they press F5 to reload the application, or navigate
  away and come back, they do not need to login again (within a timeout
  period);
  On every request the client sends to the server, the token is included in
  the payload of the request to authenticate the request;
 
  There are some obvious flaws in this approach:
 
  The Eve type hacker listening on the network can intercept the plain
 text
  userid and password and reuse them directly in their client;
  If someone gains physical access to the original users computer, can they
  lift the server token from the cookie and use the token on the their
  computer to impersonate the original user?
 
  What are the solutions to these security exposures:
 
  Use SSL.  Any good guides about doing this with GWT?  Does SSL also
 defeat
  the Mallory attacker that can also modify network data?
  Any non-SSL solutions?
 
  Perhaps there's a guide about this out there somewhere, but all I can
 find
  so far is information relating to javascript security.
 
  Thanks
  Simon.
 
  --
  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/-/4MgiVSsFI3UJ.
  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: [QUESTION] Developing for mobile

2012-10-24 Thread Manuel Carrasco Moñino
#1 its true, you develop in gwt and pack the compiled stuff with cordova
aka phonegap, and it would work in almost modern mobile platforms.
#2 you need gwt-phonegap if you wanted to access some hardware functions in
your mobile, I recomend mgwt as well.

On Tue, Oct 23, 2012 at 10:24 PM, Oliver Krylow okry...@gmail.com wrote:

 Check out http://www.m-gwt.com/. It is under very active development and
 its creator Daniel Kurka is now part of the GWt Steering Commitee.

 --
 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: IndexedDb

2012-10-24 Thread Manuel Carrasco Moñino
Have you try this http://code.google.com/p/indexeddb-gwt/wiki/HowTo ?


On Mon, Oct 22, 2012 at 10:56 PM, Twentyseven ebarthel...@gmail.com wrote:

 Hello,

 I did some test with local and session storage with GWT but it's very
 limited in size.
 I'd like to use IndexedDb but there's no native API implemented in GWT.
 I've saw Elemental in GWT 2.5 but it seems to be experimental.

 Is there a mature project that wrap the IndexedDb API in GWT ?

 Thank's

 --
 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/-/4E0k4LR_d2MJ.
 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.



StockWatcher tutorial IE8

2012-10-24 Thread Сергей Захаров
I read the Retrieving JSON Data tutorial ( 
https://developers.google.com/web-toolkit/doc/latest/tutorial/JSON )
However, the FlexTable widget isn't updated each 5 seconds (only after 
delete or add new stock) in IE8. In Chrome everything works perfectly.

Can you explain why or give me the link to the document?

Thanks!

gwt-2.5.0.rc2
apache-ant-1.8.4
jdk1.7.0_09

-- 
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/-/IT9eHe-ynbIJ.
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.



Announcing GwtChosen 1.1.0!!

2012-10-24 Thread Julien Dramaix
Dear Community,

I've just released GwtChosen 1.1.0. This release fix some bugs and
bring two new enhancements :
- possibility to customize the CSS via the ChosenOption object
- add optgroup support to the ChosenListBox widget.

Don't forget to change your pom. xml or download the last jar file
(http://code.google.com/p/gwtquery-plugins/downloads/detail?name=gwtchosen-1.1.0.jar)

Thanks to those who opened issues, proposed fixes and/or tested them.

Documentation and example : http://jdramaix.github.com/gwtchosen/ and
http://jdramaix.github.com/gwtchosen/widgetsample/index.html

Changes in this release :
https://github.com/jDramaix/gwtchosen/issues?milestone=2page=1state=closed


Julien

-- 
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: Could not load GWT DMP Plugin

2012-10-24 Thread Brian Slesinsky
I have access to crash reports. Still figuring out how to use the data.

In my testing, I can start the Showcase sample in dev mode and it seems 
to work, but if I leave the browser open for a while, the plugin will 
eventually crash.

- Brian

On Wednesday, October 24, 2012 7:54:49 AM UTC-7, Nomikos Zografakis wrote:

 Hi Brian, It crashes a little later than before, but still crashed 
 nonetheless. If there's any way I can can send you logs from the plugin, 
 please let me know and I will send them as per your instructions.

 Thanks.

 - Nomikos

 On Tuesday, October 23, 2012 7:53:48 PM UTC-4, Brian Slesinsky wrote:

 A new version is now live in the Chrome store. The only difference is 
 that the Windows version is statically linked.

 I don't have a sufficient number of Windows machines available for 
 testing, so I don't know how much this will help. However, it shouldn't 
 make things worse.


 https://chrome.google.com/webstore/detail/gwt-developer-plugin/jpjpnpmbddbjkfaccnmhnkdgjideieim

 - Brian

 On Tuesday, October 23, 2012 10:35:33 AM UTC-7, Brian Slesinsky wrote:

 It looks like I linked the DLL wrong on Windows, so it requires some 
 additional DLL's that not everyone has. We'll have a new release later 
 today.



-- 
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/-/C7NYh6B0C5oJ.
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: Exception JPA (EclipseLink) + GWT

2012-10-24 Thread Milton Lima
No.

server-side code.

I solved the problem of exception.

tanks (:

Em terça-feira, 23 de outubro de 2012 19h48min29s UTC-2, Juan Pablo 
Gardella escreveu:

 Did you try use this method in client side sources?

 2012/10/23 Milton Lima flmi...@gmail.com javascript:

 Hi

 I am developing a project with GWT and JPA (EclipseLink).

 I'm getting the following exception:

 threw an unexpected exception: java.lang.NoSuchMethodError: 
 javax.persistence.EntityManager.getEntityManagerFactory()Ljavax/persistence/EntityManagerFactory;

 If anyone can help.
 Thanks!

 -- 
 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/-/l5qa1qD9flEJ.
 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/-/z_U0MQMEvxoJ.
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: Exception JPA (EclipseLink) + GWT

2012-10-24 Thread Milton Lima
No

server-side code

I solved the problem of exception

thanks (:

Em terça-feira, 23 de outubro de 2012 19h48min29s UTC-2, Juan Pablo 
Gardella escreveu:

 Did you try use this method in client side sources?

 2012/10/23 Milton Lima flmi...@gmail.com javascript:

 Hi

 I am developing a project with GWT and JPA (EclipseLink).

 I'm getting the following exception:

 threw an unexpected exception: java.lang.NoSuchMethodError: 
 javax.persistence.EntityManager.getEntityManagerFactory()Ljavax/persistence/EntityManagerFactory;

 If anyone can help.
 Thanks!

 -- 
 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/-/l5qa1qD9flEJ.
 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/-/7TBL9P1BmVAJ.
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: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread mdempsky

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread jat

LGTM


http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
File
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
(right):

http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java#newcode224
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java:224:
if (args.length  2) {
Should this be public so other tools have a way to run it in-process
without having to worry about the System.exit call?

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread mdempsky


http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
File
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
(right):

http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java#newcode224
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java:224:
if (args.length  2) {
On 2012/10/24 20:37:40, jtamplin wrote:

Should this be public so other tools have a way to run it in-process

without

having to worry about the System.exit call?


Sounds reasonable to me.  I'll upload a revised patch set in a moment.

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread mdempsky

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread skybrian


http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
File
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
(right):

http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java#newcode216
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java:216:
protected JavaCompiler getJavaCompiler() {
Not a big deal, but I usually prefer to introduce a field and
constructor arg for configuration, to avoid starting a class hierarchy.

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread t . broyer


http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
File
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
(right):

http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java#newcode216
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java:216:
protected JavaCompiler getJavaCompiler() {
On 2012/10/24 20:52:30, skybrian wrote:

Not a big deal, but I usually prefer to introduce a field and

constructor arg

for configuration, to avoid starting a class hierarchy.


+1

http://gwt-code-reviews.appspot.com/1859803/diff/6001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
File
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
(right):

http://gwt-code-reviews.appspot.com/1859803/diff/6001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java#newcode212
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java:212:
public void run(String[] args) throws IOException {
Er, why this method? Couldn't the System.exit be in the main()?

  System.exit(new ValidationTool().exec(args) ? 0 : -1);

or

  boolean successful = new ValidationTool().exec(args);
  System.exit(successful ? 0 : -1);

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread mdempsky


http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
File
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
(right):

http://gwt-code-reviews.appspot.com/1859803/diff/2001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java#newcode216
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java:216:
protected JavaCompiler getJavaCompiler() {
For no particular reason, I was trying to defer creating the
JavaCompiler until it's actually needed.  If this code was already using
JSR330, I'd add a constructor that takes a ProviderJavaCompiler and
handle it that way.  Since it's not and I don't expect to see too many
custom ValidationTool subclasses, just adding an override method seemed
the least intrusive solution.

http://gwt-code-reviews.appspot.com/1859803/diff/6001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
File
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java
(right):

http://gwt-code-reviews.appspot.com/1859803/diff/6001/user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java#newcode212
user/src/com/google/web/bindery/requestfactory/apt/ValidationTool.java:212:
public void run(String[] args) throws IOException {
On 2012/10/24 20:56:48, tbroyer wrote:

Er, why this method?


Mostly so that I can just write:

class FancyValidationTool extends ValidationTool {
  public static void main(String[] args) throws IOException {
new FancyValidationTool().run(args);
  }

  protected JavaCompiler getJavaCompiler() { ... }
}

I could reproduce the System.exit() logic in FancyValidationTool too,
but this way just seemed simpler (and ValidationTool already does things
like write to System.err directly).  I'm fine with making main()
responsible for calling System.exit() if you find this way distasteful.

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread mdempsky

Alternatively, take a look at Patch Set #1, which simply added an extra
parameter to exec() to pass in a custom JavaCompiler instance.  Would
that patch (updated to make the exec() methods public) be preferable?

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread skybrian

On 2012/10/24 21:24:02, mdempsky wrote:

Alternatively, take a look at Patch Set #1, which simply added an

extra

parameter to exec() to pass in a custom JavaCompiler instance.  Would

that patch

(updated to make the exec() methods public) be preferable?


Yeah, seems simpler.

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

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


[gwt-contrib] Re: Split ValidationTool.exec() into two methods so alternative (issue1859803)

2012-10-24 Thread mdempsky

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

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