Open source java CMS - FreeCMS2.8 custom label mailList

Project Address: http://www.freeteam.cn/

mailList

The extracted parameters letters object list.

parameter

Explanation

querycode

Access code

title

title

on one

Retrieval amount

beginnum

From the beginning FreeCMS 1.7 support

From the first few start from scratch representatives 0

order

Sort Type  

1 Published Descending (default)

2 Published Ascending

3 Response Time Descending

4 Response Time Ascending

titleLen

Title display length

titleSuffix

From the beginning FreeCMS 1.7 support

Display length exceeds plus suffix title

writer

Writer

type

Types of 

Letters department unit 

user personal letters 

other other letters 

Empty string to represent all (default)

mailtype

Type letters

state

Check status indicates that all the empty string (default) 1 0 in process have been finished

isopen

Open or an empty string indicates that all (default) 1 0 private Publication

userid

Specifies the user id

unitid

Id specified department

cache

Whether to use the cache, the default is false

orderby

From the beginning FreeCMS 2.4 support

Sorting sql, after setting failure order attribute


return value

Explanation

mail

Object letters, mail type data objects

index

index

size

From the beginning FreeCMS 2.4 support

List Length


Example 1

Gone through letters extracted and public sectors.

<@mailList type="unit" isopen="1" state="1" num="10" ;mail,index>

${mail.title}

</@mailList>


Guess you like

Origin blog.51cto.com/3357346/2433493