On 5/17/05, Joel Trunick <[EMAIL PROTECTED]> wrote: > > If you don't care that the Visit is created before it is needed, it > doesn't matter. However, it would be ideal if your ThreadLocal could > create the Visit when it is actually needed. >
BaseEngine's method getVisit() does not create the visit. If the VisitObject have not been created, returns null. It does not beheave like page's method getVisit(). Page's getVisit() is equals to BaseEngine getVisit(IRequestCycle cycle). So with the solution I told, you don't have the problem you're describing. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
