on 2/6/01 5:01 AM, "Antonio Ortega" <[EMAIL PROTECTED]> wrote:

> 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");
> ...
> }
> }

Look at the source code. :-)

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/> | <http://java.apache.org/turbine/>



------------------------------------------------------------
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