Jose,
One needs to implement a PageManager that returns Folder, Page, and Link
instances. The DocumentHandler class is specific to the Castor XML
implementation.
FYI, there is significant work underway in this area and the PageManager
API may change to some degree.
HTH,
Randy
José Antônio Rosa dos Santos Jr wrote:
Hi
I need a more flexible definition of the portlets a certain user can
view on a page managed by Jetspeed 2. This definition should be a
dynamic PSML based on the user roles ( a constraint per fragment and
not per PSML definition ). I also need to put these definitions in a
database.
After looking at the Spring beans configured in Jetspeed, I realized
the solution was to create my own beans and configure Spring to use
them. The files I looked at are:
org.apache.jetspeed.page.impl.CastorXmlPageManager and
org.apache.jetspeed.page.document.CastorFileSystemDocumentHandler
which implements
org.apache.jetspeed.page.PageManager and
org.apache.jetspeed.page.document.DocumentHandler
Am I on the right direction? Do I need to implement any other
interface? Is that any other way to accomplish that?
Thanks in advance
Jose Antonio
---------------------------------------------------------------------
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]