開源 免費 java CMS - FreeCMS1.2-標籤 questionList

下載地址:http://code.google.com/p/freecms/  緩存

questionList google

FreeCMS 1.2 開始支持 spa

根據參數提取網上調查對象列表。 code

參數 對象

說明 排序

id 索引

網上調查id ci

name 字符串

名稱 get

selecttype

選擇類型 空字符串表示全部(默認) 0單選 1多選

order

排序

1時間倒序(默認)

2時間正序

isok

有效 空字符串表示全部(默認) 0無效 1有效

num

數量

cache

是否使用緩存,默認爲false

 

返回值

說明

question

網上調查對象,類型爲數據對象question

index

索引

 

示例1

提取前兩個網上調查。

<@questionList num="2";question,index>

${index} : ${question.name}<br>

</@questionList>

相關文章
相關標籤/搜索