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
;
>
>>> 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
>>&
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
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
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
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
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
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
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
[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
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
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
>
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
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
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
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
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
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
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
; 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
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,
> > 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
> > 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]
---
> 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:
> &
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
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
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
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
28 matches
Mail list logo