David,

The expressions in the menus cannot see the users folders.... the profiler merges them all under the root. So, "/*.psml" will show all the root pages including the global pages and those created by the user.

Of course, there is a way to get only the user's pages... define a profiling rule for the user w/o fallback. Then you can define the menu using that profiling rule. I can probably help you out with this approach if necessary. Let me know,

Randy

David Just wrote:
I guess I should have been clearer with my question.  I've been trying
to find the right combination of declarative menu options to get what I
want. I was hoping for an example of at least how to reference the
user's folder "Jetspeed/_user/<userXFolder>"

There doesn't seem to be a regular expression object that relates to the
user's home directory. At least I haven't found one.



David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939 l 
[email protected]
The contents of this e-mail (and any attachments) are privileged and 
confidential. Unauthorized use is strictly prohibited.
-----Original Message-----
From: Randy Watler [mailto:[email protected]] Sent: Tuesday, August 25, 2009 4:25 PM
To: Jetspeed Users List
Subject: Re: Defining a menu for a users folder

David,

Yes, this is possible using declarative menus.

http://portals.apache.org/jetspeed-2/deployguide/guide-menus-declarative
-psml.html

Randy

David Just wrote:
Is it possible to define a menu that dynamically shows the folders
that
a user has created such that the names of the folders show up in the
navigation without their parent folder.

Example:

User bob create a folder in his space called X1
..jetspeed/pages/_user/bob/X1

I want this to show up in the navigation menu as just X1  (or whatever
is defined as the title in the folder metadata). When Janet logs in, she should not see bob's folders.


David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939
l [email protected]
The contents of this e-mail (and any attachments) are privileged and
confidential. Unauthorized use is strictly prohibited.


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




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to