You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <ve...@apache.org> on 2006/11/14 21:38:39 UTC
[jira] Resolved: (VELTOOLS-67) Patch implementing path-scoped tools
[ http://issues.apache.org/jira/browse/VELTOOLS-67?page=all ]
Nathan Bubna resolved VELTOOLS-67.
----------------------------------
Fix Version/s: 1.3
Resolution: Fixed
Implemented in revision 474952.
Ok, it's in. I managed to make it easily support path-restrictions for session scope tools and to reject path-restrictions on application scoped tools for the time being. Let me know what you think and of course how it works for you!
> Patch implementing path-scoped tools
> ------------------------------------
>
> Key: VELTOOLS-67
> URL: http://issues.apache.org/jira/browse/VELTOOLS-67
> Project: VelocityTools
> Issue Type: New Feature
> Components: VelocityView
> Affects Versions: 1.3
> Environment: all
> Reporter: Claude Brisson
> Assigned To: Nathan Bubna
> Priority: Minor
> Fix For: 1.3
>
> Attachments: path-scopes.patch, request-path.patch
>
>
> This patch adds two new scopes:
> <scope>/some_path/*</scope> is a subset of the request scope restricting the instantiation of tools to servlet requests having an URI that begins with /some_path/.
> <scope>/some_pathname</scope> is a subset of the request scope restricting the instantiation of tools to servlet requests whose URI matches exactly /some_pathname
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org