on 5/22/2000 5:12 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> This here would be a better discussion to have on the Turbine list. I
> suspect that a doStyle or doTransform is out since doBuild is THE
> fundamental method to create screens.
Wrong...:-)
What you do is this:
Style.doBuild()
{
doStyle()
}
CustomClass.doStyle() extends MyClass
{
// do style code here
}
Now, when a request for CustomClass is called, the doBuild() method is
invoked which then invokes the CustomClass.doStyle() method.
This is how all the WebMacroSite* stuff works...it is very clean OO
stuff...and VERY powerful. There is plenty of examples of this with Turbine
now for WebMacro...doing this for other template system should be pretty
painless, but an understanding of core Turbine stuff and OO concepts is
definitely needed...
> What is needed is for Turbine some sort of integration like there is
> with Webmacro and Freemarker now.
I agree.
> This would probably be one of the guys over here in Jetspeed working on
> the XML integration, at least that was the feeling I got the last time it
> was discussed in Turbine.
>
> I cant even venture a guess as to when that might happen though, but I can
> tell you that if this part of Turbine isnt moving along by the end of
> summer I will be looking at implementing that then. This is because I need
> it for work.
cool!
-jon
--
Java Servlet Based - Open Source | Collab.Net
Bug/Issue Tracking System | now hiring smart people
<http://scarab.tigris.org/> | <http://Collab.Net/jobs/>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]