You can get the context by calling TurbineVelocity.getContext(data).

To get an instance of your action, you can either instantiate it
directly, or use ActionLoader.  Either way works.

> -----Original Message-----
> From: Mark Lybarger [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 12, 2003 1:25 PM
> To: 'Turbine Users List' (E-mail)
> Subject: LoginUser calling an action
> 
> 
> i'm trying to call an action from the LoginUser, but i 
> haven't quite figured out how.  i've tried calling the 
> data.setAction, but that doesn't seem to call the action that 
> i set.  i could create an instance of my action in the 
> LoginUser.doPerform method, but my action has a signature of 
> myAction.doPerform( RunData, Context).  there's no context 
> available in the LoginUser.  so this is where i'm stuck.  is 
> it possible to call an action from the LoginUser? if so does 
> anyone have an example?  perhaps a better way to implement this?
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.488 / Virus Database: 287 - Release Date: 6/5/2003
>  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


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

Reply via email to