This is configurable on a page/component basis, or throughout your
application, using
the org.apache.tapestry.template-extension configuraiton value (this
is documented, you just have to know its there).

You can use @Meta or <meta> in a page/component to affect just that
page/component.  You can use <meta> in your app spec to affect all
pages and components.

On 1/4/06, Rusty Phillips <[EMAIL PROTECTED]> wrote:
> -----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]
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to