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]



Reply via email to