Author |
Message |
17/04/2008 15:05:39
|
kessler
Power User
Joined: 22/01/2008 15:14:19
Messages: 47
Offline
|
Hi Björn,
we have many grid, where we can delete the columns with the Shortcut "DEL". This is very inituitive, BUT we have one Grid, which contains only editable fields. Now it is no longer possible, to edit the text in the field with "del", because this immediatly removes the whole column. Is there any possibility to difference if the user is editing the field or only has selected the column? Is it possible only to select the column without editing?
Antje
|
|
|
17/04/2008 20:24:07
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5536
Offline
|
...not really... You could define a DEL hotkey on FIELD level as well (POPUPMENU on FIELD) then the DEL is caught on this level, and not send up the component hierarchy. But: this means that there is a roundtrip to the server with every DEL in the field, so I do not really recommend.
I would not choose DEL as a hotkey for this scenario + also think that this might be confusing for the user: sometimes DEL works, sometimes not...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
18/04/2008 09:00:15
|
kessler
Power User
Joined: 22/01/2008 15:14:19
Messages: 47
Offline
|
Yes,
I thought so, too and I have changed the standard to ctrl-d now.
ANtje
|
|
|
18/04/2008 10:17:19
|
leuchtner
Active
Joined: 16/01/2008 12:51:23
Messages: 17
Offline
|
Hi Björn!
An other problem with shortcuts:
It seems, that the shortcut ignores the "enabled" property in the menuItem. If enabled is set to 'false', the popupmenu is readOnly, but i still can call this Item using the shortcut. At the moment I can handle this problem in the ActionListener, but I think if I disable the menuItem, the shortcut should also be disabled.
Michael
|
|
|
18/04/2008 10:37:50
|
leuchtner
Active
Joined: 16/01/2008 12:51:23
Messages: 17
Offline
|
... and a second question to shortcuts:
Is there a possibility to start a file download with a shortcut? All the other controls have an actionListener behind. But the filedownloadbutton only holds an url and filename as property, so I can't see at the moment, how I can trigger this via shortcut.
Michael
|
|
|
18/04/2008 11:23:47
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5536
Offline
|
...no, this is not possible (yet)... I put it on out list of non-severe items. This means it will not be available short term but mid term. OK?
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
18/04/2008 11:30:13
|
leuchtner
Active
Joined: 16/01/2008 12:51:23
Messages: 17
Offline
|
Ok, no problem. We just decided, to exclude file upload and file download from the shortcuts.
But what about the "enabled"-problem. Will this be fixed?
|
|
|
18/04/2008 16:15:00
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5536
Offline
|
...sorry, did not read the "enabled" aspect.
Yes, is fixed (now). Thanks!
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|