RE: Re: + key as alternative for tab key

2009-09-24 Thread Boydens Joeri (OZ)
Daniel,

Great library! 

Thanks for the information

 Joeri Boydens
 OZ Onafhankelijk Ziekenfonds
 Informatica
 050 40 53 09


-Oorspronkelijk bericht-
Van: news [mailto:n...@ger.gmane.org] Namens Daniel Toffetti
Verzonden: woensdag 23 september 2009 20:43
Aan: users@wicket.apache.org
Onderwerp: Re: + key as alternative for tab key

Boydens Joeri (OZ joeri.boydens at oz.be writes:
 How would you do this in an elegant and generic way ?
 
 Joeri  
 

Also, take a look at wicketstuff-input-events

Daniel



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Re: + key as alternative for tab key

2009-09-24 Thread nino martinez wael
thanks :)

2009/9/24 Boydens Joeri (OZ) joeri.boyd...@oz.be

 Daniel,

 Great library!

 Thanks for the information

  Joeri Boydens
  OZ Onafhankelijk Ziekenfonds
  Informatica
  050 40 53 09


 -Oorspronkelijk bericht-
 Van: news [mailto:n...@ger.gmane.org] Namens Daniel Toffetti
 Verzonden: woensdag 23 september 2009 20:43
 Aan: users@wicket.apache.org
 Onderwerp: Re: + key as alternative for tab key

 Boydens Joeri (OZ joeri.boydens at oz.be writes:
  How would you do this in an elegant and generic way ?
 
  Joeri
 

Also, take a look at wicketstuff-input-events

 Daniel



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: + key as alternative for tab key

2009-09-23 Thread Daniel Toffetti
Boydens Joeri (OZ joeri.boydens at oz.be writes:
 How would you do this in an elegant and generic way ?
 
 Joeri  
 

Also, take a look at wicketstuff-input-events

Daniel



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: + key as alternative for tab key

2009-09-22 Thread Nicolas Melendez
In every field information goes to the server to validate and then go back?
Seems dificult to implement.please, tell us your experience when your are
done
NM


On Mon, Sep 21, 2009 at 3:28 PM, Pedro Santos pedros...@gmail.com wrote:

 Good question, pretty much javascript work. I'm curios know your final
 solution.

 One fine solution is to create an subclass of
 AjaxFormComponentUpdatingBehavior to onchange event. On this behavior you
 can put your javascript rules. Take a look at OnChangeAjaxBehavior to see
 how it could be done.

 On Mon, Sep 21, 2009 at 10:03 AM, Boydens Joeri (OZ) joeri.boyd...@oz.be
 wrote:

  Hi,
 
 
 
  We are rewriting an old fat client application to a more elegant web
  application based on Wicket.  In the requirements they state that the
  users of the fat client application do all input with the right side of
  their keyboard and want to keep it that way.
 
 
 
  One special requirement is that navigating between fields should be done
  with the ' + ' symbol on the right hand keypad instead of the 'tab' key.
  When navigating between fields there is also happing validation on the
  server side, so an ajax call will be necessary.
 
 
 
  How would you do this in an elegant and generic way ?
 
 
 
  Joeri
 
 
 
 
 
 
 
 



Re: + key as alternative for tab key

2009-09-22 Thread Jeremy Thomerson
It's very easy to implement with Wicket - just add ajax form submitting
behavior to desired fields, and in the behavior, repaint the feedback form,
etc...  Although, it can be server intensive obviously.

--
Jeremy Thomerson
http://www.wickettraining.com



On Tue, Sep 22, 2009 at 7:25 AM, Nicolas Melendez nmelen...@getsense.com.ar
 wrote:

 In every field information goes to the server to validate and then go back?
 Seems dificult to implement.please, tell us your experience when your are
 done
 NM


 On Mon, Sep 21, 2009 at 3:28 PM, Pedro Santos pedros...@gmail.com wrote:

  Good question, pretty much javascript work. I'm curios know your final
  solution.
 
  One fine solution is to create an subclass of
  AjaxFormComponentUpdatingBehavior to onchange event. On this behavior you
  can put your javascript rules. Take a look at OnChangeAjaxBehavior to see
  how it could be done.
 
  On Mon, Sep 21, 2009 at 10:03 AM, Boydens Joeri (OZ) 
 joeri.boyd...@oz.be
  wrote:
 
   Hi,
  
  
  
   We are rewriting an old fat client application to a more elegant web
   application based on Wicket.  In the requirements they state that the
   users of the fat client application do all input with the right side of
   their keyboard and want to keep it that way.
  
  
  
   One special requirement is that navigating between fields should be
 done
   with the ' + ' symbol on the right hand keypad instead of the 'tab'
 key.
   When navigating between fields there is also happing validation on the
   server side, so an ajax call will be necessary.
  
  
  
   How would you do this in an elegant and generic way ?
  
  
  
   Joeri
  
  
  
  
  
  
  
  
 



+ key as alternative for tab key

2009-09-21 Thread Boydens Joeri (OZ)
Hi,

 

We are rewriting an old fat client application to a more elegant web
application based on Wicket.  In the requirements they state that the
users of the fat client application do all input with the right side of
their keyboard and want to keep it that way.

 

One special requirement is that navigating between fields should be done
with the ' + ' symbol on the right hand keypad instead of the 'tab' key.
When navigating between fields there is also happing validation on the
server side, so an ajax call will be necessary.

 

How would you do this in an elegant and generic way ?

 

Joeri  

 

 

 



Re: + key as alternative for tab key

2009-09-21 Thread Martin Grigorov
this is pure JavaScript

just register a listener for 'keydown' event for all required fields
(probably the ones with tabindex) and if the event's key code is the one
for '+' on the keypad (I don't know it) then just call this.blur() which
will move the focus to the next field. 


El lun, 21-09-2009 a las 15:03 +0200, Boydens Joeri (OZ) escribió:
 Hi,
 
  
 
 We are rewriting an old fat client application to a more elegant web
 application based on Wicket.  In the requirements they state that the
 users of the fat client application do all input with the right side of
 their keyboard and want to keep it that way.
 
  
 
 One special requirement is that navigating between fields should be done
 with the ' + ' symbol on the right hand keypad instead of the 'tab' key.
 When navigating between fields there is also happing validation on the
 server side, so an ajax call will be necessary.
 
  
 
 How would you do this in an elegant and generic way ?
 
  
 
 Joeri  
 
  
 
 
 
 
 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: + key as alternative for tab key

2009-09-21 Thread Pedro Santos
Good question, pretty much javascript work. I'm curios know your final
solution.

One fine solution is to create an subclass of
AjaxFormComponentUpdatingBehavior to onchange event. On this behavior you
can put your javascript rules. Take a look at OnChangeAjaxBehavior to see
how it could be done.

On Mon, Sep 21, 2009 at 10:03 AM, Boydens Joeri (OZ) joeri.boyd...@oz.bewrote:

 Hi,



 We are rewriting an old fat client application to a more elegant web
 application based on Wicket.  In the requirements they state that the
 users of the fat client application do all input with the right side of
 their keyboard and want to keep it that way.



 One special requirement is that navigating between fields should be done
 with the ' + ' symbol on the right hand keypad instead of the 'tab' key.
 When navigating between fields there is also happing validation on the
 server side, so an ajax call will be necessary.



 How would you do this in an elegant and generic way ?



 Joeri