-----Original Message-----
From: Paul Cantrell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 04, 2006 3:22 PM
To: Tapestry users
Subject: Re: Rewriting URLs: is something missing?

You're misunderstanding.

A ServiceEncoder translates between a completely arbitrary URI path  
-- any extension or none, any parameters, any path structure -- and  
the "real" internal URL.

For example, here's an encoder of mine from Imre that translates  
between an external link of this form:

        /imre/article/1673

...and an internal URL of this form:

        /app?service=external&page=ArticleView&sp=*Article#1673

Hope this helps.

---------------------------

This is exactly what I thought it did, and I don't think its addressing
what I've been trying to ask.  Let me try another tact.

Consider only the internal URL.  That's the one I was thinking about
when I asked this question.

What if I want:
/app?page=ArticleView&service=page

to render by loading the file "ArticleView.xml" instead of the file
"ArticleView.html"?

What would I have to change?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to