On Wednesday, June 11, 2003, at 07:30 AM, matt kampmeier wrote:


I have implemented PSML role merging so users only see tabs for the
roles that they are associated with. For example, a person with "user"
and "player" roles will login and see "User Home" and "Player Home" high
level tabs. It appears that unique pane ids for both tabs are generated
dynamically when the role merging takes place. The problem is that I
need to link between a portlet vm template under the User Home tab to
the "Player Home" tab and I do not have a pane id at development time to
put into the link. I cannot refer to the tab name since I believe it
can only be referenced by id - it has no name per se. Any ideas?



Yes, you have to use the id if I remember right.
I've often hard-coded the id into a forward. Its not possible for you to hardcode the id into the orginal role template like:


<portlets id="Player" ....


Is there a way I can have my portlet traverse the current psml structure
and find a pane by title name? Code examples?



Yes, just get the profile via the Profiler API, and then walk thru the tree starting at the root PsmlPortlets collection
A tab is just a PsmlPortlets object


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
+01 707 773-4646



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



Reply via email to