NutzCN Logo
问答 如何创建fns fnc自定义标签
发布于 2624天前 作者 Hamming 1456 次浏览 复制 上一个帖子 下一个帖子
标签:

如何创建fns fnc自定义标签

2 回复

页面酱紫请求数据展示

			<li><label>线网名称:</label>
				<%--<form:input path="lineNeworkId" htmlEscape="false" maxlength="64" class="input-medium"/>--%>
				<form:select path="lineNeworkId" class="input-medium">
					<form:option value="" label=""/>
					<form:options items="${fns:getLineNeworkList()}" itemLabel="name" itemValue="id" htmlEscape="false"/>
				</form:select>
			</li>

fns.tld

  <function>
    <description>获取线网列表</description>
    <name>getLineNeworkList</name>
    <function-class>com.thinkgem.jeesite.modules.app.utils.AppLineNeworkUtil</function-class>
    <function-signature>java.lang.Object getLineNeworkList()</function-signature>
    <example>${fns:getLineNeworkList()}</example>
  </function>

酱紫

添加回复
请先登陆
回到顶部