In a Velocity Action, what's the difference of doing :

public class GetPostData extends VelocityAction
{
    public void doPerform( RunData data, Context context ) throws Exception
    {
       ...
        data.setScreenTemplate("/NewTemplate.vm");
       ...
   }
}

  
or this :

public class GetPostData extends VelocityAction
{
    public void doPerform( RunData data, Context context ) throws Exception
    {
       ...
      setTemplate(data,"/NewTemplate.vm");
       ...
   }
}


        




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to