To do what you want is a little tricky but is doable. Adding a method to PageLabelManager to return the layout for a page label sounds like a reasonable thing to do.

PageLabelManager has a method called getPageLabelEvents that takes the page label as a parameter. One of the events will be a ChangeAspectDataEvent (you can see it being constructed in the intialize method). That event references the layout and from the layout you can determine all the coplets it contains.

HTH,
Ralph

Angelo Immediata wrote:

Hi,
I'm using pageLabel to change page in my portal. I need to obtain all copletIstanceData Objects in a Named-Item of my portal.xml (in the layout directory).
I know that this code:

service = (PortalService) cocoon.getServiceManager().lookup(PortalService.ROLE);
cid = 
service.getComponentManager().getProfileManager().getCopletInstanceData("searcherResult");

i can have the coplet instance data; what i want to do now is to have all the 
coplets instance data in a given pageLabel. I know a pageLabel and i want all 
coplet instance data presents in its named-item co-related.




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