[ http://issues.apache.org/jira/browse/VELOCITY-64?page=all ]
     
Will Glass-Husain resolved VELOCITY-64:
---------------------------------------

    Resolution: Invalid
     Assign To:     (was: Velocity-Dev List)

> disgard whitespace between consecutive velocity calls
> -----------------------------------------------------
>
>          Key: VELOCITY-64
>          URL: http://issues.apache.org/jira/browse/VELOCITY-64
>      Project: Velocity
>         Type: Improvement
>   Components: Build
>     Versions: 1.2
>  Environment: Operating System: other
> Platform: All
>     Reporter: William Bajzek
>     Priority: Minor

>
> I've been using velocity for a few months now, and I like it quite a bit, but 
> I've been bothered by one minor but not insignificant problem.
> Often, I need to use velocity calls inside templates to perform logic and set 
> up data structures... For example, to define the menu structure of a website 
> in 
> a template for use in another template to be parsed during the same merge() 
> call, in order to keep such things that are irrelevant to the java code 
> outside 
> of it so it can be modified without rebuilding.
> The problem is that whitespace used outside the velocity calls (for 
> readability 
> and necessity) ends up in the output. In practice, the resulting html can 
> contain many kilobytes of irrelevant whitespace which the browsers will need 
> to 
> download. I would like to see a feature for omitting whitespace between 
> consecutive velocity calls, or something equivalent to accomplish this.
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to