spring-projects / spring-webflow

Spring Web Flow
https://spring.io/projects/spring-webflow
Apache License 2.0
332 stars 235 forks source link

allow custom event notations [SWF-118] #126

Open spring-operator opened 18 years ago

spring-operator commented 18 years ago

Andreas Schildbach opened SWF-118 and commented

For events, I prefer a short form to the system currently used by SWF. Consider the Phonebook example:

SWF expects the following parameters for selecting a detail view from the search results view:

?_eventId=select&id=\

The short form would be:

?select=\

Some pages prefer to encode the event in the URL path:

/phonebook/+select/\

Non-parameterized events would look like:

?_eventId=back (SWF)

?back (short form)

/phonebook/+back (URL path)

It would be nice if SWF supported extractors for (some of) those cases.


No further details from SWF-118

spring-operator commented 18 years ago

Erwin Vervaet commented

Could probably be done by a custom FlowExecutorParameterExtractor.