[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Component focus: How to use "Enter/Return" in addition to the "Tab" default key binding?  XML
Forum Index -> Development
Author Message
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

Hello (Grüezi) to everyone

The "Tab" key is default binding to get next focus of a component. Our existing applications (not developed by CC) are also using "Enter/Return" for jumping around on forms. Existing customers of those applications are familiar with that key binding and therefore we need also to implement it on new developments.

I'm new in CC and therefore I want to know is there a possibility to handle that? If yes, could anyone give me some hints or ideas how to proceed?

Many thanks in advance

With best regards from Switzerland
Patrick
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi (Grüezi!),

could you please check the change log, uipdates from July 26th. This was introduced due to a customer request, and seems to exactly fit you needs.

Regards, Björn

Björn Müller, CaptainCasa GmbH
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

Dear (Hoi) Björn or anyone else who can help

Thanks for the information. It works

The "Developers' Guide" shows how to hand over the needed "client parameter" to an "applet", "web start application" or "command line application". E.g. Applet:
.
.
<param name="tabonenter" value="true">
<param name="hotkeyrowexecute" value=" ">
.
.
Next question coming from the newbie: How to set this parameter by using java methods. Or is there an *.xml to set this as default?

Thanks for your help in advance
Patrick
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

there is a component CLIENTCONFIG which allows to transfer these parameters from server side...
BUT: the tab-management was added quite recently and is not yet included in CLIENTCONFIG. We wil do so for next update.

(You find CLIENTCONFIG in the Layout Editor below "BEAN PROCESSING".)

Regards, Björn

Björn Müller, CaptainCasa GmbH
phuber

Power User
[Avatar]

Joined: 06/08/2010 14:10:58
Messages: 50
Offline

... thanks for your fast response Would be great to have them included in CLIENTCONFIG in near future.

BR, Patrick
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

just one comment...: in general "tab on return" also has some disadvantages:

(1) some components (e.g. button, icon) have "return" as activation hot key. So the user cannot use "return/return/return" for tabbing through a dialog.

(2) the grid component has "return" as keyboard way of "double click". You should update the key as well (e.g. use a certain function key for selecting a line) - corresponsing information is provided in the change log.

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team