Wiki source code of FAQClassSheet
Version 5.1 by Clemens Robbenhaar on 2023/07/20
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity filter="none"}} | ||
2 | {{html clean="false" wiki="true"}} | ||
3 | #set($obj = $doc.getObject('XWiki.FAQClass')) | ||
4 | #set($class = $obj.xWikiClass) | ||
5 | |||
6 | <table border="1" cellspacing="0" cellpadding="2"> | ||
7 | #foreach($prop in $class.properties) | ||
8 | <tr><td> | ||
9 | **${prop.prettyName}** | ||
10 | </td> | ||
11 | <td> | ||
12 | #if($context.action=="inline") | ||
13 | $doc.display($prop.getName(), "edit", $obj) | ||
14 | #else | ||
15 | $doc.display($prop.getName(), "view", $obj) | ||
16 | #end | ||
17 | </td> | ||
18 | #end | ||
19 | </tr> | ||
20 | </table> | ||
21 | ## $doc.syntax.toIdString() | ||
22 | {{/html}} | ||
23 | {{/velocity}} |