Hi

I have a problem. In my application that I am upgrading
from T3 to T4.1.3
I need to build up the list of pages dynamically
on startup time. This we managed without problems
in T3 by subclassing the engine and accessing the 
IApplicationSpecification there and add pages like this:

applicationSpecification.setPageSpecificationPath(pageName, pagePath);

Now I want to do this in T4.1 but cannot figure out how. 
I have tried to wire objects like this through Hivemind:

<service-point id="basePageManager" interface="java.lang.Runnable">
        <invoke-factory>
            <construct class="no.imb.bite.service.BasePageManager">
                <set-service property="globals"
service-id="tapestry.globals.ApplicationGlobals"/>
            </construct>
        </invoke-factory>
    </service-point>

and to start it in startup time: 

<contribution configuration-id="hivemind.Startup">
        <startup object="service:basePageManager"/>
    </contribution>

but when I try to access the global.getSpecification() in the run() method
I get null. My guess is that the applicationSpecification is not
yet set. 

Can anybody help me in how I can get a handle to the 
application specification so I can register my pages through
my java classes instead of adding them by hand in my
app.application file?

Thanks, 
Henrik


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

Reply via email to