On 7/30/01 5:17 AM, "joe black" <[EMAIL PROTECTED]> wrote:
>
> How to use another layout template instead of default.vm and the .vm with the
> same name?
>
> in the old version, I can do this like $data.setLayoutTemplate("???.vm"), but
> now it can't work even if I changed it into
> $data.getTemplateInfo().setLayoutTemplate("???.vm") or
>
> // .java
> TemplateInfo info=new TemplateInfo(data);
> info.setLayoutTemplate("???.vm")
If you are trying to use 3.0 than no this doesn't work yet,
I would recommend sticking to 2.1 until 3.0 stabilizes.
>
> thanx a lotGet more from the Web. FREE MSN Explorer download :
> http://explorer.msn.com
>
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]