Re: injections without annotations

2006-02-16 Thread Ashok Madhavan
you can do something like this : Add an equivalent of this to your present .page file. Also make sure you have a abstract method to get the ShowProject page. some thing like this : abstract public ShowProject getShowProject(); Assumption is ShowProject is a Tapestry page class and there is

Re: injections without annotations

2006-02-14 Thread Alan Chandler
On Tuesday 14 February 2006 21:19, Apache wrote: > I'm also confused about Tapestry4 with jdk1.4/jdk1.3. > > Instead of using jdk1.5 annotations i think you create an xml file under > /WEB-INF/app.properties , where "app" is the name of the servlet in this > example app.properties is a different

Re: injections without annotations

2006-02-14 Thread Chris Chiappone
If you not using annotations you can inject things in your page spec file. For example if you want to have your ASO or Visit object inject do something like this: On 2/14/06, Apache <[EMAIL PROTECTED]> wrote: > I'm also confused about Tapestry4 with jdk1.4/jdk1.3. > > Instead of using jdk1.5 a

RE: injections without annotations

2006-02-14 Thread Apache
I'm also confused about Tapestry4 with jdk1.4/jdk1.3. Instead of using jdk1.5 annotations i think you create an xml file under /WEB-INF/app.properties , where "app" is the name of the servlet in this example I quoting from the example: We'll create an application specification for our appl

Re: injections without annotations

2006-02-14 Thread Mat Gessel
You need to place the inject tag in the page specification file, i.e. "Home.page". It will not work in the HTML template. -= Mat On 2/14/06, Apache <[EMAIL PROTECTED]> wrote: > Hi, I am very new to Tapestry. > I have followed tutorial for Tap4 but I have to use it in a 1.4.2 runtime. I > am tryi

Re: injections without annotations

2006-02-14 Thread Wayland Chan
Can't you just inject using the same mechanism you keep using to inject SPAM into this mailing list? On 2/14/06, Apache <[EMAIL PROTECTED]> wrote: > > Hi, I am very new to Tapestry. > I have followed tutorial for Tap4 but I have to use it in a 1.4.2 runtime. > I am trying to understand how to use