Changes for page User Actions and user interface
on 2011/10/14 08:54
on 2015/10/23 17:49
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. pdubois1 +XWiki.mgasco - Content
-
... ... @@ -42,17 +42,17 @@ 42 42 43 43 == Visible Script == 44 44 45 -The visible script is used to hide / show actions for the user based on the context. 45 +The visible script is used to hide / show actions for the user based on the context. The script is executed in the context of the instance object so the properties are accessed directly 46 46 47 47 Examples of "visible script": 48 48 49 49 {{code language="JavaScript"}} 50 50 51 - data.myProp == true51 +myProp == true 52 52 53 - data.myStatus == “Open”53 +myStatus == “Open” 54 54 55 - data.rqUser != null &&data.rqUser.sysId == System.UserId55 +rqUser != null && rqUser.sysId == System.UserId 56 56 57 57 System.User.hasAccess(“56647747477737733”); 58 58
- Screenshot2011-06-16at10.28.44AM.png
-
- Size
-
... ... @@ -1,1 +1,1 @@ 1 - 0bytes1 +48.4 KB - Content
- actions1.png
-
- Size
-
... ... @@ -1,1 +1,1 @@ 1 - 0bytes1 +48.4 KB - Content