Changes for page Best Practices

Last modified by Vincent Massol on 2017/09/05

From version 2.1
edited by Ludovic Dubost
on 2008/05/20
Change comment: There is no comment for this version
To version 1.4
edited by Vincent Massol
on 2007/10/25
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.LudovicDubost
1 +XWiki.VincentMassol
Content
... ... @@ -2,16 +2,12 @@
2 2  
3 3  #toc("" "" "")
4 4  
5 -1.1 XWiki Application Organization
6 -
7 -This [Best Practices document>Best Practices XWiki Application Organization] explains how to best organize an XWiki Application.
8 -
9 9  1.1 Check for Object existence in Class Sheets documents
10 10  
11 11  Class sheet documents should be written using the following construct (this is an example for displaying documents containing XWiki.XWikiUsers objects):
12 12  
13 13  {code}
14 -#set($obj = $doc.getObject("XWiki.XWikiUsers"))
10 +#set($obj = \$doc.getObject("XWiki.XWikiUsers"))
15 15  #if(!$obj)
16 16   1 User Sheet
17 17   This stylesheet must be applied on a document containing a XWiki.XWikiUsers object.

Get Connected