Hi,

I've been working on $jslink.getPortletByName and $jslink.getPortletById,
but cannot get the content of the portlet by them. Instead, I always get
the whole current page.

I call them in an iframe in a velocity template, say:
<iframe src=$jslink.getPortletByName("HelloVelocity") name="lframe"
scrolling ="auto" frameborder ="1" >
</iframe>

The result is a whole current page embedded in an iframe. I also tried
$jslink.getPortletById("P-f3e01ef0c3-10003"), which is the Id of the
portlet, but failed in the same way. The HelloVelocity portlet is in the
psml file, default.psml of the user.

Any suggestion will be grateful.

Liang


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to