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 Depr
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:
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 it as the
Thanks both of you for this precision ;)
My second question is more about how to create/instantiate a "application
object" at the ApplicationServlet level and make this instance available for
all.
I think the hivemodule.xml create a new instance of my custom
ApplicationServlet and didn't use the
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 im
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. Wh
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
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 tou
BW,
No need to touch hivemind.xml. Add a file called hivemodule.xml to
WEB-INF, with content similar to this:
Hi,
I found in the document what is the line to add into hivemind.xml file to
create an ASO since getGlobal is deprecated. But I didn't find a standard"
hivemind.xml file and I have no idea what is mandatory to put in. I just
want to declare my ASO object to be able to inject it in my page.
So,
10 matches
Mail list logo