Re: T5: Keep case (upper or lower) in page names and links

2008-06-20 Thread Howard Lewis Ship
You're kind of stuck with this convention; Tapestry is
case-insensitive, but there's specific logic in the bowels of
LinkFactoryImpl and LinkImpl that convert the page name, component id
and event type portions of the URL to lowercase, just because that
appeals to my aesthetic --- welcome to opinionated software :-)

This could be made optional (that is, leave the case natural, and
capitalized, in the URL) but it would be a very low priority change
since the current approach is harmless. It certainly won't happen
unless someone adds an Issue (and perhaps provides a patch).

On Thu, Jun 19, 2008 at 11:35 AM, Ezra Epstein
<[EMAIL PROTECTED]> wrote:
> I know that.  But it doesn't have the same effect per the HTTP spec and
> I'm orthodox.
>
> Back to the question: how can one inform Tapestry that when I give the
> page name as "Login" and put a form on the page it should not change the
> name in the URL to "login"?
>
> -Original Message-
> From: Sven Homburg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2008 10:50 AM
> To: Tapestry users
> Subject: Re: T5: Keep case (upper or lower) in page names and links
>
> "Login" or "login" has the same effect with tapestry
>
> 2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:
>
>> I've got a page called "Login" (first char is uppercase).  There's a
>> form on it.  When it posts back it takes me to "login" (lowercase)
> which
>> Tapestry treats as the same being case-insensitive.  That's fine for
>> now, but I want to preserve case for the end user.  How do I tell
>> Tapestry to send the user to "Login" and not "login"?
>>
>>
>
>
> --
> with regards
> Sven Homburg
> http://tapestry5-components.googlecode.com
> http://chenillekit.googlecode.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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



Re: T5: Keep case (upper or lower) in page names and links

2008-06-19 Thread Sven Homburg
i tried to find in the URL specs that urls are case sensitive.
no luck.

i know that the underlying OS filesystem may be case sensitiv
but it has nothing to do with the HTTP specs (IMHO)

to your question:
there is no switch to turn of the tapestry behavior but you can re-implement
the
LinkFactory, but i dont offer that, because its an internal class, that may
be changed
in the future


2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:

> I know that.  But it doesn't have the same effect per the HTTP spec and
> I'm orthodox.
>
> Back to the question: how can one inform Tapestry that when I give the
> page name as "Login" and put a form on the page it should not change the
> name in the URL to "login"?
>
> -Original Message-
> From: Sven Homburg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2008 10:50 AM
> To: Tapestry users
> Subject: Re: T5: Keep case (upper or lower) in page names and links
>
> "Login" or "login" has the same effect with tapestry
>
> 2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:
>
> > I've got a page called "Login" (first char is uppercase).  There's a
> > form on it.  When it posts back it takes me to "login" (lowercase)
> which
> > Tapestry treats as the same being case-insensitive.  That's fine for
> > now, but I want to preserve case for the end user.  How do I tell
> > Tapestry to send the user to "Login" and not "login"?
> >
> >
>
>
> --
> with regards
> Sven Homburg
> http://tapestry5-components.googlecode.com
> http://chenillekit.googlecode.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com


RE: T5: Keep case (upper or lower) in page names and links

2008-06-19 Thread Ezra Epstein
I know that.  But it doesn't have the same effect per the HTTP spec and
I'm orthodox.  

Back to the question: how can one inform Tapestry that when I give the
page name as "Login" and put a form on the page it should not change the
name in the URL to "login"?

-Original Message-
From: Sven Homburg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2008 10:50 AM
To: Tapestry users
Subject: Re: T5: Keep case (upper or lower) in page names and links

"Login" or "login" has the same effect with tapestry

2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:

> I've got a page called "Login" (first char is uppercase).  There's a
> form on it.  When it posts back it takes me to "login" (lowercase)
which
> Tapestry treats as the same being case-insensitive.  That's fine for
> now, but I want to preserve case for the end user.  How do I tell
> Tapestry to send the user to "Login" and not "login"?
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com

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



Re: T5: Keep case (upper or lower) in page names and links

2008-06-19 Thread Sven Homburg
"Login" or "login" has the same effect with tapestry

2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:

> I've got a page called "Login" (first char is uppercase).  There's a
> form on it.  When it posts back it takes me to "login" (lowercase) which
> Tapestry treats as the same being case-insensitive.  That's fine for
> now, but I want to preserve case for the end user.  How do I tell
> Tapestry to send the user to "Login" and not "login"?
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com