问题解决,定义一个action,用于取得列表数据并放入session,然后在categoryAdd.jsp里面用<ww:action>标签执行这一个action即可.代码如下:<ww:action name="categoryGetTree">
</ww:action>
<ww:select name="fatherID" list="#session.categoryTreeList" listKey="ID" listValue="name" headerKey="-1" headerValue="请选择父类" emptyOption="ture" />
</ww:action>
<ww:select name="fatherID" list="#session.categoryTreeList" listKey="ID" listValue="name" headerKey="-1" headerValue="请选择父类" emptyOption="ture" />
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货