On 6/26/01 4:13 PM, "Jason van Zyl" <[EMAIL PROTECTED]> wrote:

> On 6/26/01 4:02 PM, "Xun Liu" <[EMAIL PROTECTED]> wrote:
> 
>> So, it means I cannot have a central point to set the layout template and
>> have to call setLayoutTemplate() after setScreenTemplate() or overwrite
>> doPostBuildTemplate()? Right?
> 
> I assume that you have a set of templates for the user admin1, yes?
> 
> If so the you can put all your screen templates in a directory like:
> 
> /templates/app/screens/admin1
>                       template1.vm
>                       template2.vm
> 
> Then you can have a layout for all these screens by having
> a directory like:
> 
> /templates/app/layouts/admin1
>                       Default.vm
> 
> That Default.vm template is your central location for controlling
> which layout is used for the admin1 screen templates. You
> should need to use the setScreenTemplate/setLayoutTemplate

Sorry, that should be: "You should NOT need to use the setScreenTemplate/
setLayoutTemplate"

> if this is what you're trying to accomplish.
> 
> Do I have your scenerio right? If not please correct me and
> we'll try to figure something else out.
> 
> Then 
> 
>>> --
>>> 
>>> 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]
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

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]

Reply via email to