Hi Krishnan,

> I have a framework where individual components are velocity templates and I
> merge templates within templates to get the final HTML page. In other words
> the Page Component does a merge and inside the template for the merge I loop
> through the components and merge them individually.
> 
> Sometimes, I am seeing the IE displays partial pages or screwed up HTML
> pages. Behind the scenes my renderer has not completed processing all the
> components in the page.
> 
> My question to this forum is
> 1. Has anyone experience this before? If so has he/she solved it?
I've done a similar thing with TilesTool, but it never failed on me.  :)
    http://jakarta.apache.org/velocity/tools/struts/TilesTool.html

> 2. Are there any configuration parameters that control the flushing? To
> force velocity to flush only at the page level. (I can do a flush at the
> servlet level).
None that I know of.  Of course, you can hack Velocity to do that, I
guess.  The part that controls the output is in
o.a.v.tools.view.servlet.VelocityViewServlet#mergeTemplate(...)
## assuming, of course, that you are using VelocityViewServlet

Best regards,
-- Shinobu Kawai

-- 
Shinobu Kawai <[EMAIL PROTECTED]>

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

Reply via email to