BW,
No need to touch hivemind.xml. Add a file called hivemodule.xml to
WEB-INF, with content similar to this:
?xml version=1.0?
module id=jumpstart version=1.0.0 package=jumpstart.web
!-- ServiceLocator and Visit --
contribution
Thanks a lot, but I have a question again: To what, the id in the module
tag, refer? Is it the name of my context? is it app? is it the package where
something (what?) is store? Same question for the version.
Thanks anyway
BW
2006/7/20, Geoff Callender [EMAIL PROTECTED]:
BW,
No need to
users
Subject: Re: ASO and hivemind.xml
Thanks a lot, but I have a question again: To what, the id in the module
tag, refer? Is it the name of my context? is it app? is it the package where
something (what?) is store? Same question for the version.
Thanks anyway
BW
2006/7/20, Geoff Callender
Others might chime in because I'm no expert on this, but this what I
believe to be true...
- The module id and version can be arbitrary. However, to avoid name
clashes you can use the id as a qualifier, eg.
@InjectState(jumpstart: serviceLocator)
So the id forms a namespace. Why
The situation is :
I create class that extends ApplicationServlet and I specify it as the
tapestry main servlet in web.xml. In this class I call a class that
initialise some application objects such as list of element common to
everybody from the database.
My class also set a bean member and
Have you tried using a StateObjectFactory?
-Original Message-
From: Blackwings [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 9:07 AM
To: Tapestry users
Subject: Re: ASO and hivemind.xml
The situation is :
I create class that extends ApplicationServlet and I specify
On 7/20/06, Geoff Callender [EMAIL PROTECTED] wrote:
Others might chime in because I'm no expert on this, but this what I
believe to be true...
- The module id and version can be arbitrary. However, to avoid name
clashes you can use the id as a qualifier, eg.
@InjectState(jumpstart:
Howard, thanks for the advice. I have to use JDK1.4 so I cannot use
annotations.
My real problem is to understand how I can instanciate an object at the
context load, in the ApplicationServlet via inheritance and to make this
object available to my pages.
As I already explained, getGlobal is