Re: [Wicket-user] AjaxFormValidatingBehavior and focus

2007-02-27 Thread Johan Compagner

this is currently implemented in the 1.3 stream.
The focus is being kept. But maybe we should improve it a bit more and also
keep the caret position (that could be handy if you really use onkey events)

johan


On 2/8/07, Robert ... [EMAIL PROTECTED] wrote:


Hi everyone,

I tried to use AjaxFormValidatingBehavior like this:
AjaxFormValidatingBehavior.addToAllFormComponents(form,
  onkeyup,

wicket.util.time.Duration.seconds(3));

It works. The feedback panel is updated and everything.
However while I'm typing the focus keeps dissapearing from the input
field. That's very annoying as you can imagine. Can I set Wicket to keep my
focus? If not, I would like to make this a feature request.

Robert


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxFormValidatingBehavior and focus

2007-02-09 Thread Robert ...

I tried it in Firefox 2.0.0.1 and IE 7 and it had the same problems. I
didn't try it in IE6 yet.
I will add a feature request to JIRA for it.

Robert

On 2/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


go ahead and make it a feature request and add a quickstart to it

i remember i ran into something like this - it worked fine in firefox or
ie but failed in the other because for some reason dom updates would cause
the field to lose focus when it is repainted by ajax.

-igor


On 2/8/07, Robert ... [EMAIL PROTECTED] wrote:

 Hi everyone,

 I tried to use AjaxFormValidatingBehavior like this:
 AjaxFormValidatingBehavior.addToAllFormComponents(form,
   onkeyup,

 wicket.util.time.Duration.seconds(3));

 It works. The feedback panel is updated and everything.
 However while I'm typing the focus keeps dissapearing from the input
 field. That's very annoying as you can imagine. Can I set Wicket to keep my
 focus? If not, I would like to make this a feature request.

 Robert



 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxFormValidatingBehavior and focus

2007-02-08 Thread Igor Vaynberg

go ahead and make it a feature request and add a quickstart to it

i remember i ran into something like this - it worked fine in firefox or ie
but failed in the other because for some reason dom updates would cause the
field to lose focus when it is repainted by ajax.

-igor


On 2/8/07, Robert ... [EMAIL PROTECTED] wrote:


Hi everyone,

I tried to use AjaxFormValidatingBehavior like this:
AjaxFormValidatingBehavior.addToAllFormComponents(form,
  onkeyup,

wicket.util.time.Duration.seconds(3));

It works. The feedback panel is updated and everything.
However while I'm typing the focus keeps dissapearing from the input
field. That's very annoying as you can imagine. Can I set Wicket to keep my
focus? If not, I would like to make this a feature request.

Robert


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user