You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Glen Carl - CSC <ca...@csc-monterey.com> on 2002/05/20 19:56:17 UTC

URL rewriter

David,
I recently noticed your post mentioning that you have written an 
improved URL rewriter. Do you have a plan when you are going to 
contribute the source, or a way to access this source?

At the moment, I am in need of URL rewriting functionality for a 
Jetspeed portlet. Currently, I am using the IFramePortlet, but I have 
some requirements for something more similar to the WebPagePortlet.

Thanks,
Glen

David Sean Taylor wrote:

>
>There is the WebPagePortlet using the old URL rewriter. 
>I have recently written a second URL rewriter, which is better than the
>first.
>You may also want to try out the IFramePortlet 
>
>  
>
-- 
Glen Carl
Computer Sciences Corporation (CSC)
(831)656-4543
carl@csc-monterey.com





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: URL rewriter

Posted by David Sean Taylor <da...@bluesunrise.com>.
The new rewriter code is under org.apache.jetspeed.util.rewriter

I haven't yet attached it to a portlet, but there is a SampleRewriter
that you can start with.
The basic idea is to make it more extensible - so that you can customize
the rewriter to your needs.
I've found that I always end up writing little pieces of custom code to
handle specific tags, and that is where the events come in.
You can override the tag events to customize your rewriter behavior.

The current WebPagePortlet doesn't use the new framework yet.

> -----Original Message-----
> From: Glen Carl - CSC [mailto:carl@csc-monterey.com] 
> Sent: Monday, May 20, 2002 10:56 AM
> To: Jetspeed Users List
> Cc: david@bluesunrise.com
> Subject: URL rewriter
> 
> 
> David,
> I recently noticed your post mentioning that you have written an 
> improved URL rewriter. Do you have a plan when you are going to 
> contribute the source, or a way to access this source?
> 
> At the moment, I am in need of URL rewriting functionality for a 
> Jetspeed portlet. Currently, I am using the IFramePortlet, but I have 
> some requirements for something more similar to the WebPagePortlet.
> 
> Thanks,
> Glen
> 
> David Sean Taylor wrote:
> 
> >
> >There is the WebPagePortlet using the old URL rewriter.
> >I have recently written a second URL rewriter, which is 
> better than the
> >first.
> >You may also want to try out the IFramePortlet 
> >
> >  
> >
> -- 
> Glen Carl
> Computer Sciences Corporation (CSC)
> (831)656-4543
> carl@csc-monterey.com
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>