velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Cohen <sco...@javactivity.org>
Subject Re: What's the easiest way
Date Thu, 03 Dec 2009 21:32:55 GMT
Nathan Bubna wrote:
> All blank spaces in what?  A template, a section of a template, or a
> string or both?  If a string, you can call all public java.lang.String
> methods, so if you use Java 5+, you can just avail yourself the
> replace methods.  If a template, it depends on how you are a storing
> that resource.  If a section of a template, you could wrap it in a
> #define block, render the block into a string and then use the
> string's replace method, as above.
> 
> 2009/12/3 Steve Cohen <scohen@javactivity.org>:
>> in Velocity to convert all blank spaces to &nbsp;?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: user-help@velocity.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
> 
> 
> 
Never mind, found out I didn't need to do it anyway.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message