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 slice.of.life@gmail.com wrote: I am not sure I understood well but it seems that you loaded the GWT app in a webview or something

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

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

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

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,

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 http://stackoverflow.com/questions/5655775/tutorial-on-setting-up-gwt-validation-framework-for-a-simple-appsays that gwt mvp cannot have validations

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

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

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?

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

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

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 d.michelett...@gmail.comwrote: ok.. Thanks.. On Fri, Feb 7, 2014 at 9:10 PM, Jens jens.nehlme...@gmail.com wrote: CalendarUtil is a GWT class that can not be used on the server. Use java.util.Calendar or

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

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 my:Checkbox role=checkbox ui:Field=ee ... The works perfectly fine in GWT development mode. But when i try to run in SuperDevMode, it is not compiling. give me following error

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 my:Checkbox role=checkbox

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

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,

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,

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

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 beni...@gmail.com wrote: Sorry Thomas my mistake. I was using a BeanParser patch in DevMode. which i forgot to use in

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 jens.nehlme...@gmail.com 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

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 jens.nehlme...@gmail.com wrote: Slightly off topic, but do you know if the

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.

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

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

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

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

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

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

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

(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 HiberObjectshttp://www.objectgeneration.com/eclipse/index.htmlwhich seems promising at the first glance because HiberObjects is a UML tool for programmers, especially suited for Hibernate, JPA, GWT and Grails.. I'm

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

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

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

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

[gwt-contrib] I am getting ClassCastException on my app production code, but not on dev mode.

2014-02-10 Thread Mohammad Al Quraian
Hi, I am developing multiple apps with similar structure, they're working fine except for 2. They give me the following error on production mode only: Uncaught java.lang.runtimeexception: java.lang.ClassCastException This is the compiled code that throws the exception: function

[gwt-contrib] Re: GWT + Maven - Using gwt-dev package as dependency

2014-02-10 Thread Gilberto Torrezan Filho
Thank you Thomas and Colin for your replies. Thomas, sorry for posting in the wrong place. I didn't even know there is a gwt-maven-plugin users group... thanks for pointing that out! Working with separated projects with GWT, Maven, Eclipse (and his friends - the plugins!) and App Engine is

[gwt-contrib] ModuleDefLoader changes and CompilerContext

2014-02-10 Thread Colin Alworth
Just watched https://gwt-review.googlesource.com/#/c/6342/ wander by, but I've also seen this trying to understand the general compiler changes that are happening in trunk gwt - is the CompilerContext really an essential part of ModuleDefLoader in general? From what I can see it is tracked as a

Re: [gwt-contrib] ModuleDefLoader changes and CompilerContext

2014-02-10 Thread John Stalcup
On Mon, Feb 10, 2014 at 2:57 PM, Colin Alworth niloc...@gmail.com wrote: Just watched https://gwt-review.googlesource.com/#/c/6342/ wander by, but I've also seen this trying to understand the general compiler changes that are happening in trunk gwt - is the CompilerContext really an essential

Re: [gwt-contrib] ModuleDefLoader changes and CompilerContext

2014-02-10 Thread Colin Alworth
Thanks for the reply - I'll keep watching ;). W.R.T. designer, since existing installs are already broken and GWT 3+ is going to again remove these deprecated methods, wouldn't it make more sense to upgrade designer rather than downgrade ModuleDefLoader/DOM? (Keeping in mind that I don't know

Re: [gwt-contrib] ModuleDefLoader changes and CompilerContext

2014-02-10 Thread John Stalcup
the ModuleDefLoader/DOM downgrade was in the GWT 2.6 release branch only (since 2.6 is strictly expected to maintain compatibility). The GWT 3.0 branch was not changed. GWT 3.0 is more open to backwards incompatible changes and I agree/fully expect that for the 3.0 release the right thing to do