Added support for "anonymous" url parameters
--------------------------------------------
Key: OFBIZ-1622
URL: https://issues.apache.org/jira/browse/OFBIZ-1622
Project: OFBiz
Issue Type: New Feature
Components: framework
Reporter: Jacopo Cappellato
Priority: Minor
Attachments: anon-param.patch
The attached patch will add support for "anonymous"/"positional" url
parameters: the values of the parameters can be passed in a certain order
without specifying the name of them.
For example:
instead of:
categoryId=PROMOTIONS&productId=WG-1111
you can set:
/~PROMOTIONS/~WG-1111
The framework will automatically assign the following names to the parameters:
pathInfo1 (= PROMOTIONS)
pathInfo2 (= WG-1111)
The goal is to provide a way to have cleaner URL
Please review the patch; if you think it is a good idea I will commit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.