Thanks for the help. The function $jetspeed.getPortletById($portlet.id) worked. It is showing the content in the customize menu now.
Best Regards,
Robin
Robin Antony wrote:
Hi Raphaël,
Thanks for the reply. I tried adding this command $jetspeed.getContentById($portlet.id) instead of $titles.get($portlet.id) to replace the content of the portlet instead of the title. But it didn't return me anything. Infact I can see my command on the screen. I am not familiar with velocity templating. I have been working on jsp templating. Is there something else I need to do to get the content on the page? Thanks.
Best Regards,
Robin Antony
Raphaël Luta wrote:
Robin Antony wrote:
Hi,
I am working on Jetspeed 1.X, I would like to achieve a new functionality. In the enhanced multi column layout in the customize pane would it be possible to have the content of the portlet appear there as well. So when a person drags and drops the portlet around he would also be able to see the content that would apear in it. Has anyone tried doing this before. It would be great if someone could give me tips on how we could achieve this.
It should not be very difficult to do. You already have a reference to the
portlets ID so you can simply customize the multimcolum-customize template to use
$jetspeed.getContentById($portlet.id) instead of displaying the
portlet properties.
--------------------------------------------------------------------- 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]