开发者

Spring Webflow transition executing twice

开发者 https://www.devze.com 2023-03-20 05:35 出处:网络
When I call the js function that should execute a certain spring transition, the transition executes twice in chrome (only one call to javascript function is processed).

When I call the js function that should execute a certain spring transition, the transition executes twice in chrome (only one call to javascript function is processed).

This is my javascript:

function sort(by) {
  window.location.href = flowExecutionUrl + "&_eventId=sort&mode=" + by;  
}

T开发者_StackOverflow社区his is my view state:

<view-state id="details" view="details">
    <transition on="sort">
        expression="dataService.sort(requestParameters.mode)
        result="viewScope.data" />
    </transition>
</view-state>

Any thought? I am out of ideas at the moment

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号