Matt Hughes <[EMAIL PROTECTED]> writes:
>Hello, I'm using an action to delete a record and would like to go to
>a different screen after the delete completes, but calling
>data.setScreen("CustomerScreen") causes the error below. It seems to
>be changing the Velocity layout or something, but the navigations
>render just fine...
use setScreenTemplate. You don't want to change the screen (which
probably is the VelocityScreen or VelocitySecure screen class) but
just the template to render.
Regards
Henning
>[Mon Mar 17 02:18:38 MST 2003] -- ERROR -- Turbine.handleException: Error rendering
>Velocity template: layoutsnull: Error rendering Velocity template: layoutsnull:
>Unable to find resource 'layoutsnull'
>[Mon Mar 17 02:18:38 MST 2003] -- ERROR --
> Exception: org.apache.turbine.util.TurbineException: Error rendering
> Velocity template: layoutsnull: Error rendering Velocity template: layoutsnull:
> Unable to find resource 'layoutsnull'
> Stack Trace follows:
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
>resource 'layoutsnull'
> at
> org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:501)
> at
> org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:384)
> at
> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:814)
> at
> org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:355)
> at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:482)
> at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
>rethrown as org.apache.turbine.util.TurbineException: Error rendering Velocity
>template: layoutsnull: Unable to find resource 'layoutsnull'
> at
> org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:533)
> at
> org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:389)
>rethrown as org.apache.turbine.util.TurbineException: Error rendering Velocity
>template: layoutsnull: Error rendering Velocity template: layoutsnull: Unable to
>find resource 'layoutsnull'
> at
> org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:533)
> at
> org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:283)
> at
> org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:107)
> at
> org.apache.turbine.modules.layouts.VelocityOnlyLayout.doBuild(VelocityOnlyLayout.java:120)
>... etc etc etc
>--
> Matt Hughes
> + [EMAIL PROTECTED]
> + http://www.enel.ucalgary.ca/~hughes
> + "Were there monkeys? Some terrifying space monkeys maybe got loose?"
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]