Re: How to integrate Jsoup in GWT

2013-01-10 Thread Philippe Lhoste

On 09/01/2013 07:48, Kaustav Mukherjee wrote:

Can you tell me how to implement the jSoup on the server-side? That is, what to 
do with
jSoup jar file downloaded from the official site so that I can use it in the 
server side
script to scrape web pages?


You have put the code using Jsoup, as you show in the screenshot, in a package with 
'client' in the path. You have to put it in a package with 'server' in the path...

See also the base GWT tutorials.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--
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: Recompiling with SYNC support

2013-01-10 Thread Jens
Just out of interest: Why does a large server side lazy collection forces 
you to use a synchronous XMLHttpRequest that will noticeably block your 
whole browser while the server does its work?

Gilead will set not yet loaded lazy properties to null so instead of using 
Gilead you could also create a DTO class with only the information you need 
and then fill it on the server without ever touching the lazy properties.

-- 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/-/QsBq9dmXs0UJ.
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 modify a specific header style?

2013-01-10 Thread tong123123
the topic in 
https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/bBe7GCVoVWQ
may be useful, but all the link inside return error 404.

-- 
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/-/V3gWdDAHf50J.
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: Eclipse Plugin and SSL/TLS with the internal server

2013-01-10 Thread Thomas Broyer
What do you mean by everything is in the clear? How did you look at the 
packets?

On Thursday, January 10, 2013 3:31:20 AM UTC+1, Mike wrote:

 Hi,

 I enabled SSL on the internal server by using -server :ssl.  I  am able to 
 connect to the server via https in dev mode.  I allowed the browser to 
 accept the certificate sent.  I was expecting to see encrypted packets, but 
 everything is in the clear.  Am I misunderstanding how the internal server 
 is implementing SSL?


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



How to change icon of IconCellDecorator?

2013-01-10 Thread membersound
Hi,

I have a CellTree and displaying an image/icon with IconCellDecorator.

Now on a specific event I want to change icon. Can I do this with this 
class, or what can I take to achieve this?

-- 
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/-/WIeEcFyOyq0J.
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 change icon of IconCellDecorator?

2013-01-10 Thread Thomas Broyer

On Thursday, January 10, 2013 12:26:08 PM UTC+1, membersound wrote:

 Hi,

 I have a CellTree and displaying an image/icon with IconCellDecorator.

 Now on a specific event I want to change icon. Can I do this with this 
 class, or what can I take to achieve this?


The icon for a specific item? or for all items?
Anyways, IconCellDecorator is immutable, and CellTree-s are hard to work 
with (particularly redrawing things), so be prepared to do very hackish 
things.

-- 
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/-/JJyI_Sl0790J.
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: Recompiling with SYNC support

2013-01-10 Thread Edson Richter


On Thursday, January 10, 2013 7:49:37 AM UTC-2, Jens wrote:

 Just out of interest: Why does a large server side lazy collection forces 
 you to use a synchronous XMLHttpRequest that will noticeably block your 
 whole browser while the server does its work?


This application has a complex graph of objects, when a collection of 
objects is loaded, it crashes browser due memory constrains.
 


 Gilead will set not yet loaded lazy properties to null so instead of using 
 Gilead you could also create a DTO class with only the information you need 
 and then fill it on the server without ever touching the lazy properties.


Good to know, I've not lost time using Gilead. 
Using DTO will force me to change hundred of UI widgets, which I don't have 
anought time to do now.

Thanks,

Edson


 -- 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/-/Vi8wPnEJXMAJ.
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: Eclipse Plugin and SSL/TLS with the internal server

2013-01-10 Thread Mike
I used wireshark to examine the packets.  All the packet exchanges were TCP 
and the payloads  were clearly readable.  There was not handshake and no 
encrypted packets.

On Thursday, January 10, 2013 2:33:08 AM UTC-8, Thomas Broyer wrote:

 What do you mean by everything is in the clear? How did you look at the 
 packets?

 On Thursday, January 10, 2013 3:31:20 AM UTC+1, Mike wrote:

 Hi,

 I enabled SSL on the internal server by using -server :ssl.  I  am able 
 to connect to the server via https in dev mode.  I allowed the browser to 
 accept the certificate sent.  I was expecting to see encrypted packets, but 
 everything is in the clear.  Am I misunderstanding how the internal server 
 is implementing SSL?



-- 
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/-/fKMDhKubGY4J.
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: Recompiling with SYNC support

2013-01-10 Thread Jens


 This application has a complex graph of objects, when a collection of 
 objects is loaded, it crashes browser due memory constrains.


Ok but then it will also crash the browser if you use synchronous 
XmlHttpRequest. The real problem is that you transfer too much data from 
server to client and not if its transferred using 
asynchronous communication or synchronous communication. So you should 
still stick to asynchronous communication as it does not block your browser 
while downloading the data.


-- 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/-/UEjhVwF7TocJ.
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: Eclipse Plugin and SSL/TLS with the internal server

2013-01-10 Thread Thomas Broyer


On Thursday, January 10, 2013 4:59:47 PM UTC+1, Mike wrote:

 I used wireshark to examine the packets.  All the packet exchanges were 
 TCP and the payloads  were clearly readable.  There was not handshake and 
 no encrypted packets.


I'd swear it worked OK for me (used tcmdump and wireshark); and if your 
browser tells you it's over HTTPS (even with a weak certificate), then I 
wouldn't contradict it.

-- 
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/-/lqut1PoPgIEJ.
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: Parametrized Css class

2013-01-10 Thread Ed
+1 Coktug
Good to see someone works on CSS integration :)
I wanted it, tried it... but still... nothing ... sorry :(...
- Ed

Op woensdag 9 januari 2013 21:59:13 UTC+1 schreef Goktug Gokdogan het 
volgende:

 FYI, I will start working on closure CSS integration this quarter.


 On Wed, Jan 9, 2013 at 5:57 AM, Thomas Lefort lefor...@gmail.comjavascript:
  wrote:

 That's indeed what I would need ;-) Thanks.



 On Wednesday, 9 January 2013 14:43:23 UTC+1, Thomas Broyer wrote:

 No.

 All the additions of CssResource to CSS are listed in the documentation: 
 https://**developers.google.com/web-**toolkit/doc/latest/**
 DevGuideClientBundle#**CssResourcehttps://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#CssResource

 There's been some discussion about integrating Closure Stylesheets with 
 ClientBundle but I don't think anyone started working on it. Closure 
 Stylesheets adds mixins to CSS: https://code.google.com/**
 p/closure-stylesheets/#Mixinshttps://code.google.com/p/closure-stylesheets/#Mixins

 On Wednesday, January 9, 2013 1:21:56 PM UTC+1, Thomas Lefort wrote:

 Hi,

 Is it possible to define a parametrizable css class? Something like 
 this:

 .paramClass(value) {
width: value;
height: value;
 }

 and the in uiBinder have:

 div class=paramClass(60)/div

 Thanks,

 Thomas

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

 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/-/hVNRk-fbkoAJ.
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: Ultimate GWT + GAE + Datanucleus + Eclipse + Maven Guide

2013-01-10 Thread Benjamin Possolo
Thank you! It took me quite a while.

Does your project have a similar setup?

-- 
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/-/mBjcQcdru1AJ.
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: Ultimate GWT + GAE + Datanucleus + Eclipse + Maven Guide

2013-01-10 Thread Brandon Donnelson
I was starting to work on a maven archetype for appengine guice jpa, but I
found it was a little painful trying to find the right maven configuration
and not double binding the datanucleus. Seems you found a nice way of doing
it plus you documented it very nicely. :) I've got a couple projects using
jpa and wanted to convert them to maven and I thought it might be useful to
setup a maven archetype.

Have a good day,
Brandon Donnelson
+Follow Me https://plus.google.com/u/0/111739836936169749229/posts


On Thu, Jan 10, 2013 at 12:51 PM, Benjamin Possolo bposs...@gmail.comwrote:

 Thank you! It took me quite a while.

 Does your project have a similar setup?

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

 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.



Inspect the DOM in GWT in version 1.5.3

2013-01-10 Thread saurabh gupta
Hi,

I'm new to GWT and using the version 1.5.3. I want to know how can we 
inspect the DOM elements(mainly for css classes) in the GWT browser in 
development mode? One simple way is to Compile and run on the 
separate browser for example FireFox and use Fire bug for inspecting the 
css classes. but it takes too long in the compilation process. Can any one 
suggest a better idea of how we can inspect the elements in GWT browser 
only?

Please Note : I need it for GWT version 1.5.3 not the upper versions.

Thanks in advance,
Saurabh

-- 
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/-/TSNlV-9z1NgJ.
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 2.5.0-rc1 and eclipse (3.7 and 4.2) problems

2013-01-10 Thread dogrush009
I got the same problem with GWT 2.5 in Chrome 19.0.1084.52 with plugin 
1.0.9738.
Did anyone fix?



Juan Pablo Gardella於 2012年7月4日星期三UTC+8下午1時36分51秒寫道:

 Hi folks,

 I tried with eclipse 3.7 and eclipse 4.2 run inside eclipse with GWT 
 2.5.0-rc1 and had the same error in both. If I compile with maven the 
 application run well, but in dev mode fails. I'm using FF13 with the last 
 plugin.

 Could any tell me some tips to use GWT 2.5.0-rc1 inside eclipse?

 Thanks in advance.

 I paste the stacktrace here:

 02:32:43.765 [ERROR] [myapp] Unable to load module entry point class 
 com.google.gwt.useragent.client.UserAgentAsserter (see associated exception 
 for details)

 java.lang.RuntimeException: Deferred binding failed for 
 'com.google.gwt.useragent.client.UserAgentAsserter$UserAgentProperty' (did 
 you forget to inherit a required module?)
 at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
 at com.google.gwt.core.shared.GWT.create(GWT.java:57)
 at com.google.gwt.core.client.GWT.create(GWT.java:85)
 at 
 com.google.gwt.useragent.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:66)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:405)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
 at java.lang.Thread.run(Thread.java:619)
 Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see 
 previous log entries)
 at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:604)
 at 
 com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:464)
 at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
 at com.google.gwt.core.shared.GWT.create(GWT.java:57)
 at com.google.gwt.core.client.GWT.create(GWT.java:85)
 at 
 com.google.gwt.useragent.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:66)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:405)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
 at java.lang.Thread.run(Thread.java:619)




-- 
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/-/gibBmei_OhoJ.
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 Scheduler / TimeLine / Gantt charts

2013-01-10 Thread Mike Davison
We are using this in our app.  It has some strengths, but printing is not 
one of them.  Pagination is awkward and there is no ability to export to 
PDF so we could use that print utility to manage pagination.
 

On Friday, January 6, 2012 5:31:51 AM UTC-8, Steve Moyer wrote:

 The documentation makes it look like it's based on GXT ... I gave up 
 on anything that required GXT or SmartGWT some time ago. 

 smoyer

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



having problem in user interface

2013-01-10 Thread Ankit Dhanuka
i m doing a project with gwt. m using datagrid, but its working fine in 
chrome but not in firefox and IE..
Pls can any one tel me wat may b wrong?

-- 
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/-/847CYzGDb5IJ.
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 2.5 (Deferred binding failed for...)

2013-01-10 Thread dogrush009
I got this problem when i use GWT 2.5. And it runs properly in GWT 2.4. I 
am using Chrome 19.0.1084.52 with the plugin 1.0.9738

Here is the exception:
Caused by: java.lang.RuntimeException: Deferred binding failed for 
'com.gwtent.reflection.client.TypeOracle_Visitor$com_fe_client_ui_messages_Message_zh_HK_GWTENTAUTO_ClassType'
 
(did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.shared.GWT.create(GWT.java:57)
at com.google.gwt.core.client.GWT.create(GWT.java:85)
at 
com.gwtent.reflection.client.TypeOracle_Visitor.doGetType(TypeOracle_Visitor.java:477)
at 
com.gwtent.reflection.client.impl.TypeOracleImpl.getType(TypeOracleImpl.java:163)
at 
com.gwtent.reflection.client.impl.TypeOracleImpl.getClassType(TypeOracleImpl.java:182)
at 
com.gwtent.reflection.client.impl.TypeOracleImpl.getClassType(TypeOracleImpl.java:239)
at 
com.tech_trans.webrmis.mobile.fe.client.ui.mgwt.view.AbstractUIView.translate(AbstractUIView.java:258)
at 
com.tech_trans.webrmis.mobile.fe.client.ui.mgwt.view.AbstractUIView.init(AbstractUIView.java:104)
at 
com.tech_trans.webrmis.mobile.fe.client.ui.mgwt.view.operation.StartupViewImpl.init(StartupViewImpl.java:29)
at 
com.tech_trans.webrmis.mobile.fe.client.ui.mgwt.MgwtViewFactoryImpl.toInitializedAppView(MgwtViewFactoryImpl.java:229)
at 
com.tech_trans.webrmis.mobile.fe.client.ui.mgwt.MgwtViewFactoryImpl.createView(MgwtViewFactoryImpl.java:381)
at 
com.tech_trans.webrmis.mobile.fe.client.ui.mgwt.MgwtViewFactoryImpl.createView(MgwtViewFactoryImpl.java:1)
at 
com.tech_trans.gwt.mvp.client.app.AbstractSimpleViewFactory.getView(AbstractSimpleViewFactory.java:26)
at 
com.tech_trans.webrmis.mobile.fe.client.activity.system.StartupActivity.getStartUpView(StartupActivity.java:20)
at 
com.tech_trans.webrmis.mobile.fe.client.activity.system.StartupActivity.getView(StartupActivity.java:32)
at 
com.tech_trans.webrmis.mobile.fe.client.activity.AppPageActivity.start(AppPageActivity.java:46)
at 
com.google.gwt.activity.shared.ActivityManager.tryStart(ActivityManager.java:226)
at 
com.google.gwt.activity.shared.ActivityManager.onPlaceChange(ActivityManager.java:153)
... 40 more

-- 
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/-/wmFTkxHiGZ0J.
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: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4

2013-01-10 Thread Nils Schröder

Just for your notice:

I had exactly the same Problem this way. Takes 2 hours to find this post -.-

What do you think? Is there a possibility that some one update the 
Documentation? 
Just because of small, cute and new GWT Developers like me :D

-- 
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/-/oPHy9cm2m78J.
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 Web Application Decompiler?

2013-01-10 Thread Mallory Woods
This may sound like an unusual request but I just took over a project where 
the previous developer was using GWT to create a web 
application. Unfortunately , it looks like he released a version that fixed 
a number of bugs right before he left the project and did not save the 
source code. I do have a copy of some of the older source code but I know 
it has bugs and is not updated on the latest functionality. Is it possible 
to take the HTML etc and decompile back into the Java Source?

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/-/xywbZ4f54lcJ.
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: Unknown tag with, or is not appropriate as a top level element Element

2013-01-10 Thread Martin Pain
I know this problem was reported over a year ago, but I've just seen it, 
and have managed to diagnose what was causing it in my situation.

I've seen this problem when running GWT from Eclipse when my OS's locale is 
set to Turkey. (I believe it is caused by an incorrect case-insensitive 
compare in the parsing code somewhere.)

The workaround is to spell the element as ui:WITH, e.g.:
ui:WITH type='com.myproject.client.resource.MyResource' field='resource' 
/ 

I hope this helps anyone else who runs into this problem.
Martin

On Saturday, 8 October 2011 23:57:02 UTC+1, oerten25 wrote:

 Hello, 

 I couldn't manage to get ui:with working. 

 [ERROR] [com.myproject] - Unknown tag with, or is not appropriate as a 
 top level element Element ui:with field='resource' 
 type='com.myproject.client.resource.MyResource' 

 My ui.xml contents : 

 !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:with type='com.myproject.client.resource.MyResource' 
 field='resource'/ui:with 
 ui:style 

 .logo { 
 padding: 0 0 0 1em; 
 float:left; 
 height: 4.3em; 
 width: 13em; 
 } 

 .ss { 
 float:left; 
 padding:1.3em 0 0 1em; 
 text-decoration: underline; 
 font-weight: bold; 

 width:40%; 
 } 
 .aa{ 
 clear:left; 
 width:100%; 
 background-color: #9CABBC; 
 min-height: 3em; 

 } 


 .eastPanel { 
 background-color: #F60; 
 } 
 .westPanel { 
 background-color: #F6F6F6; 
 } 
 .northPanel { 
 background-color: #F4F7FB; 
 } 
 .southPanel { 
 background-color: #F4F7FB; 
 } 
 .centerPanel { 
 background-color: transparent; 
 } 

 /ui:style 

 g:HTMLPanel 

 g:DockLayoutPanel unit='EM' height='100%' 
 g:north size='7' 
 g:FlowPanel 
 styleName='{style.northPanel}' 
 g:Image ui:field='logo' 
 addStyleNames='{style.logo}' / 
 g:HTMLPanel 
 styleName='{style.ss}'Lorem Ipsum/g:HTMLPanel 
 g:FlowPanel 
 styleName='{style.aa}' 
 g:HTMLPanel 
 ul 
 addStyleNames={resource.style.nav} 
 li 
 Homepage/li 
 li 
 Contacts/li 
 li 
 Help/li 

 /ul 
 /g:HTMLPanel 

 /g:FlowPanel 
 /g:FlowPanel 

 /g:north 
 g:south size='5' 
 g:FlowPanel 
 styleName='{style.southPanel}' 
 g:Label/g:Label 
 /g:FlowPanel 
 /g:south 
 g:west size='10' 
 g:FlowPanel 
 styleName='{style.westPanel}' 
 g:Label/g:Label 
 /g:FlowPanel 
 /g:west 
 g:center 
 g:FlowPanel 
 styleName='{style.centerPanel}' ui:field='center' 
 g:Label/g:Label 
 /g:FlowPanel 
 /g:center 


 /g:DockLayoutPanel 

 /g:HTMLPanel 

 /ui:UiBinder 

 My ClientBundle contents: 

 public interface MyResource extends ClientBundle { 

 public interface Style extends CssResource { 
 String nav(); 
 } 

 @Source(/css/base.css) 
 Style style(); 

 @Source(/img/logo.png) 
 ImageResource logo(); 


 } 

 And my base.css contents : 

 .nav { 
 list-style-type: none; 
 } 

 I don't know what i'm missing but those should be enough according to 
 the documentation and many samples i've examined. 
 Please someone help me resolve this problem. 

 Thanks 




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web 

Re: Eclipse Plugin and SSL/TLS with the internal server

2013-01-10 Thread kim young ill
are u sure the wireshark catch the right channel/device ?
try with openssl to localhost to see if the connection is ssl or not

sth like:
openssl s_client -connect host:port

hth


On Thu, Jan 10, 2013 at 5:24 PM, Thomas Broyer t.bro...@gmail.com wrote:



 On Thursday, January 10, 2013 4:59:47 PM UTC+1, Mike wrote:

 I used wireshark to examine the packets.  All the packet exchanges were
 TCP and the payloads  were clearly readable.  There was not handshake and
 no encrypted packets.


 I'd swear it worked OK for me (used tcmdump and wireshark); and if your
 browser tells you it's over HTTPS (even with a weak certificate), then I
 wouldn't contradict it.

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

 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.



Chrome 24 and GWT

2013-01-10 Thread Paul
This morning Google updated Chrome to version 24.  Now all my GWT 
(animated) dialogs flash when opened.  They continuously open/close and 
give a flashing effect.  I can't access the buttons to close them and have 
to kill the browser window to stop it.  Confirmed on linux mint (13) and 
Windoze 7 versions of Chrome.  I had another linux box that I did not allow 
to update, and confirmed that Chrome 23 (and previous) does not do this. 
 I've seen one other person complain of this on the Chrome forum.  Just 
thought everyone should know!

Paul

-- 
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/-/612agGTTYfsJ.
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: Chrome 24 and GWT

2013-01-10 Thread Daniel Kurka
The gwt showcase seems to be fine or does this appear for you as well? - 
http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwDialogBox


On Friday, January 11, 2013 12:08:25 AM UTC+1, Paul wrote:

 This morning Google updated Chrome to version 24.  Now all my GWT 
 (animated) dialogs flash when opened.  They continuously open/close and 
 give a flashing effect.  I can't access the buttons to close them and have 
 to kill the browser window to stop it.  Confirmed on linux mint (13) and 
 Windoze 7 versions of Chrome.  I had another linux box that I did not allow 
 to update, and confirmed that Chrome 23 (and previous) does not do this. 
  I've seen one other person complain of this on the Chrome forum.  Just 
 thought everyone should know!

 Paul



-- 
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/-/53SeZdt4uD0J.
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 modify a specific header style?

2013-01-10 Thread tong123123
So trouble, Header and ActionCell is not inherited UIObject, so cannot use 
ensureDebugId to give a specific header and actioncell an id to apply css!!

-- 
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/-/2z76D_J45DsJ.
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-contrib] GWT 2.5.1 release - Call for help

2013-01-10 Thread Thomas Broyer


On Thursday, January 10, 2013 5:54:16 AM UTC+1, Andrew Bachmann wrote:

 Presumably all issues that are already FixedNotReleased are going to make 
 it into 2.5.1?


Yes. We chose to cut 2.5.1 from trunk rather than cherrypicking changes to 
releases/2.5.



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

[gwt-contrib] SplitLayoutPanel needs to set the associated Splitter to hidden when a child is set to hidden (issue1880804)

2013-01-10 Thread tuckerpmt

Reviewers: kurka.daniel,

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

Please review this at http://gwt-code-reviews.appspot.com/1880804/

Affected files:
  user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java


Index: user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java
===
--- user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java	(revision  
11440)
+++ user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java	(working  
copy)

@@ -141,7 +141,7 @@
   mouseDown = false;

   glassElem.removeFromParent();
-
+
   // Handle double-clicks.
   // Fake them since the double-click event aren't fired.
   if (this.toggleDisplayAllowed) {
@@ -377,6 +377,20 @@
 return false;
   }

+  @Override
+  public void setWidgetHidden(Widget widget, boolean hidden) {
+assertIsChild(widget);
+LayoutData layoutData = (LayoutData)widget.getLayoutData();
+
+if (layoutData.direction != Direction.CENTER) {
+   Splitter splitter = getAssociatedSplitter(widget);
+
+   super.setWidgetHidden(splitter, hidden);
+}
+
+super.setWidgetHidden(widget, hidden);
+  }
+
   /**
* Sets the minimum allowable size for the given widget.
*


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


[gwt-contrib] Re: SplitLayoutPanel needs to set the associated Splitter to hidden when a child is set to hidden (issue1880804)

2013-01-10 Thread t . broyer


http://gwt-code-reviews.appspot.com/1880804/diff/1/user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java
File user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java
(right):

http://gwt-code-reviews.appspot.com/1880804/diff/1/user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java#newcode385
user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java:385: if
(layoutData.direction != Direction.CENTER) {
In other parts of the class (e.g. setWidgetMinSize) the fact that
getAssociatedSplitter returns 'null' is used to detect the center
widget. This would simplify this method a lot:

   public void setWidgetHidden(Widget widget, boolean hidden) {
 super.setWidgetHidden(widget, hidden);
 Splitter splitter = getAssociatedSplitter(widget);
 if (splitter != null) {
   // The splitter is null for the center element.
   super.setWidgetHidden(splitter, hidden);
 }
   }

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

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


[gwt-contrib] Re: SplitLayoutPanel needs to set the associated Splitter to hidden when a child is set to hidden (issue1880804)

2013-01-10 Thread t . broyer

LGTM


http://gwt-code-reviews.appspot.com/1880804/diff/4001/user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java
File user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java
(right):

http://gwt-code-reviews.appspot.com/1880804/diff/4001/user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java#newcode388
user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java:388:
super.setWidgetHidden(widget, hidden);
Note that if you move this line above the splitter, you don't even need
the assertIsChild, as it's done in setWidgetHidden anyway.

In general I prefer it that way: first do what's supposed to be done,
then add the other things. If the normal processing throws, your
additions won't run; that's what you want, and you get it for free. You
don't need to synchronize your preconditions with the ones of the other
class in the event they'd change a bit, etc. it just works the way it's
supposed to work.

YMMV of course, and the code you have here should work great. So no need
to change it unless someone else asks you, or you want to change it.

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

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