You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by sommeralex <al...@gmail.com> on 2013/01/17 15:27:01 UTC

Page Inheritance

Hi!

I have two questions concerning page inheritance:

1.
What is the best way to implement page inheritance? (Since page variables
may be protected too as a new feature.. this questions popped up..)

Should (abstract) page classes reside in the same folders as the page itself
or somewhere else? 

2.
What about the TML inheritance? (how) does it work? 

3.
Is there any document about using page inheritance? I couldnt find one. 

I could only find 
http://tapestry.apache.org/page-and-component-classes-faq.html

and
http://tapestry.apache.org/page-life-cycle.html

thx!



--
View this message in context: http://tapestry.1045711.n5.nabble.com/Page-Inheritance-tp5719356.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Page Inheritance

Posted by Michael Prescott <mi...@gmail.com>.
Oh neat, I somehow missed this.


On 17 January 2013 09:31, Taha Siddiqi <ta...@gmail.com> wrote:

>
> For template inheritance
>
>
> http://tapestry.apache.org/component-templates.html#ComponentTemplates-TemplateInheritance
>
> You should use the base package for base class.
>
> regards
> Taha
>
> On Jan 17, 2013, at 7:57 PM, sommeralex wrote:
>
> > Hi!
> >
> > I have two questions concerning page inheritance:
> >
> > 1.
> > What is the best way to implement page inheritance? (Since page variables
> > may be protected too as a new feature.. this questions popped up..)
> >
> > Should (abstract) page classes reside in the same folders as the page
> itself
> > or somewhere else?
> >
> > 2.
> > What about the TML inheritance? (how) does it work?
> >
> > 3.
> > Is there any document about using page inheritance? I couldnt find one.
> >
> > I could only find
> > http://tapestry.apache.org/page-and-component-classes-faq.html
> >
> > and
> > http://tapestry.apache.org/page-life-cycle.html
> >
> > thx!
> >
> >
> >
> > --
> > View this message in context:
> http://tapestry.1045711.n5.nabble.com/Page-Inheritance-tp5719356.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
>
>

Re: Page Inheritance

Posted by sommeralex <al...@gmail.com>.
thx

2013/1/17 Taha Hafeez [via Tapestry] <
ml-node+s1045711n5719357h9@n5.nabble.com>

>
> For template inheritance
>
>
> http://tapestry.apache.org/component-templates.html#ComponentTemplates-TemplateInheritance
>
>
> You should use the base package for base class.
>
> regards
> Taha
>
> On Jan 17, 2013, at 7:57 PM, sommeralex wrote:
>
> > Hi!
> >
> > I have two questions concerning page inheritance:
> >
> > 1.
> > What is the best way to implement page inheritance? (Since page
> variables
> > may be protected too as a new feature.. this questions popped up..)
> >
> > Should (abstract) page classes reside in the same folders as the page
> itself
> > or somewhere else?
> >
> > 2.
> > What about the TML inheritance? (how) does it work?
> >
> > 3.
> > Is there any document about using page inheritance? I couldnt find one.
> >
> > I could only find
> > http://tapestry.apache.org/page-and-component-classes-faq.html
> >
> > and
> > http://tapestry.apache.org/page-life-cycle.html
> >
> > thx!
> >
> >
> >
> > --
> > View this message in context:
> http://tapestry.1045711.n5.nabble.com/Page-Inheritance-tp5719356.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=5719357&i=0>
> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=5719357&i=1>
> >
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tapestry.1045711.n5.nabble.com/Page-Inheritance-tp5719356p5719357.html
> To unsubscribe from Page Inheritance, click here<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5719356&code=YWxleGFuZGVyLnNvbW1lckBnbWFpbC5jb218NTcxOTM1NnwxMDUzMzQxMzM4>
> .
> NAML<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://tapestry.1045711.n5.nabble.com/Page-Inheritance-tp5719356p5719359.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Page Inheritance

Posted by Taha Siddiqi <ta...@gmail.com>.
For template inheritance 

http://tapestry.apache.org/component-templates.html#ComponentTemplates-TemplateInheritance 

You should use the base package for base class.

regards
Taha

On Jan 17, 2013, at 7:57 PM, sommeralex wrote:

> Hi!
> 
> I have two questions concerning page inheritance:
> 
> 1.
> What is the best way to implement page inheritance? (Since page variables
> may be protected too as a new feature.. this questions popped up..)
> 
> Should (abstract) page classes reside in the same folders as the page itself
> or somewhere else? 
> 
> 2.
> What about the TML inheritance? (how) does it work? 
> 
> 3.
> Is there any document about using page inheritance? I couldnt find one. 
> 
> I could only find 
> http://tapestry.apache.org/page-and-component-classes-faq.html
> 
> and
> http://tapestry.apache.org/page-life-cycle.html
> 
> thx!
> 
> 
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Page-Inheritance-tp5719356.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>