I have a checkin request for the URLRewriterService in NetUI Page Flow. The following patch file (output from "svn diff") contains the changes described below. Thanks!
Changes...
- Implemented a new URLRewriterService and URLRewriter. The framework was extended to allow for chaining of registered URLRewriters. The old URLRewriterService, DefaultURLRewriter and URLRewriter were deprecated and no use the new URLRewriterService. If an implementation uses the deprecated URLRewriterService to register an old URLRewriter it will be handled with a wrapper. I still need to work on the Template URL rewriting.
- Implemented MutableURI to be used in the URLRewriter implementations to reduce some of the String parsing.
- Moved org.apache.beehive.netui.pageflow.util.PageflowTagUtils to the tags-html module, org.apache.beehive.netui.tags.PageFlowTagUtils and consolidated code for preparing and rewriting an action or resource URL.
- Update NetUI tag code to use the new PageFlowTagUtils methods. Also added some exception handling and a new error messages.
- Separated the initialization and management of the ServerAdapter from the ContextCache to a ServerAdapterManager class.
- Modified MockPortal test so that the scoped request for each portlet does not expose the outer request attributes. This is the desired state, however, this breaks the test because the PageFlowJspFilter isn't running on the include. I will log a bug in JIRA.
- Minor clean up such as removing unused import statements and removing the ServletContextCache class.
DRT/BVT: NetUI (WinXP) BB: self (WinXP)
Thanks, Carlin
urlrewriter.tar.gz
Description: GNU Zip compressed data
