login form

2011-07-20 Thread Paolo Inaudi
I've made a login form in gwt with a textbox, a passwordtextbox and a button. everything is fine, but browser isn't asking me to store the password. Do I have to make the button a html submit input and create another page? or is there a way to tell the browser this is a login form? th

Re: login form

2011-07-20 Thread Juan Pablo Gardella
I think you must use a form panel<http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/FormPanel.html> if you want the browser ask store some input. 2011/7/20 Paolo Inaudi > I've made a login form in gwt with a textbox, a passwordtextbox

Re: login form

2011-07-20 Thread Ionuț G. Stan
On Jul/20/2011 18:03, Paolo Inaudi wrote: I've made a login form in gwt with a textbox, a passwordtextbox and a button. everything is fine, but browser isn't asking me to store the password. Do I have to make the button a html submit input and create another page? or is there a way t

Re: login form

2011-07-21 Thread Ionuț G. Stan
Reposting to mailing list. Original Message Subject: Re: login form Date: Thu, 21 Jul 2011 18:56:09 -0700 (PDT) From: Josh To: "Ionuț G. Stan" These links touches on it. If your forms are not in the pages HTML then browsers will not recognize them as a login pass

How do I get browser autocomplete on a login form

2008-11-21 Thread tieTYT
Hello, I'm trying to replicate browser autocomplete on a login form. For example, every time you go to the login page, I'd like the username and password field to be prepopulated with the username/password you used last. Not only that, but if you clear the username and double click

Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2009-02-26 Thread Thomas Broyer
If you want to have browsers auto-complete username/password in your application's login form, you probably did (*I* did) this: 1. follow recommandations from http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ, i.e. your form and fields have to be in the original m

Re: How do I get browser autocomplete on a login form

2008-11-21 Thread Reinier Zwitserloot
y the applicationCreator), in a div that makes them hidden (use visibility and not display: none). >From GWT, re-visibilize them if you need em. That should work. On Nov 21, 11:04 pm, tieTYT <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to replicate browser autocomplete on a login

Re: How do I get browser autocomplete on a login form

2008-11-21 Thread tieTYT
From GWT, re-visibilize them if you need em. That should work. > > On Nov 21, 11:04 pm, tieTYT <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I'm trying to replicate browser autocomplete on a login form.  For > > example, every time you go to the login page, I

Re: How do I get browser autocomplete on a login form

2008-11-22 Thread Reinier Zwitserloot
t; > bootstraps GWT (normally auto-generated by the applicationCreator), in > > a div that makes them hidden (use visibility and not display: none). > > From GWT, re-visibilize them if you need em. That should work. > > > On Nov 21, 11:04 pm, tieTYT <[EMAIL PROTECTED]>

Re: How do I get browser autocomplete on a login form

2008-11-23 Thread tieTYT
mal modus operandi, the boxes are added dynamically by the > > > javascript. > > > > The solution is to have the boxes in the static HTML file that > > > bootstraps GWT (normally auto-generated by the applicationCreator), in > > > a div that makes them

Re: How do I get browser autocomplete on a login form

2008-11-23 Thread Reinier Zwitserloot
's normal modus operandi, the boxes are added dynamically by the > > > > javascript. > > > > > The solution is to have the boxes in the static HTML file that > > > > bootstraps GWT (normally auto-generated by the applicationCreator), in > > > >

Re: How do I get browser autocomplete on a login form

2008-11-23 Thread Thomas Broyer
On 23 nov, 10:57, tieTYT <[EMAIL PROTECTED]> wrote: > I've already tried doing this and it doesn't solve the problem at > hand.  IE(s) don't seem to ask you to save the username/password when > you do this.  Here are the things I've tried with your idea: > Wrapping these inputs in a form in the

Re: How do I get browser autocomplete on a login form

2008-11-24 Thread tieTYT
Thanks, that helped. For some reason adding a submit handler works but formPanel.submit() didn't. Also, I didn't know you could define the type of a button tag. That may have made all the difference. On Nov 23, 6:28 am, Thomas Broyer <[EMAIL PROTECTED]> wrote: > On 23 nov, 10:57, tieTYT <[EMAI

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2009-04-20 Thread jrray
ield so I can call back into my instance from doLogin(). Hope this helps others trying to use this technique. On Feb 26, 10:21 am, Thomas Broyer wrote: > If you want to have browsers auto-complete username/password in your > application's login form, you probably did (*I* did

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2009-04-22 Thread Thomas Broyer
On 21 avr, 04:21, jrray wrote: > > This technique would be more convenient if "doLogin" wasn't a static > method. > > I tried to change to non-static, such as: > >    private native void injectLoginFunction() /*-{ >       $wnd.__gwt_login = th...@com.example.myapp.client.app::doLogin > (); >  

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2009-04-23 Thread J Robert Ray
Thanks. I see now that this is discussed in the GWT FAQ and I understand why my attempt at using "this" in a callback doesn't work. On Wed, Apr 22, 2009 at 7:17 PM, Thomas Broyer wrote: > > > > On 21 avr, 04:21, jrray wrote: >> >> This technique would be more convenient if "doLogin" wasn't a s

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-04-27 Thread Viliam Durina
There is even a simpler solution without using JSNI at all. Set the form's action to just "javascript:;" and put the login logic to the form's submitHandler: FormPanel form = FormPanel.wrap(Document.get().getElementById("login"), false); form.setAction("javascript:;"); form.addFormPanel(new

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-05 Thread markww
What version of GWT are you using Viliam, form.addFormPanel() doesn't seem to exist anymore? On Apr 27, 12:32 am, Viliam Durina wrote: > There is even a simpler solution without using JSNI at all. Set the > form's action to just "javascript:;" and put the login logic to the > form's submitHandler

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread markww
Actually, just confirming this, all the solutions presented here *do not* work in webkit browsers (chrome, safari), right? Looks like it works in firefox ok. I haven't found any alternative solutions in my searches, so seems like our options are still: 1) Use methods presented here, but won't wo

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread Thomas Broyer
On May 6, 4:45 pm, markww wrote: > Actually, just confirming this, all the solutions presented here *do > not* work in webkit browsers (chrome, safari), right? Looks like it > works in firefox ok. I haven't found any alternative solutions in my > searches, so seems like our options are still: >

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread Sripathi Krishnan
+1 on that - if you can, don't make the same mistake! We also put in some hacks to get the login page "GWT controlled". In retrospect, it was a poor decision. Its much cleaner to assume that the GWT page is only reachable once authenticated. --Sri P.S. And as luck would have it, as I typed this e

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread markww
Thanks for the heads up, was just going down that route. I'm fine with using a regular html form, just not sure where to put it. Twitter has a login form on their main splash page, which is ideal. I am thinking I could do the same. My main page is already a jsp page. I can do something

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2010-05-06 Thread Sripathi Krishnan
m, just not sure where to put > it. Twitter has a login form on their main splash page, which is > ideal. I am thinking I could do the same. My main page is already a > jsp page. I can do something like: > > // myproject.jsp > > ... login text fields ... > > >

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2013-06-19 Thread Lukas Glowania
Apparently in recent Chrome the HTML form elements need name attributes for the setAction()-approach to work. -- 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

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-07-03 Thread Craig Mitchell
The submitting to a javascript URL was working great. However, Chrome has decided to stop working (currently on version 20.0.1132.47 m). And the only thing that seems to make it work, is doing a submit straight to the servlet from the login form, which is a real pain (and a major change

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-07-03 Thread Craig Mitchell
1132.47 m). > > And the only thing that seems to make it work, is doing a submit straight > to the servlet from the login form, which is a real pain (and a major > change). > > Anyone else notice that Chrome has stopped working for auto complete? > > > On Friday, 7 May 2010 0

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-27 Thread jopaki
So all this form/FormPanel mangling implies that the tag is required to be present in the original markup yes? Otherwise, one could just have the username and password fields in the orig. markup and manually submit to server by trapping an onclick to a simple button and then construct the req

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-27 Thread Craig Mitchell
Correct. The form must be the thing doing the submit. Although, as I pointed out, Chrome stopped working with a JavaScript call to trigger the form to submit. So I now let the form do its own submit. All I use GWT for is positioning the widgets. It sucks, but it's the only way I could get it

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-27 Thread jopaki
Gotcha. Thanks much for the quick reply and good info! - j On Monday, August 27, 2012 10:47:18 PM UTC-7, Craig Mitchell wrote: > > Correct. The form must be the thing doing the submit. > > Although, as I pointed out, Chrome stopped working with a JavaScript call > to trigger the form to submit.

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-28 Thread Fille
e user. } Or is it just for autocomplete? Den torsdagen den 26:e februari 2009 kl. 18:21:23 UTC+1 skrev Thomas Broyer: > > If you want to have browsers auto-complete username/password in your > application's login form, you probably did (*I* did) this: > 1. follow recommand

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-28 Thread Craig Mitchell
Or is it just for autocomplete? > > > > Den torsdagen den 26:e februari 2009 kl. 18:21:23 UTC+1 skrev Thomas > Broyer: >> >> If you want to have browsers auto-complete username/password in your >> application's login form, you probably did (*I* did) this: &g

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-09-03 Thread Kara Rawsonkara
forms??? thats so 2000s. use event based design like u mentioned and submit via restful. using post get or update or whatever ur backend or api require. sometimes u need to use forms for file xfer or other specialized means. just keep in mind that not using forms can and does break usability / a

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-09-03 Thread Craig Mitchell
I'm a little confused. The way Tomas showed (above) used to work with Autocomplete, however, Chrome decided it wasn't going to play nice with that any more. The only solution I could find was to do a login with a form. Eg: ... I don't know how to get Autocomplete working in Chrome with GWT RP

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-09-04 Thread Thomas Broyer
If you (or anyone) can offer a solution not using a form, I'm all ears. > As, yes, forms are so 2000s, and I would rather not use them. > Best way to do auth IMO is to either: - redirect to a "standard login form" (like Google does, for instance for Groups; have a