In my local copy of BaseFreeMarkerScreen, I added the method:
/**
* Set the layout for this screen.
*
* @param data, the Rundata object
* @param lay, layout file name
*/
public void setLayout ( RunData data, String lay )
{
data.getParameters().add("00layout_template00", lay );
}
So I could do this in the subclass:
setLayout( data, "/SomeLayout.html" );
Because I might want a slightly different layout, depending on the
data that I need to display. Is this a bad idea?
-- Travis Low
[EMAIL PROTECTED]
1-301-592-6305 (direct)
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]