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 a

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 o

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

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

(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

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

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 h

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

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 n

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" gro

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

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 ex

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

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 thi

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 plugi

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

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

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,

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

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

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

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

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 i

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

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 pl

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

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 fr

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 f

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,

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

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 wh

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

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 m