主题 : 在action_cms.ftl模板里@s.action 是哪里来的
级别: 秀才
UID: 3879
积分:53 加为好友
威望: 0 精华: 0
主题:7 回复:13
注册时间:2010-03-03
在线时长:0
1#   发表于:2010-04-13 09:06:45  IP:124.50.*.*
1、在action_cms.ftl模板里@s.action 是哪里来的?
<@s.action name='ChnlList' namespace='/jeecms/tag/cms' executeResult='true'。。。

<#else>
<@s.action name='ChnlListInner' namespace='/jeecms/tag/cms' executeResult='false'。。。
这里的s 是从哪里定义来的?

2、 <#local customs = ' '>
<#list custom as s>
<#local customs = customs+s>
<#if s_has_next><#local customs = customs+'|'></#if>
</#list>
请说明上面语法local和此段代码的意思

3、common_tag.ftl里<#if c.parent??>双问号是怎么个意思啊?
谢谢
1 共1页