开源 免费 java CMS - FreeCMS1.4-标签 questionList

下载地址:http://code.google.com/p/freecms/   缓存

questionList google

从FreeCMS 1.2 开始支持 spa

根据参数提取网上调查对象列表。 code

参数 对象

说明 排序

id 索引

网上调查id 字符串

siteid get

从FreeCMS 1.4开始支持 it

所属站点id

name

名称

nameLen

从FreeCMS 1.3 开始支持

名称显示长度

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>

相关文章
相关标签/搜索