獲取指定文檔的上一篇文檔。
**實現類**
* com.jspxcms.core.web.directive.InfoPrevDirective
**參數**
* id:文檔ID。以該文檔作為參照,獲取上一篇文檔。
**范例**
獲取文檔ID為30的上一篇文檔,如果沒有上一篇,則顯示沒有了:
~~~
[@InfoPrev id='30';bean]
[#if bean??]
<a href="${bean.url}">${bean.title}</a>
[#else]
<span>沒有了</span>
[/#if]
[/@InfoPrev]
~~~
- 標簽基本知識
- InfoList與InfoPage標簽
- NodeList標簽
- NodeList與NodePage標簽
- InfoFulltextList與InfoFulltextPage標簽
- SpecialCategoryList標簽
- SpecialList與SpecialPage標簽
- TagList與TagPage標簽
- CommentList與CommentPage標簽
- FriendlinkTypeList標簽
- GuestbookTypeList標簽
- GuestbookList和GuestbookPage標簽
- Node標簽
- Info標簽
- InfoPrev標簽
- InfoNext標簽
- Vote標簽
- 標簽通用參數
- A標簽
- QuestionList與QuestionPage標簽
- Question標簽
- Query標簽