Change comment:
Fixed Title; Fixed TOC
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +Best Practices - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. LudovicDubost1 +XWiki.SilviaRusu - Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 1.01 +XWiki 2.0 - Content
-
... ... @@ -1,16 +1,14 @@ 1 - 1 BestPractices1 +{{toc/}} 2 2 3 - #toc("""""")3 += XWiki Application Organization = 4 4 5 - 1.1XWiki Application Organization5 +This [[Best Practices document>>Best Practices XWiki Application Organization]] explains how to best organize an XWiki Application. 6 6 7 - This[BestPracticesdocument>BestPracticesXWiki ApplicationOrganization] explains how to best organizeanXWiki Application.7 += Check for Object existence in Class Sheets documents = 8 8 9 -1.1 Check for Object existence in Class Sheets documents 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 -{code} 11 +{{code}} 14 14 #set($obj = $doc.getObject("XWiki.XWikiUsers")) 15 15 #if(!$obj) 16 16 1 User Sheet ... ... @@ -19,8 +19,6 @@ 19 19 1 $msg.get("userProfile", [$xwiki.getUserName($doc.fullName, false)]) 20 20 ... 21 21 #end 22 -{code} 20 +{{/code}} 23 23 24 -#info("The 'if' tests first for the non existence. This is so that XWiki extract the title from the ~~1 User Sheet~~, which is a proper title to display when viewsing the sheet page, instead of the computed name which will usually display something wrong.") 25 - 26 - 22 +{{info}}The 'if' tests first for the non existence. This is so that XWiki extract the title from the //1 User Sheet//, which is a proper title to display when viewsing the sheet page, instead of the computed name which will usually display something wrong.{{/info}}