Should the doBuildTemplate return a ConcreteElement to follow the
doBuildScreen() ?
Also, just to make sure I understand, the doBuildTemplate() will be
overidden by subclasses and the buildTemplate() will contain the base
implementation. So there should be a call to doBuildTemplate() in
buildTemplate() right? like this -
protected ConcreteElement doBuildTemplate( RunData data )
throws Exception
{
//Add to context here
return null;
}
protected ConcreteElement buildTemplate( RunData data )
throws Exception
{
WebContext context = getContext(data);
doBuildTemplate( data, context );
String templateName = data.getParameters().getString("template");
return buildWMTemplate( context, "screens" + templateName);
}
--
dave
[EMAIL PROTECTED]
-----------------------
"I find it the same with all pleasures within my reach; unless
they cost me nothing, I find them insipid."
Rousseau
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]