Howard, Brian wrote:
> Has anyone looked into the ID attribute of an <entry>? We are trying to
> allow duplicate instances of a portlet on a page by assigning a unique
> ID to each entry. For example:
>
> <portlets name="Second Card">
> <controller name="...">...</controller>
> <portlets>
> <entry id="3" parent="Welcome"/>
> <entry id="4" parent="Welcome"/>
> <entry id="5" parent="Welcome"/>
> <entry id="6" parent="Welcome"/>
> </portlets>
> <portlets>
> <entry id="7" parent="Welcome"/>
> </portlets>
> </portlets>
>
> This way on a Close action we can get the ID and only remove that
> specific entry. We run into a roadblock in
> VelocityPortletControl.buildActionList where the link is built for the
> entry (which is actually an instance of Portlet). We would like to be
> able to get the ID from the entry at this point, but cannot.
>
> Any suggestions on implementing this would be appreciated as well as any
> other approaches to try.
>
This requires actually a lot more work than simply modifying the controls.
The getId() function is currently defined but unused. I'm going to implement
it in the next few days because I have the same bottleneck as you have...
Best regards,
--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]