Session IDs, user credentials, and distributed deployment

2010-07-23 Thread dane.molotok
I'm stuck on how to implement the server-side code for my app. At app startup I want to authenticate the user, leave the credentials on the server side and use the session ID for the client to make future calls that need to be authenticated, in lieu of sending the user credentials over the wire for

Diagramming Library

2010-07-23 Thread David Vree
Does anyone know of a GWT-based diagramming tool for creating visio- like diagrams? I found a javascript library called mxGraph, which *seems* perfect: http://www.jgraph.com/mxgraph.html But it doesn't have a GWT wrapper and in their documentation they say this: "In summary, consider GWT for si

Re: EclEmma + GwtTestCase + GwtGenerator exception

2010-07-23 Thread Gal Dolber
The exception happens in the Generator... generate(TreeLogger logger ..) throw UnableToCompleteException { throw new UnableToCompleteException(); } 2010/7/23 mP > Wheres the stacktrace ? wheres the problem description ? A little help > might encourage someone to respond or fix the problem. > >

Re: EclEmma + GwtTestCase + GwtGenerator exception

2010-07-23 Thread mP
Wheres the stacktrace ? wheres the problem description ? A little help might encourage someone to respond or fix the problem. -- 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-tool...@googlegro

Re: Creating a separate GWT servlet page

2010-07-23 Thread mkh
You can certainly define multiple modules in one web app. I use Intellij IDEA, and this is as simple as hitting Alt-Insert and picking GWT/ Module. The downside of doing this is the GWT compile time goes up directly with the number of modules since each is processed independently. On Jul 23, 2:45

Re: support F5 to load current page

2010-07-23 Thread Ahmed Shoeib
so you mean that i can't validate that when the user refresh the current history token not return to the first page ? On Jul 22, 10:27 pm, Thomas Broyer wrote: > On 22 juil, 20:05, Ahmed Shoeib wrote: > > > what do you mean by showing another "page" than the expected one > > I hope t

Re: Using preemptive basic authentication with GWT-RPC.

2010-07-23 Thread dane.molotok
Thanks for this post, it gets a 5 star rating. Follow-up question to it, though. What if the server code is distributed? For example, I have a three server cluster running on WebSphere. Will these "standard session techniques" work here, too? I'm with Jorel on this, I'm not sure yet what that mean

Re: Getting elements by ID for UI testing

2010-07-23 Thread dane.molotok
We use selenium. By using the "ensureDebugId' method on any widgets you want to identify during testing, inheriting the Debug module (only for testing, don't ship the code with this module inherited), it makes it much easier to use XPath and selenium. The best part is that GWT compiles away the deb

Re: Creating a separate GWT servlet page

2010-07-23 Thread Irving Ruan
Sorry if that sounded confusing. Hopefully, this puts it in a perspective that can be understood: HTML-Entry Point class associations -- Module1.html - Module1:EntryPoint.class, Module2.html - Module2:EntryPoint.class Would it be possible to create something like that, where you can have two sep

Re: How to create a GWT Library?

2010-07-23 Thread cokol
hi.its fairly easy to do.just google for a gwt module howto On Jul 23, 6:14 pm, nacho wrote: > Hi, i'm looking some info about how to create and package my own gwt's > lib. > > Does anyone know where can i find some tuto? -- You received this message because you are subscribed to the Google Gro

Getting elements by ID for UI testing

2010-07-23 Thread Kyle Baley
We're in the process of adding UI tests to our project with Cucumber and Capybara and it's been a little cumbersome trying to access textboxes with xpath expressions. I've searched on the board and found a way of manually adding IDs to elements with the DOM but I don't like the idea of adding these

How to create a GWT Library?

2010-07-23 Thread nacho
Hi, i'm looking some info about how to create and package my own gwt's lib. Does anyone know where can i find some tuto? -- 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-tool...@googlegroups.

Re: Gradients in css3

2010-07-23 Thread Jyaif
Thanks Gal, it works fine now. On Jul 22, 11:43 pm, Gal Dolber wrote: > thats border radious... for gradients you need to use literal("") > Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4877&can... > > 2010/7/22 lineman78 > > > > > > > You have to escape the beginning dash.  He

Re: DialogBox seems to interfere with scrolling a ScrollPanel when mouse is over a widget...

2010-07-23 Thread dane.molotok
My understanding is that the scroll wheel is like anything else, and only applies to what has focus. So even though your dialog box is open, it somehow doesn't have focus yet. I would start with using DialogBox#setModal(boolean) to see if that helps. On Jul 23, 8:59 am, Asfand Yar Qazi wrote: > S

Re: GWT app looks ugly in IE6

2010-07-23 Thread Christian Goudreau
I still have some with IE7 lol At least it's lesser than with IE6 :D On Fri, Jul 23, 2010 at 10:28 AM, nacho wrote: > Is so easy and free to install FF in any computer, that i don't know > why developers must keep loosing time with IE6. > > When someone's want's a web development we must say "O

Re: GWT app looks ugly in IE6

2010-07-23 Thread nacho
Is so easy and free to install FF in any computer, that i don't know why developers must keep loosing time with IE6. When someone's want's a web development we must say "Ok, but i will not do it IE6 compliant", Google doesn't losses any more time in that, why should we? I don't loose time in that

Re: Draggable widget

2010-07-23 Thread nacho
Are you using Fred Sauer's gwt-dnd? If you are using it, this could help you. Fist at all follow Fred's example: http://code.google.com/p/gwt-dnd/wiki/GettingStarted Now you must make a change to your widgets, first your widget class must implement HasDragHandle. And second i guess that you want

Re: Another Ajax Crawling question, is "#!&" acceptable rather then just "#!" ?

2010-07-23 Thread darkflame
(of course, Id have to code my gwt java to remove the "&" from the history string before processing) On Jul 23, 3:54 pm, darkflame wrote: > Ive noticed that if I change my links to just "#!" google interprets > them as; > "_escaped_fragment_=" > > Which is how its documented. > However, this mean

Re: DialogBox seems to interfere with scrolling a ScrollPanel when mouse is over a widget...

2010-07-23 Thread Asfand Yar Qazi
Sorry to bump this, but nobody knows anything about this? There must be something obvious I'm missing. On Jul 21, 11:24 am, Asfand Yar Qazi wrote: > Hello guys, > > This is ONLY RELEVANT TO GOOGLE CHROME. > > I've been googling for this for a while now, so excuse me if it is a > known issue,

Another Ajax Crawling question, is "#!&" acceptable rather then just "#!" ?

2010-07-23 Thread darkflame
Ive noticed that if I change my links to just "#!" google interprets them as; "_escaped_fragment_=" Which is how its documented. However, this means a php $_GET command cant read the first key/value listed. So; $_GET['DisplayReview'] returns as empty if the url is, say, "? _escaped_fragment_=D

Re: Can you use GWT with the spring framework (spring mvc)?

2010-07-23 Thread Stefan Bachert
Hi, but aware Spring Roo 1.1.0M1 is not useable at all. Not even in a very protected environment. I have seen there is a M2 release now, but I did not tried, yet. Stefan Bachert http::/gwtworld.de Inquiries for professional GWT support are welcome. I am sorry, I won't do free personal support.

Re: gwt-gadgets and maven

2010-07-23 Thread Eric Ayers
I think you should be using the noredist version but that doesn't explain the JavaScript errors you mentioned in the original message. On Jul 23, 2010 9:27 AM, "yoann.per...@gmail.com" wrote: Ok ... but I already add the latest gwt-gadgets (and its dependencies: gwt-ajaxloader) into my own maven

Re: Creating a separate GWT servlet page

2010-07-23 Thread mkh
The notion of pages in a GWT app for someone experiences with a traditional web app (for example, a JSF based app) is definitely a bit confusing. The basic scheme of displaying different panels (in the same page) is the GWT approach, but how would you handle the situation where the "admin" section

Re: GWT app looks ugly in IE6

2010-07-23 Thread Stefan Bachert
Hi to all, There is no need for jsni. http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/Window.Navigator.html Window.Navigator.getNavigator() should do the job. a link to the download page(s) of modern browser may be useful, too. Stefan Bachert http::/gwtwor

Re: gwt-gadgets and maven

2010-07-23 Thread yoann.per...@gmail.com
Ok ... but I already add the latest gwt-gadgets (and its dependencies: gwt-ajaxloader) into my own maven repository. Here is the deployed POMs: 1) gwt-ajaxloader http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:// maven.apache.o

HTML5 Offline GWT APP

2010-07-23 Thread Julio Faerman
Hi, I am trying to build a offline gwt app using HTML5 cache manifest and local storage, but to do that, i need to build the manifest file listing all the GWT generated files, right? Can i do this during the compile process or is it better to do this in a shell script? Thanks, Julio -- You rece

Draggable widget

2010-07-23 Thread rlebosse
Hi everybody, I've lots of widgets (extends Composite) that I would like to be able to drag in the displayed web page? How can I do that? Thanks for your help, Romain -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group,

Re: Jetty login-config realm problems with GWT 2.0

2010-07-23 Thread mkh
Thomas, Thanks for the reply - I could not see a problem with my config but the debugger did not tell me exactly what the problem was... In the link you provided you state: > This is actually the same as if you were using a JASPI custom authentication > in any > JASPI-supporting container (Glas

Re: GWT app looks ugly in IE6

2010-07-23 Thread Christian Goudreau
You could also use that strategie that is only viable with Internet Explorer. http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx Cheers, On Fri, Jul 23, 2010 at 4:07 AM, Sven wrote: > Hi Magnus, > > I do it like this: > >

Re: XSL Transformation, AccessControlException, NoClassDefFoundError and SyntheticRepository

2010-07-23 Thread Jan
Hi, I made further investigations. The strange thing about this error is the fact that AccessControlException occurs for my project's src directory. The path, which the error message specifies, is even an absolute windows path. However, the resource files, which I open inside the program, are loca

Re: Needing help, building a Login

2010-07-23 Thread AlexG
Hi Ladislav, thanks for the link, looks good. Greets Alex On 22 Jul., 10:44, Ladislav Gazo wrote: > Hi Alex, > > maybe you would be interested in integrating security with login on > the client and server side. If so you can check acris-security module > at -http://acris.googlecode.com/ > > BR

Re: problem accessing one composite from another - Urgent help needed if possible

2010-07-23 Thread dlynch
Ok will do, Thanks for the help Kind Regards David On Jul 22, 6:44 pm, cokol wrote: > hi.from architectonical perspective,the response IS A  part of your > wrapping composite therefore ur maininterface should also manage > it.just put the response widget inside > > On Jul 22, 6:20 pm, dlynch w

Re: GWT app looks ugly in IE6

2010-07-23 Thread Sven
Hi Magnus, I do it like this: public static native String getUserAgent() /*-{ return navigator.userAgent.toLowerCase(); }-*/; public void onModuleLoad() { if (MyMainClass.getUserAgent().contains("msie 6.0")) {

Re: Creating a separate GWT servlet page

2010-07-23 Thread cokol
what you mean by "page"? so you mean not actually an entry point or screen but rather a usual HTML page? then just write your .jsp , like adminPage.jsp. Or if you really want to write a panel with much HTML try using UiBinder. and remember - there is no "page" in GWT applications, however, you can

Re: EclEmma + GwtTestCase + GwtGenerator exception

2010-07-23 Thread Gal Dolber
? 2010/7/22 Gal Dolber > Forgot the example: > > Under a GWTTestCase.. > > public void testFailureGenerator() { > try { > GWT.create(BadInterface.class); > } catch (RuntimeException e) { > return; > } > fail(); > } > > 2010/7/22 Gal Dolber > > Hi, I am working on a gwtTestCase that c

Re: Add HTML tags around GWT widgets

2010-07-23 Thread cokol
hi, so what you want is actually NOT that user-written XML directly is injected into the DOM, rather you're about to create an own UiBinder? So, if someone writes the code you want to map the element to the GWT-Button widget, right? - start using UiBinder :-) if you want to handle it absolutely