RE: ServletContext

2006-05-17 Thread Schulte Marcus
esday, May 17, 2006 4:29 PM > To: Tapestry users > Subject: Re: ServletContext > > > I am using Java 6 on the desktop and 5 on the deployment machine. > And tapestry-annotations-4.0.1 is on my classpath. Its > included on the build > path of my Eclipse project. > &g

Re: ServletContext

2006-05-17 Thread Brian K. Wallace
; > >>> http://jakarta.apache.org/tapestry/UsersGuide/hivemind.html#hivemind.inject >>> > >>> >>> >>> -Original Message- >>> From: Rui Pacheco [mailto:[EMAIL PROTECTED] >>> Sent: Wednesday, May 17, 2006 10:15 AM >>&

Re: ServletContext

2006-05-17 Thread Rui Pacheco
s Carman wrote: > > Are you using JDK5? > > > > -Original Message- > > From: Rui Pacheco [mailto: [EMAIL PROTECTED] > > Sent: Wednesday, May 17, 2006 10:24 AM > > To: Tapestry users > > Subject: Re: ServletContext > > > > I want to use annotations, b

Re: ServletContext

2006-05-17 Thread Rui Pacheco
ve the tapestry-annotations jar on your classpath?) James Carman wrote: > Are you using JDK5? > > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 17, 2006 10:24 AM > To: Tapestry users > Subject: Re: ServletContext > > I want

Re: ServletContext

2006-05-17 Thread Jesse Kuhnert
Do you have tapestry-annotations jar in your classpath? On 5/17/06, James Carman <[EMAIL PROTECTED]> wrote: Are you using JDK5? -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 10:24 AM To: Tapestry users Subject: Re: ServletContext

Re: ServletContext

2006-05-17 Thread Brian K. Wallace
To: Tapestry users > Subject: Re: ServletContext > > I want to use annotations, but for some reason the @Inject syntax isn't > recognized. I was just wondering what do I need to have it working. > > On 5/17/06, James Carman <[EMAIL PROTECTED]> wrote: >> If you don't

RE: ServletContext

2006-05-17 Thread James Carman
Are you using JDK5? -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 10:24 AM To: Tapestry users Subject: Re: ServletContext I want to use annotations, but for some reason the @Inject syntax isn't recognized. I was just wondering what

Re: ServletContext

2006-05-17 Thread Rui Pacheco
n your component/page specification file: http://jakarta.apache.org/tapestry/UsersGuide/hivemind.html#hivemind.inject -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 10:15 AM To: Tapestry users Subject: Re: ServletContext What is the exact syntax to do

RE: ServletContext

2006-05-17 Thread James Carman
7, 2006 10:15 AM To: Tapestry users Subject: Re: ServletContext What is the exact syntax to do the injection of the component on the page? The examples on Tapestry's website only talk about using page definitions and I want to inject the DataSource directly on my page component. On the other ha

Re: ServletContext

2006-05-17 Thread Rui Pacheco
[mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 17, 2006 12:55 PM > To: Tapestry users > Subject: Re: ServletContext > > > I am sorry for being so thick, but I still dont understand > how to use my > pool based on the examples on Jakarta's website and yours. > I have a j

RE: ServletContext

2006-05-17 Thread James Carman
CTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 7:37 AM To: 'Tapestry users' Subject: RE: ServletContext Sorry, now I see what you mean. Actually you'll need *both*. 1. the hivemodule snippet configuring the DataSource from you .jar 2. A class like the one sketche

Re: ServletContext

2006-05-17 Thread Rui Pacheco
this make it clearer? > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 17, 2006 12:55 PM > To: Tapestry users > Subject: Re: ServletContext > > > I am sorry for being so thick, but I still dont understand > how to use my >

RE: ServletContext

2006-05-17 Thread Schulte Marcus
y, May 17, 2006 12:55 PM > To: Tapestry users > Subject: Re: ServletContext > > > I am sorry for being so thick, but I still dont understand > how to use my > pool based on the examples on Jakarta's website and yours. > I have a jar file with my connection pool. I h

RE: ServletContext

2006-05-17 Thread Schulte Marcus
2006 12:20 PM > To: Tapestry users > Subject: Re: ServletContext > > > For the sake of simplicity, lets assume I'm also using dbcp > > How do you retrieve a new connection from the Registry? > According to the HiveMind examples, I wound have to create an > instance of &g

Re: ServletContext

2006-05-17 Thread Rui Pacheco
this.dataSource = dataSource; } // MyDao interface methods here... } In your hivemodule.xml file... -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 6:20 AM To: Tapestry users Subject: Re: ServletContext For the sake of simplicit

RE: ServletContext

2006-05-17 Thread James Carman
ataSource ) { this.dataSource = dataSource; } // MyDao interface methods here... } In your hivemodule.xml file... -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 6:20 AM To: Tapestry users Subject: Re: ServletContext For the

Re: ServletContext

2006-05-17 Thread Rui Pacheco
für Testumgebung > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 3:54 PM > To: Tapestry users > Subject: Re: ServletContext > > > I dont doubt HiveMind would be the right way to go, but the > learning

RE: ServletContext

2006-05-16 Thread Schulte Marcus
L PROTECTED] > Sent: Tuesday, May 16, 2006 3:54 PM > To: Tapestry users > Subject: Re: ServletContext > > > I dont doubt HiveMind would be the right way to go, but the > learning curve > seems to be a bit too steep for my timeframe. > Can I insist on an example using Servlet

Re: ServletContext

2006-05-16 Thread Hugo Palma
ta for Proxool, the > > connection > > > > pool I'm using with my application. > > > > > > > > On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > > > > > > > First of all, what does that properties file con

Re: ServletContext

2006-05-16 Thread Rui Pacheco
; First of all, what does that properties file contain? You know, > > > HiveMind > > > > is > > > > a configuration microkernel, so you can do a lot of configuration > with > > > > HiveMind. > > > > > > > > -O

Re: ServletContext

2006-05-16 Thread Hugo Palma
ontain? You know, > > HiveMind > > > is > > > a configuration microkernel, so you can do a lot of configuration with > > > HiveMind. > > > > > > -Original Message- > > > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, May 16,

Re: ServletContext

2006-05-16 Thread Rui Pacheco
> > First of all, what does that properties file contain? You know, > HiveMind > > is > > a configuration microkernel, so you can do a lot of configuration with > > HiveMind. > > > > -Original Message- > > From: Rui Pacheco [mailto:[EMAIL PRO

Re: ServletContext

2006-05-16 Thread Rui Pacheco
> > First of all, what does that properties file contain? You know, > HiveMind > > is > > a configuration microkernel, so you can do a lot of configuration with > > HiveMind. > > > > -Original Message- > > From: Rui Pacheco [mailto:[EMAIL PROTECTED]

Re: ServletContext

2006-05-16 Thread Hugo Palma
--- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 9:02 AM > To: Tapestry users > Subject: Re: ServletContext > > Could you or someone else give me an example on how to do that? > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > &

Re: ServletContext

2006-05-16 Thread Rui Pacheco
an do a lot of configuration with HiveMind. -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 9:02 AM To: Tapestry users Subject: Re: ServletContext Could you or someone else give me an example on how to do that? On 5/16/06, Hugo Palma <[EMAIL PRO

RE: ServletContext

2006-05-16 Thread James Carman
First of all, what does that properties file contain? You know, HiveMind is a configuration microkernel, so you can do a lot of configuration with HiveMind. -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 9:02 AM To: Tapestry users Subject: Re

Re: ServletContext

2006-05-16 Thread Rui Pacheco
Could you or someone else give me an example on how to do that? On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: I would implement such a feature using a ServletContextListener. Something like the HiveUtils SystemPropertyInitListener class. Cheers Hugo On 5/16/06, Rui Pacheco <[EMAIL PROTEC

Re: ServletContext

2006-05-16 Thread Hugo Palma
I would implement such a feature using a ServletContextListener. Something like the HiveUtils SystemPropertyInitListener class. Cheers Hugo On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Hi all I was planning on storing a properties file inside my WEB-INF directory and then read it using