A user asks for a specific VelocityScreen, assuming that it is alright to
access it.  This is not OK, because of the state of the application (there
is no active customer/product/etc.), so I must forward him to a more general
screen.

When using ECS, I achieved this effect with:

return ScreenLoader.getInstance().eval(data, "TheDefaultScreen");

This is not possible within the doBuildTemplate function, since it does not
return anything.  What is the substitute for this.

Note that setTemplate(data,"DefaultScreen.vm") will not do, since, as is
stated in the javadocs for that method, this will NOT affect how objects are
stuffed into context.

Thanks,

Magnus

ps. I would like to avoid a response.sendRedirect() at all costs.



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to