Hi Ravi,
On 6/28/07, Kumar, Ravi R <[EMAIL PROTECTED]> wrote:
hi,
i have requirement to develop a porlet in jetspeed 2.1, where in the
roles are assigned with a set of psml pages.
for example: /pages/_role/role A -> page1.psml , page2.psml
/pages/_role/role B -> page3.psml , page4.psml
I will be retrieving the roles through the jetspeed services api
(RoleManager), and displaying in a select box in the portlet.
When i select one of the roles in the select box for example. Role A, i
want to display pages of Role A i.e page1.psml , page2.psml only.
how to do this implementation of loading and displaying pages for a
particular role in the jetspeed portal?
It is not clear if you want the portal to show menus appropriate to
the selected role or if you want to display a list of pages in the
portlet for the selected role.
If it is the previous case that you want you may want to concider
changing the users role dynamically. Or you could use a profiling rule
to manage the menus based on the role chosen by the user. In this case
you would have to create a criteria. See the profiling documentation.
Philip
please provide advice/help on implementing this portlet.
regards
ravi
--
Philip Donaghy
Apache Portals (portals.apache.org) PMC member
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]