FlowHandlerMapping, URL and Directory Structure
I have looked all over the documentation and forums, and I can't find an answer to my question.
I am trying to start a new webflow application. I have setup a FlowHandlerMapping and FlowHandlerAdapter, and everything seems to be ok in that regard.
Code:
<webflow:flow-registry id="flowRegistry" base-path="/WEB-INF/flows/">
<webflow:flow-location-pattern value="**/*.xml" />
</webflow:flow-registry>
What I don't understand is, how do the flows (and subflows) map to URLs? I want a URL like this:
Code:
http://localhost/MyApp/admin/user/edit.htm
When someone clicks a link to this URL (and they have the correct permissions), it should start the Edit/Create User flow.
What directory structure should I have to map this URL to a User.xml flow? And how would that differ if the User.xml flow was a subflow of an Admin.xml flow?
It is unclear to me how flows, subflows and directories map to URLs.