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