I think this is an excellent change.

And I do think that parameters should be trimmed by default. I see this 
practice being much more desired and common. And I don't see how this will 
cause any real issues with backwards compatibility.


Thanks,

Christopher White
Sr. Programmer
1-617-772-2403
[EMAIL PROTECTED]




"Matthew Altman" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
05/01/2008 10:28 AM
Please respond to
Stripes Users List <[email protected]>


To
"Stripes Users List" <[email protected]>
cc

Subject
Re: [Stripes-users] Need feedback






I also welcome this change.
Although I think the default behavior should be reversed...just for 
consistency and backward compatibility reasons.
Granted, I can see this being turned on for a lot of fields, but again 
there are a handful that I would leave to the current default behavior of 
not trimming.

-Matthew


On Thu, May 1, 2008 at 8:17 AM, Oscar Westra van Holthe - Kind <
[EMAIL PROTECTED]> wrote:
On 01-05-2008 at 10:07, Ben Gunter wrote:
> All this rambling has been leading up to this question: How do you all 
feel
> about values being trimmed by default with exceptions being allowed for
> specific fields by setting @Validate(trim=false)? This change will 
affect
> backward compatibility in some cases, but we believe those cases to be
> rare. Does anyone have a use case where this would cause them a lot of
> trouble? Speak now or forever hold your peace.

Some browser environments (notably Windows) include trailing spaces into
word ?elections. Also, many users I've seen automatically type a space 
after
a word (probably to avoid typing two words without a space in between).

In either case however, the typed/pasted space is not considered part of 
the
input (note how consistent users are... </sarcasm>). Some customers have
actually complained that the spaces they've entere? ended up in a 
generated
RTF document.

Therefore, I welcome this change.


Oscar

--
  ,-_   Progress is made by lazy men looking for easier ways to do
 /() )  things.
 (__ (
=/  ()    -- Robert Heinlein

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users



*************************** IMPORTANT
NOTE***************************** The opinions expressed in this
message and/or any attachments are those of the author and not
necessarily those of Brown Brothers Harriman & Co., its
subsidiaries and affiliates ("BBH"). There is no guarantee that
this message is either private or confidential, and it may have
been altered by unauthorized sources without your or our knowledge.
Nothing in the message is capable or intended to create any legally
binding obligations on either party and it is not intended to
provide legal advice. BBH accepts no responsibility for loss or
damage from its use, including damage from virus.
************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to