<quote> On the same screen, there are many sections, for example Market Summary, Business News Headlines, and so on. Let's say each of those sections is a separate Velocity screen with a separate SubScreen.vm and SubScreen.class. The user should be able to select the sub-screens he wants, which means the screen has to be built dynamically. Is such a setup possible with Turbine/Velocity? </quote>
If you want to separate the content in one html page into several templates, Velocity has both a #include directive (acts like a SSI--does not parse) and a #parse directive that acts like a SSI, but parses the template as well. I'm not sure this is exactly what you want, but I think it would work. As for your second question, <quote> Another similar question, with Navigations, can each navigation template instantiate its own Java class to provide the data? </quote> All the template classes, layouts, navigations & screens may have a java class behind it. HTH, Steve -----Original Message----- From: Dave [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 5:59 PM To: [EMAIL PROTECTED] Subject: multiple sub-screens in a portal like environment I am new to Turbine/Velocity. I looked in the docs and in the list archive, but did not find the information I am looking for. What I am trying to do is an app that would have a screen, customizable by the user, that will display multiple sub-screens. As an example, let's take http://finance.yahoo.com/ On the same screen, there are many sections, for example Market Summary, Business News Headlines, and so on. Let's say each of those sections is a separate Velocity screen with a separate SubScreen.vm and SubScreen.class. The user should be able to select the sub-screens he wants, which means the screen has to be built dynamically. Is such a setup possible with Turbine/Velocity? Another similar question, with Navigations, can each navigation template instantiate its own Java class to provide the data? Thanks in advance for your answers! Dave -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
