Tim Fennell wrote: > Is this something you want to do globally? If so you might want to > just do it in a request wrapper that overrides getParameter() and > getParameterValues() to return trimmed versions.
No, on a per-field basis. The example case is a user-entered username, which needs to be have more than a minimum and less than a maximum number of character, excluding any (probably mistakenly entered) leading and trailing whitespace. -- Alan Burlison -- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
