Create a base class for all your screens, and have the build() method (not
doBuild()) call the action before calling doBuild().

Note that you should use the action loader to execute the action instead of
just calling the method explicitly.

Check out the source of Screen.java to get a feel for this.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Alan McAuley
> Sent: 24. november 2000 12:17
> To: Turbine
> Subject: Default action
>
>
> At the risk of being flamed - how might i set up a default action that
> gets evaluated before each screen?
>
> I think there is a way - no?
>
> At your mercy
>
> Alan
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
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