开发者

Spring Webflow transition executing twice

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜