Author |
Message |
09/10/2008 16:11:24
|
kabat
Power User
Joined: 10/12/2007 10:12:44
Messages: 78
Offline
|
Hi,
we use your capture component in our application. Now we would like to be able to disable the links like 'Capture' if a user is not allowed to use the function.
Is it possible for you to implement it?
Thanks!
Agnes
|
|
|
09/10/2008 16:44:26
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
Yes, that's not a lot to do.
What should the result of disabling be? I believe the only difference to the normal behavior, is that all links "on the right" should be inactive, but still visible. Or should they be invisible?
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
09/10/2008 16:48:06
|
kabat
Power User
Joined: 10/12/2007 10:12:44
Messages: 78
Offline
|
We prefer the 'Invisible' alternative!
Thanks, Agnes
|
|
|
09/10/2008 16:57:51
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
OK - then we'll do it this way. Will be available with next update.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
23/10/2008 17:04:26
|
kabat
Power User
Joined: 10/12/2007 10:12:44
Messages: 78
Offline
|
Hi,
is this feature already available with the version of 22/10/1008?
Agnes
|
|
|
23/10/2008 17:13:07
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
...yes. Should be, at least.
20.10.2008:
Feature - The IMAGECAPTURE component now provides a ENABLED attribute. When set to fals then no image commands are available for the user.
Just a question, or did you test + did not get the desired result?
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
23/10/2008 17:19:27
|
kabat
Power User
Joined: 10/12/2007 10:12:44
Messages: 78
Offline
|
It was only a question. Next time I will read the change log
Agnes
|
|
|
23/10/2008 17:23:16
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
...as long as you are not complaining about dark colours, everthing is fine!
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
24/10/2008 13:03:22
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi Björn, hi Agnes,
we had that already:
see forum entry "Commands in Capture Control" of June 2008.
The addCommand() function has an additional parameter "isEditable".
Frauke
|
|
|
24/10/2008 13:08:52
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
...yes and no: the enabling=false on IMAGECAPTURE level completely removes all commands. It's the "main switch".
And there are individual command-enabled-flags, the ones you mention.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
24/10/2008 13:16:39
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi Björn,
ok, you are right, but in my case (as I adopted the problem from Agnes)
the command level function is sufficient.
As for my case you don't have to do anything about it.
And that's good news, isn't it?
Frauke
|
|
|
24/10/2008 13:19:19
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5520
Offline
|
;-)
|
Björn Müller, CaptainCasa GmbH |
|
|
|