why is there api doBuildTemplate(RunData, Context) as
we all know, context should be retrieved from RunData ?
the following code from example doesn't seem make
sense. it's modifying context in data, but use locat
context ref from param list.
any thoughts ?
-sky
public class Default extends VelocityScreen
{
public void doBuildTemplate( RunData data, Context context )
{
context = getContext(data);
context.put("today",new Date().toString());
}
}
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]