-- 
Holger Dewes

> -----Original Message-----
> From: Martin Dostal [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 02, 2003 10:22 PM
> To: [EMAIL PROTECTED]
> Subject: Redirection and Velocity context initialization
> 
> 
> Hello,
> 
> I found this problem when trying to redirect from 
> VelocityPortletAction  
> to different pages:
> 
> - if I specify my action in template like this
> 
> <form name="myform" action="$jslink.setAction("portlets. 
> MyActionClass")">
> ...
> <input type="submit" value="eventSubmit_doSomething">
> </form>
> 
> I'm able to change result page by using 
> Rundata.setRedirectURI(), but  
> VelocityContext is not initialised, which is a major issue 
> for me, as  
> I'm using Intake tool and I need to access it [maybe there is 
> other way  
> to access this tool than 'itool = (IntakeTool) context.get 
> ("intake");' ?]

this should work:
(IntakeService)
TurbineServices.getInstance().getService(IntakeService.SERVICE_NAME)



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

Reply via email to