on 2/6/02 9:40 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> +                VelocityContext userContext = new VelocityContext();
> +
> +                userContext.put("inputfilename", infilename);
> +                userContext.put("outputfilename", outfilename);
> +
> +                dvsl.setUserContext( userContext );

May I suggest that if you are going to go this route that you create a $dvsl
tool and add that to the context and then provide methods
getInputFilename(), getOutputFilename()?

The reason is that once you start down this route, it is easier to point
people at the javadoc for $dvsl than it is to document each and every item
you put into the context. It is also easier to keep track of what is in the
context...

-jon


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to