I'm learning to use Spring Webflow. I've already have a working flow, where i created an old school installer where a user creates a configuration object. This is working as intended. Now, what i want to do is to make possible to edit a configuration object. For this i would need to pass this flow the selected configuration object. I thought the best way to do is to pass an id to the webflow and with a help of a service set it as a flow variable. My question is how can i create this url mapping.
This is the current url mapping for this flow:
<bean id="flowMappings" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<value>/configuration=configController</value>
</property>
</bean>
is it possible to do something like this:
<bean id="flowMappings" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<value>/{id}/configuration=configController</value>
</property>
</bean>
Any help is greatly appreciated.