[ http://issues.apache.org/jira/browse/BEEHIVE-864?page=all ]
     
Nathan Jantz closed BEEHIVE-864:
--------------------------------


Verified in svn 239233.  I verified that the test was implemented in 
urlTemplates and ran the test manually. 
(http://localhost:8080/urlTemplates/formatter/index.jsp).   Observed that all 
urls were rewritten on that request only with the newly formatted URL inserting 
"prefix" string. such as:
http://beehive.apache.org:8080/prefix/urlTemplates/formatter/begin.do?URLTEMPLATE=action&";

This verified the test hit TemplatedURLFormatter.

Closing issue.

> Add a test for registering a request based TemplatedURLFormatter with the 
> URLRewriterService API
> ------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-864
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-864
>      Project: Beehive
>         Type: Test
>   Components: NetUI
>     Versions: v1m1, V1Beta
>     Reporter: Carlin Rogers
>     Assignee: Nathan Jantz
>     Priority: Minor
>      Fix For: V1
>  Attachments: j864-patch.zip
>
> To improve on the test coverage for the URLRewriterService and the use of 
> templates, I've created
> a patch for the urlTemplates test webapp. The patch contains a a servlet 
> Filter that calls the
> URLRewriterService.registerTemplatedURLFormatter() to register a custom 
> TemplatedURLFormatter for a specific page flow. The formatter test does per 
> request based 
> formatting of a rewritten URL using templates from the URL template config 
> file.

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

Reply via email to