forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [Discuss] Templating language - forrest:templates and Struts Tiles
Date Mon, 22 Nov 2004 19:32:10 GMT
El lun, 22-11-2004 a las 20:05, Ross Gardler escribió:
> Thorsten Scherler wrote:
> > El lun, 22-11-2004 a las 17:47, Ross Gardler escribió:
> 
> <snip/>
> 
> >>I think you misunderstand the purpose of the extension point. It is 
> >>just a standard name of a <forrest:call-template...>, I do not see the

> >>mechanism being any different. I think that by calling them somehthing 
> >>different I am only confusing things. The above can be re-written as:
> >>
> >><forrest:view output-format="xhtml, fo" name="default">
> >>    <forrest:hook name="header">
> >>     <forrest:nugget name="grouplogo"/>
> >>     <forrest:nugget name="projectlogo"/>
> >>     <forrest:call-template name="additions"/>
> >>     <forrest:call-template name="navigation"/>
> >>    </forrest:hook>
> >>
> >>The reason I renamed it is because making it a label in this way allows 
> >>multiple plugins to extend the same extension point, which is different 
> >>to having a user write a custom template.
> >>
> > 
> > 
> > Ok, then I can tell you that this extension points already exist in the
> > markup of leather. :)
> 
> Cool!

:) cheers ;-)
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message