You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Alex (JIRA)" <de...@velocity.apache.org> on 2011/06/07 23:51:59 UTC

[jira] [Created] (VELTOOLS-141) VelocityView Servlet does not handle NULL templates

VelocityView Servlet does not handle NULL templates
---------------------------------------------------

                 Key: VELTOOLS-141
                 URL: https://issues.apache.org/jira/browse/VELTOOLS-141
             Project: Velocity Tools
          Issue Type: Bug
          Components: VelocityView
            Reporter: Alex
            Priority: Minor


For some reason the check for NULL was dropped between the velocity tools 1.3 and 2.0. Basically I need a way to send a redirect and skip merging of the template. We used to do that by overriding the handleRequest method, issuing the response.sendRedirect there and returning NULL for the template. However returning NULL would no longer work in 2.0 since the mergeTemplate is done regardless of it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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