Stop sending me these emails, please. -----Original Message----- From: Apache [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 2:46 PM To: [email protected] Subject: Re: Inherit pages components
Doh! I`m using border component and had not even though on that, sorry ;) On 2/5/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > Most people use the Border component pattern for things like this. (the > tacos demo has an example, so does the Workbench from tapestry) > > That's what I would do. > > On 2/5/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: > > > > Hello there, is it possible to inherit some page components? for eg. All > > my > > form pages has this fragment of code: > > <component id="errors" type="For"> > > <binding name="source" value="beans.delegate.fieldTracking"/> > > <binding name="value" value="currentFieldTracking"/> > > </component> > > <component id="error" type="Delegator"> > > <binding name="delegate" value="currentFieldTracking.errorRenderer"/> > > </component> > > > > Thanks Kent for this in your book ;) > > > > Well, I must copy and paste this in every page I have (at least is what > > I'm > > doing now :P). Is it possible to use some kind of inheritance to solve > > this? > > Like having a parent xml file containing this and then extending it? > > > > Regards > > > > > > -------------------- m2f -------------------- Sent from www.TapestryForums.com Read this topic online here: <<topic_link>> http://www.tapestryforums.com/viewtopic.php?p=14263#14263 -------------------- m2f -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
