Right, so I changed it to $jslink.getTemplate() but it still does not bring up
my screen. Still a blank screen.
Is there anything else that needs to be done besides creating the Page2.vm file
and putting it in the correct directory and then calling
$jslink.getTemplate("Page2") from the Left.vm file ?
Where are things like jslink, link, jlink, and clink documented, I've looked
around but am not finding where these things are documented. How do I know
what these references are and what methods are available on them ?
Thanks for your help.
Tom
________________________________
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: Tue 11/16/2004 6:38 PM
To: Jetspeed Users List
Subject: Re: What do you need to do to add a new screen ?
Hampton, Thomas wrote:
> I created a new screen "template" in the
> webapp\WEB-INF\templates\vm\screens\html directory. Then I modified the
> left.vm file as follows.
>
> <td>
> <a href="$jslink.getPage("Page2")">
> <img src="images/leftnav_api.gif" border="0">
> </a>
> </td>
> </tr>
> <tr>
> <td>
> <a href="$jslink.getTemplate("EditAccount")">
> <img src="images/leftnav_api.gif" border="0">
> </a>
> </td>
> </tr>
>
> What I want to happen is for the "Page2" screen to come up the same way
> the "EditAccount" screen does. But I just get a blank page. The
> EditAccount screen comes up ok. So I'm sure that I have not done
> something that is needed to "register" the "Page2" screen template, but
> I don't know what I'm missing. The "Page2" template just has static
> text in it right now.
>
> What am I missing ?
>
>
$jslink.getPage gets a PSML page, not a turbine template
I think you may be confusing it with $link.getPage
Why not use $jslink.getTemplate here too
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773 4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
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]