Actually you can just go: Visit visit = (Visit) getPage().getVisit();
On 6/8/05, Justin Koke <[EMAIL PROTECTED]> wrote: > Andrey asked: > > Q. How to initialize Visit to be accessed from not only pages but also > > components? > > If Border.java is a component (ie it extends BaseComponent), you can > just use the following: > > Visit visit = (Visit) getPage().getEngine().getVisit(); > > Cheers, > Justin > > -- > Justin Koke > E: [EMAIL PROTECTED] > -- Justin Koke P:+61 2 9288 7579 M: 0402 045 101 E: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
