Jsf f:未调用setPropertyActionListener设置程序

Jsf f:未调用setPropertyActionListener设置程序,jsf,icefaces,commandlink,icefaces-1.8,Jsf,Icefaces,Commandlink,Icefaces 1.8,我正在使用icefaces1.8.2和jsf1.1 在commandLink操作方法之前,不会调用目标字段的setter方法 <ice:panelSeries id="deptSeries" value="#{sessionScopedBean.deptList}" var="dept"> ...... <ice:commandLink actionListener="#{myActionBean.search}"> <f:setPropertyActio

我正在使用
icefaces1.8.2
jsf1.1
commandLink
操作方法之前,不会调用目标字段的setter方法

<ice:panelSeries id="deptSeries" value="#{sessionScopedBean.deptList}" var="dept">
......
 <ice:commandLink actionListener="#{myActionBean.search}">
    <f:setPropertyActionListener target="#{sessionScopedBean.searchList}" 
                                              value="#{dept.myList}"/>
    <ice:graphicImage title="search" url="/images/search.gif"/>
    <f:param name="user" value="#{userBean.name}"/>
 </ice:commandLink>
......
</ice:panelSeries>

......
......
首先,JSF1.2中引入了

其次,代码
actionListener=“#{myActionBean.search}”
表示一个动作监听器,而不是一个动作。因此,方法
myActionBean.search()
与属性action listener在JSF生命周期的同一阶段被调用

尝试将命令链接更改为如下所示:

<ice:commandLink action="#{myActionBean.search}">
....
</ice:commandLink>

....
此链接可能有助于了解:

首先,JSF1.2中引入了

其次,代码
actionListener=“#{myActionBean.search}”
表示一个动作监听器,而不是一个动作。因此,方法
myActionBean.search()
与属性action listener在JSF生命周期的同一阶段被调用

尝试将命令链接更改为如下所示:

<ice:commandLink action="#{myActionBean.search}">
....
</ice:commandLink>

....
此链接可能有助于了解:


是否有任何错误或警告?是否有任何错误或警告?我改为“操作”,但没有区别setter仍然没有被调用,链接帮助理解了一些细节显然,
只是在JSF 1.2中引入的。我更新了我的答案。太好了,像这样的事情必须发生,它不会抱怨我使用了那个标签,不管怎样,谢谢你,如果有其他选择,请告诉我。我改为行动,但没有区别,setter仍然没有被调用,链接帮助理解了一些细节显然,
仅在JSF 1.2中引入。我更新了我的答案。太好了,像这样的事情必须发生,它不会抱怨我使用了那个标签,不管怎样,谢谢你,如果有其他选择,请告诉我。