如何创建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>
酱紫
添加回复
请先登陆