on 1/28/01 6:06 PM, "Jason van Zyl" <[EMAIL PROTECTED]> wrote:

> Yes, by trim I mean remove the leading and trailing whitespace.
> 
> What I would like to be able to do is:
> 
> User user = TurbineSecurity.getUserInstance();
> data.getParameters().setProperties(user);
> 
> Yes, I agree that getString() should do it. I should
> have been more clear.
> 
> Should we have an option in TR.props to specify
> that we want automatic trimming of whitespace?
> 
> jvz.

I want it per request not globally.

How about:

data.getParameters(true).setProperties(user)

?

where "true" would tell the properties object to strip whitespace...

-jon

-- 
Honk if you love peace and quiet.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to