<
From version < 48.6 >
edited by yang ningJian
on 2010/06/02
To version < 49.1 >
edited by Thibaut Camberlin
on 2010/08/15
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.YangNingYuan
1 +XWiki.ThibautCamberlin
Content
... ... @@ -181,13 +181,13 @@
181 181  #set($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='FAQ.FAQClass' and obj.name<>'FAQ.FAQTemplate'")
182 182  #set($results = $xwiki.searchDocuments($sql))
183 183  #if($results.empty)
184 -No FAQ has been created yet!
184 + No FAQ has been created yet!
185 185  #else
186 -#foreach ($item in $results)
187 -#set($faq = $xwiki.getDocument($item))
188 -* [[${faq.display("question").replace("<p>", "").replace("</p>", "")}>>${item}]]
186 + #foreach ($item in $results)
187 + #set($faq = $xwiki.getDocument($item))
188 + * [[${faq.display("question").replace("<p>", "").replace("</p>", "")}>>${item}]]
189 + #end
189 189  #end
190 -#end
191 191  {{/velocity}}
192 192  {{/code}}
193 193  

Get Connected