【问题标题】:How to set some parameter in end state externalredirect in Spring Webflow?如何在 Spring Webflow 的最终状态 externalredirect 中设置一些参数?
【发布时间】:2018-03-02 08:09:31
【问题描述】:

我的问题是关于 Spring Webflow。我们如何在结束状态下设置变量?

<action-state id="saveanyformula">
    <evaluate expression="--code---"></evaluate>
    <transition to="end"></transition>
</action-state>

<end-state id="end" view="externalRedirect:new/lists">

我尝试了下面的代码,但它不起作用:

<end-state id="end" view="externalRedirect:new/lists?foo1=${flowScope.foo1}">

【问题讨论】:

    标签: spring spring-webflow spring-webflow-2


    【解决方案1】:

    试试这个:

     <end-state id="end" view="externalRedirect:new/lists?foo1=#{flowScope.foo1}">
    

    【讨论】:

      猜你喜欢
      • 2011-10-20
      • 2011-08-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-30
      • 2016-07-26
      相关资源
      最近更新 更多