Hi John,

What are you trying to do?  setScreenTemplate sets the layout of the screen
(layout like frames, css, page title, etc) and puts your screen where it
reads $screen_placeholder.  setScreen sets the actual screen that is put in
place of $screen_placeholder - this is probably what you are looking for.

HTH,

David

-----Original Message-----
From: John Harris [mailto:[EMAIL PROTECTED] 
Sent: Saturday October 23, 2004 1:29 PM
To: [EMAIL PROTECTED]
Subject: Question about $data.setScreenTemplate


I'm calling $data.setScreenTemplate("NewPage.vm") - the logs show that
it looks under layouts/NewPage.vm, when it doesn't find it, it looks and
finds layouts/Default.vm and returns.

I'm trying to understand why it would look for it under
layouts/NewPage.vm - shouldn't it be looking for it under screens? What
am I missing here? I've been reading all the services/how-to to get an
indication of how this would work but I don't see it.

I have tested doing $data.setLayoutTemplate("NewLayout.vm") followed by
$data.setScreenTemplate("NewPage.vm") - it does load the
layouts/NewLayout.vm - but it still looks for NewPage.vm under layouts.

Any help or explanation would be greatly appreciated. I'm using turbine
2.3.

-John


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

Reply via email to