[ 
https://issues.apache.org/jira/browse/OFBIZ-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566704#action_12566704
 ] 

David E. Jones commented on OFBIZ-1622:
---------------------------------------

Yeah, this would be cool.

It might even be possible to do this without the "~" (tilde) in front of each, 
and just look at all of them after the request-uri, or the request-uri/view-uri 
if the one after the request matches a view name (if not then consider it a 
parameter).

> 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.

Reply via email to