⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 action_cms.ftl

📁 JEECMS使用目前java主流技术架构:hibernate3+struts2+spring2+freemarker。AJAX使用jquery和json实现。视图层并没有使用传统的JSP技术
💻 FTL
字号:
<#--
子栏目列表(自定义内容)
	id:父栏目ID。(默认:当前栏目ID)
	isLoop:内容是否循环。【0:不循环;1:循环】(默认1)
	isDisplay:是否只获取显示的栏目。【0:获取所有;1:只获取显示的栏目】(默认1)
	hasContent:是否只获取可以有内容的栏目。【0:获取所有;1:只获取可以有内容的栏目】(默认0)
-->
<#macro ChnlListInner id=chnl.id isLoop="1" 
	orderBy="0" isDisplay="1" hasContent="0">
<@s.action name="ChnlListInner" namespace="/jeecms/tag/cms" executeResult="false"
	chnlId=id orderBy=orderBy isDisplay=isDisplay hasContent=hasContent/>
<#if isLoop=="1">
  <#list n_list as chnl>
    <#nested chnl,chnl_index,chnl_has_next/>
  </#list>
<#else>
  <#nested n_list/>
</#if>
</#macro>
<#--
子栏目列表
	id:父栏目ID。(默认:当前栏目ID)
	orderBy:排序方式。【0:优先级升序;1:优先级降序;2:点击次数升序;3:点击次数降序】(默认0)
	isDisplay:是否只获取显示的栏目。【0:获取所有;1:只获取显示的栏目】(默认1)
	hasContent:是否只获取可以有内容的栏目。【0:获取所有;1:只获取可以有内容的栏目】(默认0)
	
	linkClass:链接class
	linkTarget:链接打开方式。【0:当前窗口;1:新窗口】(默认0)
		
	style:标签内部样式。如果指定sysContent或userContent,则该项无效。
		【1:普通链接列表;】(默认1)
	
	sysTpl:使用系统模板。【0:不使用;1:使用】(默认1)
	sysContent:系统内容样式。(默认0)
	userContent:自定义内容样式。如果指定了系统内容样式,则该项无效。(默认0)
	sysPage:系统分页样式。【0:不分页;1:样式一;2:样式二】(默认0)
	userPage:自定义分页样式。如果指定了系统分页样式,则该项无效。【0:不分页;1:样式一;2:样式二】(默认0)
	custom:字符串数组。用于个性化处理。(默认空数组)
-->
<#macro ChnlList id=chnl.id orderBy="0" isDisplay="1" hasContent="0"
	linkClass="" linkTarget="0"
	style=1 sysTpl="1" sysContent="0" userContent="0" sysPage="0" userPage="0" custom=[]>
<@s.action name="ChnlList" namespace="/jeecms/tag/cms" executeResult="true"
	chnlId=id orderBy=orderBy isDisplay=isDisplay hasContent=hasContent
	linkClass=linkClass linkTarget=linkTarget
	style=style sysTpl=sysTpl sysContent=sysContent userContent=userContent sysPage=sysPage userPage=userPage custom=custom/>
</#macro>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -