【发布时间】:2011-05-14 15:39:30
【问题描述】:
当我使用以下命令链接时:
<h:commandLink action="student" value="students" />
以及faces-config.xml中的如下导航规则:
<navigation-rule>
<from-view-id>/home.xhtml</from-view-id>
<navigation-case>
<from-outcome>student</from-outcome>
<to-view-id>/student.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
然后我收到以下开发阶段面临消息:
此链接已停用,因为它未嵌入 JSF 表单中。
这是怎么引起的,我该如何解决?
【问题讨论】:
标签: jsf-2 commandlink