-------"However, I would still have to paste the same two specifications
for both properties in every single .page specification file,
right?"---------

Yes page inheritance is possible with java classes and if you want to avoid
declaring them as properties in every single file instead of declaring
abstract methods implement them in your cutom extended page.




Muralidhar Y
Software Engineer,
Adastrum technologies-Nikai groups,
EmiratesGroup-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: Jim Steinberger [mailto:[EMAIL PROTECTED] 
Sent: 03 October 2005 21:57
To: Tapestry users
Subject: Page-Inheritence

Happy Monday!
 
 
Am I correct in stating that page-inheritence is possible with the Java
classes, but not the XML specification files?
 
For example, say I want every page in my application to have two String
properties: "message" and "error".
 
I could create an abstract base-class that defines abstract setters for
those two properties, and have all my pages extend that class.
 
However, I would still have to paste the same two specifications for both
properties in every single .page specification file, right?
 
I'm using Tapestry 3.0.3, by the way, but can upgrade to Tapestry 4 if
necessary.
 
 
Thanks!
Jim Steinberger
Dynamic Edge, Inc.

Reply via email to