> 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>
> 

We are working on a general solution to this problem.
The entry id can be defined in the psml, but it can't be guaranteed to be
unique.
The PSMLManager will resolve the id, and make it available thru the
PSMLDocument interface, and also the Profile interface.
The getId() method will be added to both of these interfaces. 

> 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.
> 
> Thanks
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

<<attachment: winmail.dat>>

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

Reply via email to