Consortium
Activities
Projects
Forge
Events
Log-in
Register
$doc.display("title", "view", $obj)
Space Menu
Consortium
|
Solutions
|
Middleware
|
Forge
|
MyObjectWeb
|
PDF
|
History
|
More Actions
View
Code
|
XML
|
Help
Documentation
|
XWiki Syntax
|
#set($obj = $doc.getObject("XWiki.ArticleClass",0)) <div class="article_title"> 1.1 $doc.display("title", "view", $obj) </div> #if($context.action!="inline") <div class="article_content"> $doc.display("content", "rendered", $obj) </div> <div class="article_footer" > Posted by $xwiki.getLocalUserName($doc.creator) at $xwiki.formatDate($doc.creationDate, "MMM DD, YYYY HH:mm") in $!doc.display("category","view",$obj) | Modified by $xwiki.getLocalUserName($doc.author) at $xwiki.formatDate($doc.date, "MMM DD, YYYY HH:mm") | [$doc.comments.size() Comment(s)>${doc.fullName}?xpage=comments] | [Permalink>$doc.fullName] </div> #else <table border="0"> <tr> <td> Title: </td> <td> $doc.display("title", "edit", $obj) </td></tr> <tr> <td> Category: </td> <td> $doc.display("category", "edit", $obj) </td></tr> <tr><td> Content: </td> <td> $doc.display("content", "edit", $obj) </td></tr> <tr><td> Extract: </td> <td> $doc.display("extract", "edit", $obj) </td></tr> </table> #if($context.action=="inline") #includeTopic("News.Image") #set($newtitle = $request.title) #if($newtitle) #set($newtitle = $newtitle.replace('"',"'")) <script type="text/javascript"> var title = "${newtitle}"; {pre} document.forms.edit["XWiki.ArticleClass_0_title"].value = title; {/pre} </script> #end #end #end