开源 java CMS - FreeCMS2.8 自定义标签 infoAttchs

项目地址:http://www.freeteam.cn/

infoAttchs

从FreeCMS 2.2开始推荐使用uploadfile标签。

根据附件字符串(多个之间用;分隔)提取附件对象。

参数

说明

attchStr

附件字符串(多个之间用;分隔)

 

返回值

说明

attchUrl

附件地址

attchName

附件名称

index

索引

size

从FreeCMS 2.4开始支持

列表长度

 

示例1

提取信息附件

<@infoAttchs attchStr="${currInfo.attchs}";attchUrl,attchName>

<a href="${attchUrl}" target="_blank">${attchName}</a><br/>

</@infoAttchs>


猜你喜欢

转载自blog.51cto.com/3357346/2408203