Apache Tomcat/6.0.18
${my:splitApply(apply)}
<function>
<name>splitApply</name>
<function-class>org.darkness.oa.web.UtilFunction</function-class>
<function-signature>
java.util.List
splitApply(org.darkness.oa.model.MeetingRoomApply)
</function-signature>
</function>
找了半天,原来function-signature标签里面,函数声明跟返回类型必须在同一行,都是习惯Ctrl+Shift+F惹的祸,解决方法:
<function>
<name>splitApply</name>
<function-class>org.darkness.oa.web.UtilFunction</function-class>
<function-signature>
java.util.List splitApply(org.darkness.oa.model.MeetingRoomApply)
</function-signature>
</function>