Re: Chrome apps and GWT

2014-02-10 Thread Andrew Mackenzie
You might need to try a different GWT linker that supports cross-site
requests. I'll look to see which one I used tonight.
On Feb 10, 2014 8:52 AM, "alucard"  wrote:

> I am not sure I understood well but it seems that you loaded the GWT app
> in a webview or something similar. That is not what I meant. I'd like to be
> able to invoke the chrome.* apis from my GWT app (after I wrap them). I
> tried this by modifying the Browser sample 
> app.
> I modified the browser.html file to load the GWT app. The GWT app is
> trivial, just an entry point with a simple JSNI method that logs a simple
> message via console.log (this part shouldn't break CSP). I tried with and
> without the DirectInstallLinker, the result is a bit better with the
> linker (it reports fewer errors in the app console) but it does not work
> either way.
> I didn't get the part about the "loaders".
> Thanks for your help.
>
> On Sunday, February 9, 2014 3:18:42 PM UTC+1, Andrew Mackenzie wrote:
>>
>> I've developed a Chrome extension using mainly GWT, but it's mostly
>> loaded by the extension remotely (loading JS handcrafted). It's mainly a
>> build/packaging problem. GWT will build the JS for you and the "loaders"
>> then you have to include into your extension file hierarchy in your build,
>> and load as you desire.
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/Y1pPOVZmeoU/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


CSS

2014-02-10 Thread ghinta
Hi everyone, 
I have a rookie problem: i have my project of widgetset, my packaget 
a.b.c.myWidgetset and in the in the war root eclipse created for me an html 
and a css.
The war (will be a jar when finished) is then used for a different project 
but seems that no matter what I change in my css when I explore the page at 
runtime a brand new is deployed and I lose any new tag i add.
The question is : why this happens?what can I check? what is the best way 
to add custom css rules, can i add tags in this css and then set from java 
what i need or there's better approach?
I tried reading documentation but I have to confess I didn't understood 
properly because I think the best thing is to use my widgetset css and pack 
it in the jar so it will be distributed with my package but nothing works.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Compose a different grid

2014-02-10 Thread ghinta
Hi, i' trying to develop a grid with vertical headers on the left side but 
scrollbars are making me crazy: 
the idea was to use a scrollable panel (just horizontal scroll) for the 
center area and an external vertical one for all contents, header included 
but in this way the horizontal scroll won't be visible, will be at the 
bottom and then you will need to scroll down to scroll right...
Ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


General Tips / Layout Guidance

2014-02-10 Thread Steven Wallace
Hi all. Please excuse me as GWT is a fairly new thing for me. However, I've 
been tasked with developing additional functionality to an existing portal my 
company has developed/is developing in GWT. The portal I am talking about will 
be a portlet based portal (ie. a bunch of smaller portlet type 
containers/windows within a main portal that may contain "whatever" content). 
The main portal layout may be fully built using GWT widgets, however, it may 
also be a mixture of widgets and standard html via htmlpanels (the point is, 
the exact design of the outer part of the portal is likely to be completed by a 
different team and is thus out of my control and not yet fully specified). I've 
been playing around with some example portlets that may plug into such a portal 
and am discovering that some of my custom built widgets or cell widgets 
(composites) work just fine when added to the RootPanel or RootLayoutPanel 
however sometimes the don't display/render correctly or at all when I add them 
to a mock up portal i created and i end up having to explicitly set the size of 
some of the containers holding them to get them to render correctly similar 
to what we've seen in some previous posts, generally it's all just a bit 
fiddly. Anyway... my question is does anyone have any tips or suggestions 
for moving forward with this type of project? I'm not looking for an answer to 
anything in particular it would just be nice to hear of any pointers up 
front before I get fully started on this. Thanks, and any suggestions would be 
greatly appreciated. 😄 Thanks again!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Cannot remove Cookie when Domain starts with Dot

2014-02-10 Thread Steffi Müller
I have a problem with deleting cookies. 

When I set a cookie like this: 

Cookies.setCookie(LOGIN_COOKIE_NAME, value, expires);

I get a cookie with domain *www.test.com*

When I set a cookie like this: 

String domain = "www.test.com";
Cookies.setCookie(LOGIN_COOKIE_NAME, value, expires, domain, "/", false);

I get a cookie with domain *.www.test.com   (note that there is a dot in 
front of the www)*

The problem is that I cannot delete the cookie with: 

Cookies.removeCookie(LOGIN_COOKIE_NAME, "/");

or

Cookies.removeCookie(LOGIN_COOKIE_NAME);


There might be some problem with the dot. Does anyone know how to solve it?


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


How to do validations in GWT MVP Pattern

2014-02-10 Thread Akhil Anil
I've developed a gwt application using MVP pattern ( View, Presenter). I 
need to add validation to my application but some stackoverflow links 
says
 
that gwt mvp cannot have validations framework. I'm totally blown out.. i 
mean there has to be some way. Could someone please show me some tutorials 
or examples on how I can implement validations in a gwt applicaitons with 
mvp pattern. 

Thanks in advance...



-- 

Thanks and regards

May God Bless us!

*AkH!L.*

*http://akhilspassion.blogspot.com * 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to do validations in GWT MVP Pattern

2014-02-10 Thread Jens
GWT supports/emulates JSR 303 (Bean Validation) on the 
client: http://www.gwtproject.org/doc/latest/DevGuideValidation.html

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Emulation for java.io

2014-02-10 Thread Thomas Broyer


On Saturday, February 8, 2014 9:16:49 PM UTC+1, V.B. wrote:
>
> Hi Thomas,
>Side note: I love that you're so active on this forum. Keep up the 
> great work.
>
> Refactoring, of course, is ideal when possible. However, refactoring is 
> not always an option. Who among us hasn't had to rely on code that we don't 
> control or own? The pieces of code we would like to use client-side fall 
> into that category. The performance issue you mentioned, for us a least, 
> would be a welcome change over the long-term headache of maintaining 
> wrappers/parallel classes/parallel hierarchies/etc.
>

I have some very old code (2008-2009) that emulated java.io in Adobe 
AIR: 
https://code.google.com/p/gwt-in-the-air/source/browse/trunk/super/net/ltgt/gwt/air/emul/java/io/
And the Quake 2 port has some emulation code 
too: 
https://code.google.com/p/quake2-gwt-port/source/browse/src/com/google/gwt/corp/emul/java/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Accessing development system from another machine

2014-02-10 Thread Jens

>
> 1.  For some reason I am no longer able to access the app from the 
> development machine itself.  I get "Plugin failed to connect to Development 
> Mode server at 192.168.0.2:9997.  Not important for my purposes.
>

Have you added the new IP to your list of allowed IPs for the GWT browser 
plugin? You can do this in the GWT browser plugin settings.

 

> 2.  I can now access it from the other machine but, perhaps not 
> surprisingly, IE fails on the GWT plugin bit.
>

Hm for us its working. We have virtual machines with Windows XP - 8 and IE 
8 - 11 from http://modern.ie to debug our app in IE.


-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Accessing development system from another machine

2014-02-10 Thread Jens

>
> I also spent a bunch of time reading and experimenting with SuperDevMode. 
>  I see that DevMode plugins are likely to disappear soon, and since 
> SuperDevMode doesn't require a plugin, we need to move to SuperDevMode 
> soon.  I spent a bunch of time trying to get SuperDevMode working 
> unsuccessfully.  I left off at the point where I discovered that you need 
> two servers running - one for the app - and one for the debug code.  I had 
> trouble coordinating all this with intellij alone.  Not sure if I need a 
> separate tomcat running or intellij can handle both servers.  I suppose 
> this is a project for another day.
>

Yes you need a second server to serve your GWT host page and bootstrap file 
(app.nocache.js). This can be a local installed Apache / Nginx pointing to 
your project's war folder or you can configure a new artifact in IntelliJ 
and deploy it on a server of your choice. Just make sure that GWT compile 
output is deployed so that the server serves an up to date app.nocache.js.

After SuperDevMode is enabled, everything else will be loaded from the 
SuperDevMode code server that is responsible for recompiling your app. 

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


sessions ids getting overwritten for same user

2014-02-10 Thread aditi
User A logs in with valid credentials and a session id is generated for 
user A. -  this operation is done on tab 1
Same user opens a new tab in same browser and launch the application again 
and is directed to login screen.
After logging in, we observe that new session id is created for user A. -  
this operation is done on tab 2
 
Now whenever user performs any operation in tab 1, session id of tab 2 is 
seen. 
Due to which we are facing issue of data overlapping.
 
Not able to understand why in first place the latest created session are 
getting carried over to all tabs. Is there something we need to take care 
as part of session management at server side?
 
Please suggest

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: java.lang.Exception' threw an unexpected exception: java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat

2014-02-10 Thread Davide Micheletti
Solved!!!.. Thanks for help!


On Fri, Feb 7, 2014 at 9:13 PM, Davide Micheletti
wrote:

> ok.. Thanks..
>
>
> On Fri, Feb 7, 2014 at 9:10 PM, Jens  wrote:
>
>> CalendarUtil is a GWT class that can not be used on the server. Use
>> java.util.Calendar or JodaTime library.
>>
>> You can avoid these issues by not blindly use classes available in
>> Eclipse/IntelliJ. Only classes from jar files in war/WEB-INF/lib are
>> available on the server.
>>
>> --  J.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-web-toolkit+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Development Guidance

2014-02-10 Thread Steven Wallace
Hi all. My team and I have been tasked with developing some sub 
functionality for a portal my company is developing and we are being asked 
to do it in GWT. Basically, this portal will be a typical portal with 
portlets (sub-containers) containing specific functionality. Having been 
working with GWT for only a short time, I am discovering that it can be 
quite fiddly when trying to get layouts to render as expected, especially 
when a mixture of HTML and GWT Widgets are being used (e.g. using an 
HTMLPanel). I have managed to work around some of these issues by either 
using layout panels up to the RootPanel or by explicitly setting the sizes 
of particular containers, however, I was just curious if anyone had any 
tips or suggestions for taking this bit of work forward. Has anyone learned 
any lessons they would like to share? Just a side note, my team will most 
likely not be developing the outer part of the portal, thus I cannot 
guarantee if it will be widget or html based, we will be doing some of the 
portlets. Thanks, any comments/suggestions are welcome!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Support for ARIA in CustomWidget (UiBinder) in SuperDevMode

2014-02-10 Thread Beniton Fernando
Hi ,

I have a custom widget which act like a checkbox. Now i want set role as 
check box  through UiBinder like


...

The works perfectly fine in GWT development mode. But when i try to run in 
SuperDevMode, it is not compiling.

give me following error

[ERROR] Class Checkbox has no appropriate setRole() method...

Am i missing anything? Why it is behaving different in SuperDevMode.

Regards,
Beniton


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Support for ARIA in CustomWidget (UiBinder) in SuperDevMode

2014-02-10 Thread Thomas Broyer
There's no reason it would behave differently; it should also fail in 
DevMode.

On Monday, February 10, 2014 12:35:08 PM UTC+1, Beniton Fernando wrote:
>
> Hi ,
>
> I have a custom widget which act like a checkbox. Now i want set role as 
> check box  through UiBinder like
>
> 
> ...
>
> The works perfectly fine in GWT development mode. But when i try to run in 
> SuperDevMode, it is not compiling.
>
> give me following error
>
> [ERROR] Class Checkbox has no appropriate setRole() method...
>
> Am i missing anything? Why it is behaving different in SuperDevMode.
>
> Regards,
> Beniton
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Support for ARIA in CustomWidget (UiBinder) in SuperDevMode

2014-02-10 Thread Beniton Fernando
But it is not failing in DevMode.

On Monday, 10 February 2014 17:11:20 UTC+5:30, Thomas Broyer wrote:
>
> There's no reason it would behave differently; it should also fail in 
> DevMode.
>
> On Monday, February 10, 2014 12:35:08 PM UTC+1, Beniton Fernando wrote:
>>
>> Hi ,
>>
>> I have a custom widget which act like a checkbox. Now i want set role as 
>> check box  through UiBinder like
>>
>> 
>> ...
>>
>> The works perfectly fine in GWT development mode. But when i try to run 
>> in SuperDevMode, it is not compiling.
>>
>> give me following error
>>
>> [ERROR] Class Checkbox has no appropriate setRole() method...
>>
>> Am i missing anything? Why it is behaving different in SuperDevMode.
>>
>> Regards,
>> Beniton
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Support for ARIA in CustomWidget (UiBinder) in SuperDevMode

2014-02-10 Thread Beniton Fernando
Sorry Thomas my mistake. I was using a BeanParser patch in DevMode. which i 
forgot to use in SuperDevMode.

Thanks for your help.
Beniton

On Monday, 10 February 2014 17:15:40 UTC+5:30, Beniton Fernando wrote:
>
> But it is not failing in DevMode.
>
> On Monday, 10 February 2014 17:11:20 UTC+5:30, Thomas Broyer wrote:
>>
>> There's no reason it would behave differently; it should also fail in 
>> DevMode.
>>
>> On Monday, February 10, 2014 12:35:08 PM UTC+1, Beniton Fernando wrote:
>>>
>>> Hi ,
>>>
>>> I have a custom widget which act like a checkbox. Now i want set role as 
>>> check box  through UiBinder like
>>>
>>> 
>>> ...
>>>
>>> The works perfectly fine in GWT development mode. But when i try to run 
>>> in SuperDevMode, it is not compiling.
>>>
>>> give me following error
>>>
>>> [ERROR] Class Checkbox has no appropriate setRole() method...
>>>
>>> Am i missing anything? Why it is behaving different in SuperDevMode.
>>>
>>> Regards,
>>> Beniton
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to do validations in GWT MVP Pattern

2014-02-10 Thread RyanZA
Slightly off topic, but do you know if the hibernate-validation support 
will be upgraded to version hibernate validator 5? 

hibernate-validator-4.1.0.Final.jar requires on an old slf4j, and it plays 
a bit of havoc when including it in projects that require modern sl4j.


On Monday, February 10, 2014 11:17:04 AM UTC+2, Jens wrote:
>
> GWT supports/emulates JSR 303 (Bean Validation) on the client: 
> http://www.gwtproject.org/doc/latest/DevGuideValidation.html
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT 2.6.0 / Java 6: UnsupportedClassVersionError in DevMode

2014-02-10 Thread Timo Hoepfner
Hi,

I recently updated to GWT 2.6.0. Since then I'm getting a 
UnsupportedClassVersionError in (regular) DevMode at runtime. A regular 
compile works fine. Explicitly setting the sourceLevel in der DevMode 
launcher arguments (-sourceLevel 6 or -sourceLevel 1.6) doesn't help. 
Changing the DevMode JRE to 7 works around the problem. 

I'm using Firefox ESR 24.3.0.

Here's the full error:

14:17:50.548 [ERROR] [ajaxadmin] 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.UserAgent' (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:72)
at com.google.gwt.core.client.GWT.create(GWT.java:86)
at 
com.google.gwt.useragent.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:41)
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:411)
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:695)
Caused by: java.lang.UnsupportedClassVersionError: 
com/google/gwt/useragent/client/UserAgentImplGecko1_8 : Unsupported 
major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
at 
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1121)
at 
com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1194)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at 
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:670)
at 
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:473)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.shared.GWT.create(GWT.java:72)
at com.google.gwt.core.client.GWT.create(GWT.java:86)
at 
com.google.gwt.useragent.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:41)
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:411)
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:695)

Is there anything I can do about that?

Thanks for your help,

Timo

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Support for ARIA in CustomWidget (UiBinder) in SuperDevMode

2014-02-10 Thread Naveen Ng
Hi all.

I want to know about  GWT  vs  AngularJs..   Which is better.? and reason
beyond better ?

Thanks.
Naveen.


On Mon, Feb 10, 2014 at 5:59 PM, Beniton Fernando  wrote:

> Sorry Thomas my mistake. I was using a BeanParser patch in DevMode. which
> i forgot to use in SuperDevMode.
>
> Thanks for your help.
> Beniton
>
>
> On Monday, 10 February 2014 17:15:40 UTC+5:30, Beniton Fernando wrote:
>>
>> But it is not failing in DevMode.
>>
>> On Monday, 10 February 2014 17:11:20 UTC+5:30, Thomas Broyer wrote:
>>>
>>> There's no reason it would behave differently; it should also fail in
>>> DevMode.
>>>
>>> On Monday, February 10, 2014 12:35:08 PM UTC+1, Beniton Fernando wrote:

 Hi ,

 I have a custom widget which act like a checkbox. Now i want set role
 as check box  through UiBinder like

 
 ...

 The works perfectly fine in GWT development mode. But when i try to run
 in SuperDevMode, it is not compiling.

 give me following error

 [ERROR] Class Checkbox has no appropriate setRole() method...

 Am i missing anything? Why it is behaving different in SuperDevMode.

 Regards,
 Beniton


  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Accessing development system from another machine

2014-02-10 Thread Blake McBride
Thank you very much!  I'll give it a try soon.

Thanks!

Blake



On Mon, Feb 10, 2014 at 3:50 AM, Jens  wrote:

> I also spent a bunch of time reading and experimenting with SuperDevMode.
>>  I see that DevMode plugins are likely to disappear soon, and since
>> SuperDevMode doesn't require a plugin, we need to move to SuperDevMode
>> soon.  I spent a bunch of time trying to get SuperDevMode working
>> unsuccessfully.  I left off at the point where I discovered that you need
>> two servers running - one for the app - and one for the debug code.  I had
>> trouble coordinating all this with intellij alone.  Not sure if I need a
>> separate tomcat running or intellij can handle both servers.  I suppose
>> this is a project for another day.
>>
>
> Yes you need a second server to serve your GWT host page and bootstrap
> file (app.nocache.js). This can be a local installed Apache / Nginx
> pointing to your project's war folder or you can configure a new artifact
> in IntelliJ and deploy it on a server of your choice. Just make sure that
> GWT compile output is deployed so that the server serves an up to date
> app.nocache.js.
>
> After SuperDevMode is enabled, everything else will be loaded from the
> SuperDevMode code server that is responsible for recompiling your app.
>
> -- J.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to do validations in GWT MVP Pattern

2014-02-10 Thread Jens

>
> Slightly off topic, but do you know if the hibernate-validation support 
> will be upgraded to version hibernate validator 5? 
>
> hibernate-validator-4.1.0.Final.jar requires on an old slf4j, and it plays 
> a bit of havoc when including it in projects that require modern sl4j.
>

I don't think anyone is working on it, 
see: https://code.google.com/p/google-web-toolkit/issues/detail?id=7661 .

However you can solve your issue by creating separate projects for client 
and server side which is kind of a good practice anyways. That way server 
libs do not interference with client libs.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to do validations in GWT MVP Pattern

2014-02-10 Thread Ryan Chazen
Yeah I have it working like that already, but it's still unfortunate. Maybe
the best long term bet is to not use JSR 303 at all? It adds a bit more
boilerplate code though.



On Mon, Feb 10, 2014 at 3:51 PM, Jens  wrote:

> Slightly off topic, but do you know if the hibernate-validation support
>> will be upgraded to version hibernate validator 5?
>>
>> hibernate-validator-4.1.0.Final.jar requires on an old slf4j, and it
>> plays a bit of havoc when including it in projects that require modern sl4j.
>>
>
> I don't think anyone is working on it, see:
> https://code.google.com/p/google-web-toolkit/issues/detail?id=7661 .
>
> However you can solve your issue by creating separate projects for client
> and server side which is kind of a good practice anyways. That way server
> libs do not interference with client libs.
>
> -- J.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/Vl0AFw486Tw/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: sessions ids getting overwritten for same user

2014-02-10 Thread Thomas Broyer


On Monday, February 10, 2014 11:13:50 AM UTC+1, aditi wrote:
>
> User A logs in with valid credentials and a session id is generated for 
> user A. -  this operation is done on tab 1
> Same user opens a new tab in same browser and launch the application again 
> and is directed to login screen.
> After logging in, we observe that new session id is created for user A. -  
> this operation is done on tab 2
>  
> Now whenever user performs any operation in tab 1, session id of tab 2 is 
> seen. 
> Due to which we are facing issue of data overlapping.
>  
> Not able to understand why in first place the latest created session are 
> getting carried over to all tabs.
>

Because you're using cookies, probably.
 

> Is there something we need to take care as part of session management at 
> server side?
>

You shouldn't use "sessions" (as in, javax.servlet.http.HttpSession), 
except possibly as a mean of identifying a logged-in user (rather than roll 
your own).

Next, if you do use cookies (and you probably will, whether consciously or 
not, whether willfully or not), then keep in mind that a cookie is shared 
with the whole browser on the client side. That means that when you open a 
new tab in the same browser and "launch the application again", you should 
be automatically signed-in (because the browser sends the cookie for the 
session you first created in the first tab), *not* directed to the login 
screen. If you *do* want that latter behavior (login per tab, rather than 
per-browser), then do not use cookies, and do not use "sessions" 
(javax.servlet.http.HttpSession) on the server side: issue a "token" that 
the GWT app will send with each request and can be verified on the server 
side (which probably means it should be stored in some database/datastore, 
but not necessarily, if you use a signature mechanism instead; server-side 
storage of the token however means you can revoke it at any time, which can 
be a great feature [1]), this is your "session", manually managed, 
cookie-less session.

[1] See https://github.com/blog/1661-modeling-your-app-s-user-session for a 
discussion on the subject

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Cannot remove Cookie when Domain starts with Dot

2014-02-10 Thread Thomas Broyer
The way you remove cookies in browsers is that you set them with a past 
expiration date. removeCookie(String) works great when you used 
setCookie(String,String) or setCookie(String,String,Date) to create the 
cookie, but as soon as you use other parameters, you have to pass them back 
with the exact same values (except for the cookie value and the expiration 
date of course) to overwrite an existing cookie, possibly expiring it (i.e. 
removing it).

On Monday, February 10, 2014 1:17:34 AM UTC+1, Steffi Müller wrote:
>
> I have a problem with deleting cookies. 
>
> When I set a cookie like this: 
>
> Cookies.setCookie(LOGIN_COOKIE_NAME, value, expires);
>
> I get a cookie with domain *www.test.com *
>
> When I set a cookie like this: 
>
> String domain = "www.test.com";
> Cookies.setCookie(LOGIN_COOKIE_NAME, value, expires, domain, "/", false);
>
> I get a cookie with domain *.www.test.com    (note 
> that there is a dot in front of the www)*
>
> The problem is that I cannot delete the cookie with: 
>
> Cookies.removeCookie(LOGIN_COOKIE_NAME, "/");
>
> or
>
> Cookies.removeCookie(LOGIN_COOKIE_NAME);
>
>
> There might be some problem with the dot. Does anyone know how to solve it?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Blocked request without GWT permutation header (XSRF attack?)

2014-02-10 Thread lukasz . medrzycki
hi, 
I have exception 'Blocked request without GWT permutation header (XSRF 
attack?)' when I trying start my test performance. How can I resolve this 
problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Design database gwt application

2014-02-10 Thread Đinh Hoàng Lương
Hi all!

This is my gwt application. It allow to design CDM and PDM model. 
It's my graduation thesis. I just research, I don't It's really useful.
Please teach me your idea. 

Thanks
Luong Dinh

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to do validations in GWT MVP Pattern

2014-02-10 Thread Thomas Broyer


On Monday, February 10, 2014 3:03:32 PM UTC+1, RyanZA wrote:
>
> Yeah I have it working like that already, but it's still unfortunate. 
> Maybe the best long term bet is to not use JSR 303 at all? It adds a bit 
> more boilerplate code though.
>

No one maintains JSR 303 emulation; so if you're not ready to contribute to 
it, not using it might be safer (I'd prefer you use and contribute to it 
though :) ) 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Blocked request without GWT permutation header (XSRF attack?)

2014-02-10 Thread Jens
Add HTTP header x-gwt-permutation and you probably also want to add 
x-gwt-module-base.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: sessions ids getting overwritten for same user

2014-02-10 Thread aditi
Thanks Thomas!
That helped me to understand this better.
Ideally, we should allow the user to automatically get into the application 
who has already logged in (per broswer).
But server code generates session id with every launch of application sets 
the value in cookie SESSIONID.

Please suggest how should we handle that?

On Monday, February 10, 2014 7:57:08 PM UTC+5:30, Thomas Broyer wrote:
>
>
>
> On Monday, February 10, 2014 11:13:50 AM UTC+1, aditi wrote:
>>
>> User A logs in with valid credentials and a session id is generated for 
>> user A. -  this operation is done on tab 1
>> Same user opens a new tab in same browser and launch the application 
>> again and is directed to login screen.
>> After logging in, we observe that new session id is created for user A. 
>> -  this operation is done on tab 2
>>  
>> Now whenever user performs any operation in tab 1, session id of tab 2 is 
>> seen. 
>> Due to which we are facing issue of data overlapping.
>>  
>> Not able to understand why in first place the latest created session are 
>> getting carried over to all tabs.
>>
>
> Because you're using cookies, probably.
>  
>
>> Is there something we need to take care as part of session management at 
>> server side?
>>
>
> You shouldn't use "sessions" (as in, javax.servlet.http.HttpSession), 
> except possibly as a mean of identifying a logged-in user (rather than roll 
> your own).
>
> Next, if you do use cookies (and you probably will, whether consciously or 
> not, whether willfully or not), then keep in mind that a cookie is shared 
> with the whole browser on the client side. That means that when you open a 
> new tab in the same browser and "launch the application again", you should 
> be automatically signed-in (because the browser sends the cookie for the 
> session you first created in the first tab), *not* directed to the login 
> screen. If you *do* want that latter behavior (login per tab, rather than 
> per-browser), then do not use cookies, and do not use "sessions" 
> (javax.servlet.http.HttpSession) on the server side: issue a "token" that 
> the GWT app will send with each request and can be verified on the server 
> side (which probably means it should be stored in some database/datastore, 
> but not necessarily, if you use a signature mechanism instead; server-side 
> storage of the token however means you can revoke it at any time, which can 
> be a great feature [1]), this is your "session", manually managed, 
> cookie-less session.
>
> [1] See https://github.com/blog/1661-modeling-your-app-s-user-session for 
> a discussion on the subject
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: sessions ids getting overwritten for same user

2014-02-10 Thread Thomas Broyer
[back to the group]


On Mon, Feb 10, 2014 at 4:40 PM, aditi <17.ad...@gmail.com> wrote:

>
>
> Thanks Thomas! That made it a little better for me.
> Actually I should allow user automatically get into the application when
> logged in once in the same browser as you mentioned too.
> But the code at the server side generates session id and sets the value in
> cookie SESSIONID and overwrites the previous value.
> How should I stop doing that,.
>

You shouldn't; generating a new session just after you verified the user's
credentials is a good practice.
What you should do is check that there's a session before displaying the
login screen; but then it depends what "displaying the login screen" means
in your app.
The easiest way to do it is to just use a  in your web.xml so
you don't have to do anything in your GWT app: when the app loads, you can
be sure that the user is authenticated (note: you should probably also
setup an XSRF protection). What I like to do is to use a dynamic host page
where I can generate some script with information about the current user,
that will be read by the GWT app using a Dictionary or JSNI (you can also
generate an XSRF token and pass it to the app that way).
See the gwt-rf-activity archetype in
https://github.com/tbroyer/gwt-maven-archetypes, which does just that.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


(Eclipse) UML Class Diagram plugin to generate JPA DTO's for GAE (e. g. HiberObjects)?

2014-02-10 Thread Martin Oelrichs

Two questions regarding that matter: 

1: 
After some research I come around 
HiberObjectswhich seems 
promising at the first glance because "HiberObjects 
is a UML tool for programmers, especially suited for Hibernate, JPA, GWT 
and Grails.".

I'm on the brink to try it out but one of the things that make me think is 
that the example on the linked HiberObjects website uses GWT 1.5. 

I wonder if HiberObjects is still up to date and if there are any 
recommendations if it would be a good idea to use it. 


2: 
In the Eclipse Marketplace are lots of different tools and I don't know 
what one I should choose in order to maintain GWT compatibility (including 
RequestFactory pattern). 

Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT 2.6.0 / Java 6: UnsupportedClassVersionError in DevMode

2014-02-10 Thread Boris Lenzinger
Hi,

This is because you are executing the code with a JRE that is not
compatible with this class version. Probably you are using a 1.6 jre and
the class is compatible from 1.7. You have to recompile the code with a 1.6
JDK or you have to change the JRE that is executing the code to a 1.7.

If you are under Eclipse, check the JRE that is used when executing the dev
mode. To do so in eclipse, open Run Menu, then Run Configuration and select
your launcher. Then check what is the default JRE that is used for running
this. The problem may be is there.

Boris


2014-02-10 14:29 GMT+01:00 Timo Hoepfner :

> Hi,
>
> I recently updated to GWT 2.6.0. Since then I'm getting a
> UnsupportedClassVersionError in (regular) DevMode at runtime. A regular
> compile works fine. Explicitly setting the sourceLevel in der DevMode
> launcher arguments (-sourceLevel 6 or -sourceLevel 1.6) doesn't help.
> Changing the DevMode JRE to 7 works around the problem.
>
> I'm using Firefox ESR 24.3.0.
>
> Here's the full error:
>
> 14:17:50.548 [ERROR] [ajaxadmin] 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.UserAgent' (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:72)
> at com.google.gwt.core.client.GWT.create(GWT.java:86)
> at
> com.google.gwt.useragent.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:41)
> 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:411)
> 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:695)
> Caused by: java.lang.UnsupportedClassVersionError:
> com/google/gwt/useragent/client/UserAgentImplGecko1_8 : Unsupported
> major.minor version 51.0
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
> at
> com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1121)
> at
> com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1194)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:249)
> at
> com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:670)
> at
> com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:473)
> at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
> at com.google.gwt.core.shared.GWT.create(GWT.java:72)
> at com.google.gwt.core.client.GWT.create(GWT.java:86)
> at
> com.google.gwt.useragent.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:41)
> 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:411)
> 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:695)
>
> Is there anything I can do about that?
>
> Thanks for your help,
>
> Timo
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To

Re: GWT application not loading on chrome box

2014-02-10 Thread Rogelio Flores
If you can't get a chrombox to test with, you might want to try running 
ChromeOS on a virtual machine just for testing purposes.


On Thursday, February 6, 2014 4:15:56 PM UTC-5, NK wrote:
>
> We have a web application developed in GWT. One of our customer complained 
> that our application is not loading on his Samsung chrome-box , while it 
> work on normal chrome browser on desktop. We are not able to reason out 
> what is causing this. As we do not have  a chromebox with us, we are not 
> able test. Any help on this issue will be greatly appreciated.
>
> Regards
>
> Nagin
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


SDM Source Maps Out of Sync?

2014-02-10 Thread Roger Armstrong
So, I've run across a very curious problem today, and I'm hoping that 
someone here might be able to offer some direction.

When trying to set breakpoints in the java source code using DevTools after 
entering Super Dev Mode, I was having the issue that the execution would 
simply steamroll right over the breakpoint without stopping.

I tried to counter this by creating a static JSNI function that simply 
calls "debugger" in native JS, and then inserting a call to that function 
in the java code. Now, here's where it gets weird. Code execution reaches 
the call to the debug function and pauses just like it should -- BUT -- the 
highlighted line where the execution is paused is several lines *below* the 
line it should be on, sometimes even in the middle of a completely 
unrelated function.

The call stack shows the correct function name, though it has the wrong 
line number, and stepping through the code shows that it is progressing 
through the code correctly despite the highlighted lines being wrong.  This 
makes me think the initial problem was more to do with the debugger 
thinking the breakpoint I'd set wasn't on the line I set it on, and 
therefore never registered it being hit.

So, is there anything I can do to figure out why the execution and call 
stack would be correct but the source code be incorrectly highlighted? Is 
there a way that the source maps could be out of sync or somehow offset?

Thanks in advance,
Roger

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: gwt 2.6 SuperDevMode and injected css problem

2014-02-10 Thread Colin Alworth
With Super Dev Mode off, the browser simply loads the compiled code from
the regular web server, so this suggests that either Super Dev Mode is
being used as your regular server (and so only one copy of the app is
available at a time, for the last browser it compiled for), or your normal
compiled app is being compiled with those browsers turned off. The fact
that SDM is able to generate code for those browsers suggests that the code
itself is fine, and that either your project simply needs to be recompiled,
or properties are set up in your .gwt.xml to exclude those browsers.
Without seeing code or the running app, it is hard to be more specific.


On Sat, Feb 8, 2014 at 11:50 PM, Vassilis Virvilis wrote:

> Hi Colin,
>
> The problem is when DevMod is off. As I said when when DevMod is on (with
> compile) everything works in all browsers. However when I am not developing
> I would expect that site would be working with the version of software
> currently deployed for all browsers and not only chrome.
>
> Right now I am getting blank pages in firefox and IE.
>
>Vassilis
>
>
> On 02/08/14 03:07, Colin Alworth wrote:
>
>> Can you confirm that you are hitting the Compile button in each browser
>> and that the SDM console is indicating that it is recompiling for each
>> other user agent? It sounds as though you might be compiling when you start
>> up one browser, then just turning dev mode on without recompiling in other
>> browsers.
>>
>> On Friday, February 7, 2014 4:25:18 PM UTC-6, Vassilis Virvilis wrote:
>>
>> Helo everybody,
>>
>> I have enabled super dev mode and it works ok in chrome but fails in
>> firefox and internet explorer.
>>
>> More specifically
>>
>> I added
>>  >  value="true" />
>>  
>>  
>>
>> in my gwt.xml
>>
>> My application requires some css to be injected with
>>
>>  Resources.INSTANCE.css().ensureInjected();
>>
>> which I do as the first thing in onModuleLoad()
>>
>> When dev mode is on (the bookmartlet) everything is working in all
>> browsers
>> When dev mode if off only chrome is working. In firefox and IE css
>> resources are not injected.
>>
>> Any ideas?
>>
>>   Vassilis
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.