views:

13

answers:

0

How to configure spring-webflow to make works link like below ?

<a href="flow/state">

That link have to open view-state with "state" id from flow with "flow" id ? Is that possible ?

My current configuration: flowConfig.xml:

<!-- The registry of executable flow definitions -->
<webflow:flow-registry id="flowRegistry" flow-builder-services="facesFlowBuilderServices" base-path="/WEB-INF/flows">
    <webflow:flow-location-pattern value="/**/*-flow.xml" />
</webflow:flow-registry>

In /WEB-INF/flows/ i have directory "main" (as flowid) with main-flow.xml inside and pages (as view-states) home.xhtml, login.xhtml, ...