Hello Byron,

Good point Byron, this is what I thought and I'm still thinking about the
reason of a blank page.  The template files are copied, but only these,
which are included with 'parse' directive. The template, which is returned
as blank page is not copied or even moved at all. 

Bye,
Jessica


Byron Foster-2 wrote:
> 
> What OS is this?  If you are using the 'cp' command on the command  
> line with Linux then try 'mv' instead.
> 
> On Mar 9, 2009, at 16:24 , Jessica Mong wrote:
> 
>> I will raise a new Jira issue after some investigation. I will put  
>> some
>> error messages inside FileResourceLoader and spring  
>> VelocityView.doRender
>> (which obtains template object), to check if resource.data is null  
>> or empty.
>>
>> Currently the work-around I have is to reload template in a
>> VelocityView.doRender() if node is null or empty and to return  
>> always 'true'
>> by ResourceLoader.isSourceModified() to avoid caching templates  
>> which can be
>> empty because of error.
>>
>> The template that the problem is related to, has many multi-level  
>> parse()
>> directives and some custom toolboxes. So parsing operation is quite  
>> complex.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Template-load-parse-error---empty-node-returned-tp22393174p22516406.html
Sent from the Velocity - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to