From version 3.1
edited by Pierre Dubois
on 2011/10/14 08:54
To version 4.1
edited by Maurice Gasco
on 2015/10/23 17:49
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.pdubois
1 +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 == true
51 +myProp == true
52 52  
53 -data.myStatus == “Open”
53 +myStatus == “Open”
54 54  
55 -data.rqUser != null && data.rqUser.sysId == System.UserId
55 +rqUser != null && rqUser.sysId == System.UserId
56 56  
57 57  System.User.hasAccess(“56647747477737733”);
58 58  
Icon Screenshot2011-06-16at10.28.44AM.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +48.4 KB
Content Icon
Icon actions1.png
Size
... ... @@ -1,1 +1,1 @@
1 -0 bytes
1 +48.4 KB
Content Icon
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation