The standard way to have several templates use the same Screen module, is to put all the templates in the same directory. Then create a Screen in the matching package called Default.
Otherwise you can do as Terry suggested and use the screen in the url as well as the template. you will have to not use the template keyword in the url or that will override the screen parameter. john mcnally Terry McBride wrote: > > You can pass a var representing the name of the > template you want to use to your Screen class. > When you are in the screen class you can change the > template to whatever you passed in using a method in > RunData. > > --- Bruce Altner <[EMAIL PROTECTED]> wrote: > > I've tried to find this in the docs but can't so > > I'll ask here: if I have a > > screen class that works just fine but want different > > views of it > > (difference screen templates) how do I do this? Can > > I? > > > > Right now if I do this: > > > http://127.0.0.1:8080/Turbinetest/servlet/Turbine/template/HelloWorldDB.vm > > > > my HelloWorldDB.vm calls HelloWorldDB.class for the > > context information. > > > > How do I set it so that > > > http://127.0.0.1:8080/Turbinetest/servlet/Turbine/template/HelloWorldDB2.vm > > > > would use my HelloWorldDB2.vm but still call > > HelloWorldDB.class for the > > context information? > > > > Thanks, > > Bruce > > > _________________________________________________________________ > > "It's a magical world, Hobbes, ol' buddy...let's go > > exploring!" ---Calvin > > > > Phone: 202-651-8553 > > Pager Email:[EMAIL PROTECTED] > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > ===== > "I'm concerned about a better world. I'm concerned about justice; I'm concerned >about brotherhood; I'm concerned about truth. And when one is concerned about that, >he can never advocate violence. For through violence you may murder a murderer, but >you can't murder murder. Through violence you may murder a liar, but you can't >establish truth. Through violence you may murder a hater, but you can't murder hate >through violence. Darkness cannot put out darkness; only light can do that." > > -M. L. King, Jr., 16 August 1967 > > __________________________________________________ > Do You Yahoo!? > Find a job, post your resume. > http://careers.yahoo.com > > -- > 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]>
