Wiki source code of FAQClassSheet
Version 2.1 by Sergiu Dumitriu on 2009/12/20
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.3 | 1 | #set($obj = $doc.getObject("XWiki.FAQClass")) |
![]() |
1.1 | 2 | #set($class = $obj.xWikiClass) |
![]() |
1.3 | 3 | |
![]() |
1.1 | 4 | <table border="1" cellspacing="0" cellpadding="2"> |
5 | #foreach($prop in $class.properties) | ||
6 | <tr><td> | ||
7 | *${prop.prettyName}* | ||
8 | </td> | ||
9 | <td> | ||
10 | #if($context.action=="inline") | ||
11 | $doc.display($prop.getName(), "edit", $obj) | ||
12 | #else | ||
13 | $doc.display($prop.getName(), "rendered", $obj) | ||
14 | #end | ||
15 | </td> | ||
16 | #end | ||
17 | </tr> | ||
18 | </table> | ||
![]() |
2.1 | 19 | <!-- $doc.syntaxId --> |