【发布时间】:2015-02-11 21:24:21
【问题描述】:
我们有一个具有多种功能的“主页”,其中之一是帐户命令链接。主页在 main-flow.xml 中定义(见下文),当我们单击此链接时,应该会打开新流程。
main_page.xhtml 文件:
<h:commandLink value="Account" target="_blank" action="account"/>
main-flow.xml 文件:
<view-state id="main_page">
<transition-state on="account" to="newFlowOpen"/>
</view-state>
<view-state id="newFlowOpen" view="/Report/account.xhtml"/>
但是当我们点击这个链接时,不是像 e2s1 那样打开新的流,而是像 e1s2 那样简单地打开新的执行键和相同的流执行,这是错误的。 请告诉我这个:(
【问题讨论】: