gaurav goel wrote:
Hi,
How can a portlet be deployed on the portal header??I want to deploy a
login portlet on top of the page i.e on the portal header.How can this be
done?
I think this may be achieved via the portlet pipeline, as long as you
don't need any user-specific preferences, we can get by without psml
using a portlet pipeline in your page decorator's top.vm like:
/jetspeed/portlet?entity=login-portlet&portlet=j2-admin::LoginPortlet
on a javascript controlled <div>
The entity does not have to be defined in PSML.
If it doe not exist it will be created.
The portlet parameter is optional if the entity value refers to a known
portlet entity.
Note I have not tried this approach, but I think it should work
I think a better solution would be to actually support this kind of
thing in the JetspeedPowerTool, such as:
$jetspeed.RenderEntity(entityId)
or
$jetspeed.RenderPortletEntity(entityId, portletId)
I should really provide an example since its requested enough
I'll add it to my todo list for 2.1....
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]