RE: jwc files and annotations

2005-09-19 Thread Muralidhar Y.
bile : 00971-50-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Tomáš Drencák [mailto:[EMAIL PROTECTED] Sent: 20 September 2005 09:01 To: Tapestry users Subject: Re: jwc files and annotations Thanks, that would solve a pro

Re: jwc files and annotations

2005-09-19 Thread Tomáš Drenčák
Tomáš Drencák [mailto:[EMAIL PROTECTED] > Sent: 18 September 2005 18:42 > To: Tapestry users > Subject: Re: jwc files and annotations > > But again... > > public abstract Collection getCollection(); public abstract void > setCollection(Collection col); > > public abstr

RE: jwc files and annotations

2005-09-18 Thread Muralidhar Y.
dastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Tomáš Drencák [mailto:[EMAIL PROTECTED] Sent: 18 September 2005 18:42 To: Tapestry users Subject: Re: jwc files and annotations But again... public abstract Collection getCollection();

RE: jwc files and annotations

2005-09-18 Thread Muralidhar Y.
Sent: 18 September 2005 18:33 To: Tapestry users Subject: Re: jwc files and annotations Your tapestry page should be not be created when is abstract so cglib have to make page which extends your abstract page. I think that you mean abstract methods in "real" abstract class. You have to ex

RE: jwc files and annotations

2005-09-18 Thread Muralidhar Y.
971-50-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Tomáš Drencák [mailto:[EMAIL PROTECTED] Sent: 18 September 2005 18:42 To: Tapestry users Subject: Re: jwc files and annotations But again... public abstract Collection get

Re: jwc files and annotations

2005-09-18 Thread Tomáš Drenčák
Subclasses may override this method, but must invoke this implementation > (usually, last). > > > Specified by: > detach in interface IPage > See Also: > IPageSource.releasePage(IPage) > > Muralidhar Y > Software Engineer, > Adastrum technologies-Nikai groups,

Re: jwc files and annotations

2005-09-18 Thread Tomáš Drenčák
.adastrumtech.com > http://www.mercator.aero > (Keep Smiling. Be happy All The Time.) > > -Original Message- > From: Tomáš Drencák [mailto:[EMAIL PROTECTED] > Sent: 17 September 2005 23:22 > To: Tapestry users > Subject: Re: jwc files and annotations > > Yes, you could have

RE: jwc files and annotations (abstract methods)

2005-09-18 Thread Muralidhar Y.
Division, Dubai, UAE. Mobile : 00971-50-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Johan Maasing [mailto:[EMAIL PROTECTED] Sent: 18 September 2005 11:06 To: Tapestry users Subject: Re: jwc files and annotations

Re: jwc files and annotations (abstract methods)

2005-09-18 Thread Johan Maasing
: Tapestry users Subject: Re: jwc files and annotations Yes, you could have just abstract getter (+ setter) for each property in Tapestry 4 2005/9/17, Muralidhar Y. <[EMAIL PROTECTED]>: Hi in tapestry 3.0.3 if we have to declare or use abstract methods we have to declare them as properties in

RE: jwc files and annotations

2005-09-17 Thread Muralidhar Y.
Sent: 17 September 2005 23:25 To: Tapestry users Subject: Re: jwc files and annotations Yes you're right, but what if I'd like to initialize properties to non default values specific for each request. For instance I will get identifier into persistent (userId) property in page and want some meth

RE: jwc files and annotations

2005-09-17 Thread Muralidhar Y.
Subject: Re: jwc files and annotations Yes, you could have just abstract getter (+ setter) for each property in Tapestry 4 2005/9/17, Muralidhar Y. <[EMAIL PROTECTED]>: > Hi in tapestry 3.0.3 if we have to declare or use abstract methods we > have to declare them as properties in .page f

Re: jwc files and annotations

2005-09-17 Thread Tomáš Drenčák
iratesGroup-I.T Division, > > Dubai, UAE. > > Mobile : 00971-50-2256149. > > http://www.adastrumtech.com > > http://www.mercator.aero > > (Keep Smiling. Be happy All The Time.) > > > > -Original Message- > > From: Nick Stuart [mailto:[EMAIL PROTE

Re: jwc files and annotations

2005-09-17 Thread Tomáš Drenčák
adastrumtech.com > http://www.mercator.aero > (Keep Smiling. Be happy All The Time.) > > -Original Message- > From: Tomáš Drencák [mailto:[EMAIL PROTECTED] > Sent: 17 September 2005 21:36 > To: Tapestry users > Subject: Re: jwc files and annotations > > Prope

RE: jwc files and annotations

2005-09-17 Thread Muralidhar Y.
http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Tomáš Drencák [mailto:[EMAIL PROTECTED] Sent: 17 September 2005 21:39 To: Tapestry users Subject: Re: jwc files and annotations Detach method is not deprecated, it shold be use t

RE: jwc files and annotations

2005-09-17 Thread Muralidhar Y.
gt; Dubai, UAE. > Mobile : 00971-50-2256149. > http://www.adastrumtech.com > http://www.mercator.aero > (Keep Smiling. Be happy All The Time.) > > -Original Message- > From: Tomáš Drencák [mailto:[EMAIL PROTECTED] > Sent: 17 September 2005 12:03 > To: Tapestry users >

Re: jwc files and annotations

2005-09-17 Thread Tomáš Drenčák
nal Message- > From: Nick Stuart [mailto:[EMAIL PROTECTED] > Sent: 17 September 2005 16:32 > To: Tapestry users; [EMAIL PROTECTED] > Subject: Re: jwc files and annotations > > In tapestry 4 you should use the pageBeginRender method and implement the > PageBeginRenderListen

Re: jwc files and annotations

2005-09-17 Thread Tomáš Drenčák
00971-50-2256149. > http://www.adastrumtech.com > http://www.mercator.aero > (Keep Smiling. Be happy All The Time.) > > -Original Message- > From: Tomáš Drencák [mailto:[EMAIL PROTECTED] > Sent: 17 September 2005 12:03 > To: Tapestry users > Subject: Re: jwc files a

RE: jwc files and annotations

2005-09-17 Thread Muralidhar Y.
://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Nick Stuart [mailto:[EMAIL PROTECTED] Sent: 17 September 2005 16:32 To: Tapestry users; [EMAIL PROTECTED] Subject: Re: jwc files and annotations In tapestry 4 you should use the pageBeginRender method and

RE: jwc files and annotations

2005-09-17 Thread Muralidhar Y.
://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Tomáš Drencák [mailto:[EMAIL PROTECTED] Sent: 17 September 2005 12:03 To: Tapestry users Subject: Re: jwc files and annotations But why to have one almost empty file (only xml

RE: jwc files and annotations

2005-09-17 Thread Muralidhar Y.
All The Time.) -Original Message- From: Alan Chandler [mailto:[EMAIL PROTECTED] Sent: 17 September 2005 11:47 To: tapestry-user@jakarta.apache.org Subject: Re: jwc files and annotations On Saturday 17 Sep 2005 08:41, Muralidhar Y. wrote: > You don't need to have them in d

Re: jwc files and annotations

2005-09-17 Thread Nick Stuart
-----Original Message- > > From: Alan Chandler [mailto:[EMAIL PROTECTED] > > Sent: 16 September 2005 22:49 > > To: tapestry-user@jakarta.apache.org > > Subject: Re: jwc files and annotations > > > > On Friday 16 September 2005 18:29, Tomáš Drenčák wrote: >

Re: jwc files and annotations

2005-09-17 Thread Tomáš Drenčák
happy All The Time.) > > -Original Message- > From: Tomáš Drencák [mailto:[EMAIL PROTECTED] > Sent: 17 September 2005 10:08 > To: Tapestry users > Subject: Re: jwc files and annotations > > But it's odd to have files for one purpose in three different locations &

Re: jwc files and annotations

2005-09-17 Thread Alan Chandler
On Saturday 17 Sep 2005 08:41, Muralidhar Y. wrote: > You don't need to have them in different locations. Once there is .page > file you can move them as you want and also you can keep them together in a > directory or in a single jar file. Another solution which I used when I first started experi

RE: jwc files and annotations

2005-09-17 Thread Muralidhar Y.
, UAE. Mobile : 00971-50-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Tomáš Drencák [mailto:[EMAIL PROTECTED] Sent: 17 September 2005 10:08 To: Tapestry users Subject: Re: jwc files and annotations But it

Re: jwc files and annotations

2005-09-16 Thread Tomáš Drenčák
Smiling. Be happy All The Time.) > > -Original Message- > From: Tomáš Drencák [mailto:[EMAIL PROTECTED] > Sent: 16 September 2005 22:43 > To: Tapestry users > Subject: Re: jwc files and annotations > > Well, I have written page without .page file and seems strange

Re: jwc files and annotations

2005-09-16 Thread Tomáš Drenčák
//www.adastrumtech.com > http://www.mercator.aero > (Keep Smiling. Be happy All The Time.) > > -Original Message- > From: Alan Chandler [mailto:[EMAIL PROTECTED] > Sent: 16 September 2005 22:49 > To: tapestry-user@jakarta.apache.org > Subject: Re: jwc files and

RE: jwc files and annotations

2005-09-16 Thread Muralidhar Y.
-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Tomáš Drencák [mailto:[EMAIL PROTECTED] Sent: 16 September 2005 22:43 To: Tapestry users Subject: Re: jwc files and annotations Well, I have written page without

RE: jwc files and annotations

2005-09-16 Thread Muralidhar Y.
://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Alan Chandler [mailto:[EMAIL PROTECTED] Sent: 16 September 2005 22:49 To: tapestry-user@jakarta.apache.org Subject: Re: jwc files and annotations On Friday 16 September 2005 18:29, Tomáš Drenčák wrote

Re: jwc files and annotations

2005-09-16 Thread Alan Chandler
On Friday 16 September 2005 18:29, Tomáš Drenčák wrote: > Thanks a lot. > > Another question... You are using pageValidate to set up thisPerson > property. I'm still little bit confused about page initialization. > What are pageBeginRender, pageValidate and prepareForRender for? Where > to initiali

Re: jwc files and annotations

2005-09-16 Thread Tomáš Drenčák
Well, I have written page without .page file and seems strange to me, that there must be a page (.html) in root directory, localization file in WEB-INF (.properties) and finally class in classes directory. I think that this should be set up some way... Any ideas? 2005/9/16, Tomáš Drenčák <[EMAIL P

Re: jwc files and annotations

2005-09-16 Thread Tomáš Drenčák
Thanks a lot. Another question... You are using pageValidate to set up thisPerson property. I'm still little bit confused about page initialization. What are pageBeginRender, pageValidate and prepareForRender for? Where to initialize e.g. thisPerson from passed personId parameter? I've used pageBe

Re: jwc files and annotations

2005-09-16 Thread Alan Chandler
On Friday 16 September 2005 17:40, Sylvain COUTANT wrote: > Hi, > > I'm fairly new to Tapestry, but I thought jwc files were to define > components, not pages. > > For pages, I have no .page file. Tap 4 supports a package list > (org.apache.tapestry.page-class-packages) to search for a java class h

RE: jwc files and annotations

2005-09-16 Thread Sylvain COUTANT
> So you have html files in WEB-INF/classes/somePathToHtml where you have > classes? Example : context/pages/Main.html context/WEB-INF/classes/your/package/name/pages/Main.java With the following line in my .application xml file : To access the page, I then use something like : In the te

RE: jwc files and annotations

2005-09-16 Thread Sylvain COUTANT
Hi, I'm fairly new to Tapestry, but I thought jwc files were to define components, not pages. For pages, I have no .page file. Tap 4 supports a package list (org.apache.tapestry.page-class-packages) to search for a java class having the same name as the page. For components, I didn't find how