You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by James Dixon <ja...@canberra.edu.au> on 2005/10/04 07:18:31 UTC

Left hand menus and PSML tabs - explanatory material??

Hi All
 
I was wondering if anyone had come across any explanatory material relating
to the WEB-INF/pages folder - in particular how it all works??  By trial and
error, I have cobbled together a workable menu, and got the tabs working,
but there are some intricacies that I am not following.
 
Firstly, I have cleared all the links from folders, and have put my set of
links in my root folder.  This set of links is about 8 links - but I can't
get Jetspeed to display more than 5.  Have I missed configuring something
somewhere?
 
Secondly, is there any way I can influence the order of the tabs above the
portlets (that relate to the PSML files)?  I have worked out how to identify
those tabs I want, but I can't work out how to order them, or to set the
default tab.
 
Thirdly, there are .ds files, which I imagine are 'Document Set' files.
What are these?  Is there any documentation on them?
 
Grateful for any advice, or links to relevant material - even where this
stuff is handled in the source code would be a start!
 
Cheers
 
James
 
 
 
 

Login Truncation over WAP

Posted by Frank Villarreal <f_...@tetco.com>.
FYI

Just like to share some of my experience(s) with J2's login process ...
Currently the 2 form fields embedded in J2's login page are named as
follows:

org.apache.jetspeed.login.username
org.apache.jetspeed.login.password

They work fine in most situations, however, when logging in through various
devices (BlackBerry over Nextel WAP in particular), the sheer length of
these variable names is causing "truncation of the field names" which
prevents login.  I experimented with shorter form field names and sure
enough the device/protocol passed them through.  I also noticed it didn't
seem like a trivial task to rename these fields.  Apparently they're
hard-coded in some random class file somewhere in the codebase.  Just
thought I'd give a "heads-up" to anyone else attempting to do something
similar.

- Frank


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Left hand menus and PSML tabs - explanatory material??

Posted by James Dixon <ja...@canberra.edu.au>.
Thanks Randy - in the end, I actually modified the top.vm page, and it
worked a treat - just had to work my way through it - always on the look-out
for easy answers though!!



 

-----Original Message-----
From: Randy Watler [mailto:watler@wispertel.net] 
Sent: Thursday, 6 October 2005 1:11 AM
To: Jetspeed Users List
Subject: Re: Left hand menus and PSML tabs - explanatory material??

James,

Probably the best thing to do is to keep asking specific questions. 
Granted, the docs
we have are a bit thin in spots... some things that users want to do are
quite unique.

As far as your question below goes, probably the easiest thing to do here is
to create a new link with a site relative url in it... something like:

<link>
<title>Home</title>
<url>/jetspeed/portal</url>
</link>

Another option would be to modify the decorator to add an explict home
navigational element. It would look somethign like this:

<a href="$jetspeed.getAbsoluteUrl('/')" title="Home">Home</a>

Yes, both are kind of obscure. With M4 declarative menus, this would be much
more straight forward. M4 also supports breadcrumb navigation with the built
in menu declarations.

Randy

James Dixon wrote:

>Thanks Randy - yes using M3 at the moment. Had a look at the things you 
>mentioned, but am still a bit in the dark.
>
>Anyway, on a specific issue:
>
>I have my root folder, which contains a folder call 'Folder 1'.  I 
>click on the link in the left hand menu and go to this folder.  When in 
>Folder 1, I want to be able to click on a link (preferably under 
>Folders and Pages) to get back to the root folder. Is there any way to 
>do this?  The structure is as follows
>
>rootFolder
>	- link1.lnk
>	- link2.lnk
>	- default-page.psml
>	- page2.psml
>	- Folder1
>		-folder.metadata
>		-page3.psml
>
>I thought I might be able to make another folder (called Home portlet), 
>and this works, but it only takes us deeper into the tree - I want to 
>be able to link to go back to the root folder.
>
>Any ideas?
>
>James
>
> 
>
>-----Original Message-----
>From: Randy Watler [mailto:watler@wispertel.net]
>Sent: Tuesday, 4 October 2005 3:40 PM
>To: Jetspeed Users List
>Subject: Re: Left hand menus and PSML tabs - explanatory material??
>
>James,
>
>I am assuming that you are working with the M3 binary release. Answers 
>to some of these questions have changed for M4.
>
>James Dixon wrote:
>
>  
>
>>Hi All
>>
>>I was wondering if anyone had come across any explanatory material 
>>relating to the WEB-INF/pages folder - in particular how it all works??
>>By trial and error, I have cobbled together a workable menu, and got 
>>the tabs working, but there are some intricacies that I am not following.
>>
>>    
>>
>There is some documentation on the web site for a few of the common 
>PSML topics.
>Of course, the archives of this list can be quite informative. Finally, 
>there are design documents in the SVN tree. The Profiler and 
>PageManager docs are most useful. For PSML syntax, see the Castor XML 
>mapping xml file in the PageManager component source tree... it is the 
>closest thing to an XML schema we have at the moment, (make sure you 
>get the M3 version). For M4, see the PortalSite component docs... they 
>cover the new declarative menus.
>
>  
>
>>Firstly, I have cleared all the links from folders, and have put my 
>>set of links in my root folder.  This set of links is about 8 links - 
>>but I can't get Jetspeed to display more than 5.  Have I missed 
>>configuring something somewhere?
>>
>>    
>>
>There should be no limit, so something else is wrong. Check to make 
>sure the links are unique and the PSML syntax is valid. Make sure you 
>are not adding links that security constraints are suppressing.
>
>  
>
>>Secondly, is there any way I can influence the order of the tabs above 
>>the portlets (that relate to the PSML files)?  I have worked out how 
>>to identify those tabs I want, but I can't work out how to order them, 
>>or to set the default tab.
>>
>>    
>>
>See document-order tags in the folder.metadata PSML tags.
>
>  
>
>>Thirdly, there are .ds files, which I imagine are 'Document Set' files.
>>What are these?  Is there any documentation on them?
>>
>>    
>>
>You are correct: document set. These are documented in the 
>Profiler/PageManager design docs available in SVN. Note that these have 
>been deprecated in M4 in favor of the declarative menu support.
>
>  
>
>>Grateful for any advice, or links to relevant material - even where 
>>this stuff is handled in the source code would be a start!
>>
>>    
>>
>If you like to read source, check out the page-manager and profiler 
>components in M3. For M4, also see the portal-site component.
>
>HTH,
>
>Randy
>
>  
>
>>Cheers
>>
>>James
>>
>>
>>
>>
>>
>> 
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Left hand menus and PSML tabs - explanatory material??

Posted by Randy Watler <wa...@wispertel.net>.
James,

Probably the best thing to do is to keep asking specific questions. 
Granted, the docs
we have are a bit thin in spots... some things that users want to do are 
quite unique.

As far as your question below goes, probably the easiest thing to do 
here is to create
a new link with a site relative url in it... something like:

<link>
<title>Home</title>
<url>/jetspeed/portal</url>
</link>

Another option would be to modify the decorator to add an explict home 
navigational
element. It would look somethign like this:

<a href="$jetspeed.getAbsoluteUrl('/')" title="Home">Home</a>

Yes, both are kind of obscure. With M4 declarative menus, this would be 
much more
straight forward. M4 also supports breadcrumb navigation with the built 
in menu
declarations.

Randy

James Dixon wrote:

>Thanks Randy - yes using M3 at the moment. Had a look at the things you
>mentioned, but am still a bit in the dark.
>
>Anyway, on a specific issue:
>
>I have my root folder, which contains a folder call 'Folder 1'.  I click on
>the link in the left hand menu and go to this folder.  When in Folder 1, I
>want to be able to click on a link (preferably under Folders and Pages) to
>get back to the root folder. Is there any way to do this?  The structure is
>as follows
>
>rootFolder
>	- link1.lnk
>	- link2.lnk
>	- default-page.psml
>	- page2.psml
>	- Folder1
>		-folder.metadata
>		-page3.psml
>
>I thought I might be able to make another folder (called Home portlet), and
>this works, but it only takes us deeper into the tree - I want to be able to
>link to go back to the root folder.
>
>Any ideas?
>
>James 
>
> 
>
>-----Original Message-----
>From: Randy Watler [mailto:watler@wispertel.net] 
>Sent: Tuesday, 4 October 2005 3:40 PM
>To: Jetspeed Users List
>Subject: Re: Left hand menus and PSML tabs - explanatory material??
>
>James,
>
>I am assuming that you are working with the M3 binary release. Answers to
>some of these questions have changed for M4.
>
>James Dixon wrote:
>
>  
>
>>Hi All
>>
>>I was wondering if anyone had come across any explanatory material 
>>relating to the WEB-INF/pages folder - in particular how it all works??  
>>By trial and error, I have cobbled together a workable menu, and got 
>>the tabs working, but there are some intricacies that I am not following.
>>
>>    
>>
>There is some documentation on the web site for a few of the common PSML
>topics.
>Of course, the archives of this list can be quite informative. Finally,
>there are design documents in the SVN tree. The Profiler and PageManager
>docs are most useful. For PSML syntax, see the Castor XML mapping xml file
>in the PageManager component source tree... it is the closest thing to an
>XML schema we have at the moment, (make sure you get the M3 version). For
>M4, see the PortalSite component docs... they cover the new declarative
>menus.
>
>  
>
>>Firstly, I have cleared all the links from folders, and have put my set 
>>of links in my root folder.  This set of links is about 8 links - but I 
>>can't get Jetspeed to display more than 5.  Have I missed configuring 
>>something somewhere?
>>
>>    
>>
>There should be no limit, so something else is wrong. Check to make sure the
>links are unique and the PSML syntax is valid. Make sure you are not adding
>links that security constraints are suppressing.
>
>  
>
>>Secondly, is there any way I can influence the order of the tabs above 
>>the portlets (that relate to the PSML files)?  I have worked out how to 
>>identify those tabs I want, but I can't work out how to order them, or 
>>to set the default tab.
>>
>>    
>>
>See document-order tags in the folder.metadata PSML tags.
>
>  
>
>>Thirdly, there are .ds files, which I imagine are 'Document Set' files.
>>What are these?  Is there any documentation on them?
>>
>>    
>>
>You are correct: document set. These are documented in the
>Profiler/PageManager design docs available in SVN. Note that these have been
>deprecated in M4 in favor of the declarative menu support.
>
>  
>
>>Grateful for any advice, or links to relevant material - even where 
>>this stuff is handled in the source code would be a start!
>>
>>    
>>
>If you like to read source, check out the page-manager and profiler
>components in M3. For M4, also see the portal-site component.
>
>HTH,
>
>Randy
>
>  
>
>>Cheers
>>
>>James
>>
>>
>>
>>
>>
>> 
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Left hand menus and PSML tabs - explanatory material??

Posted by James Dixon <Ja...@canberra.edu.au>.
Thanks Randy - yes using M3 at the moment. Had a look at the things you
mentioned, but am still a bit in the dark.

Anyway, on a specific issue:

I have my root folder, which contains a folder call 'Folder 1'.  I click on
the link in the left hand menu and go to this folder.  When in Folder 1, I
want to be able to click on a link (preferably under Folders and Pages) to
get back to the root folder. Is there any way to do this?  The structure is
as follows

rootFolder
	- link1.lnk
	- link2.lnk
	- default-page.psml
	- page2.psml
	- Folder1
		-folder.metadata
		-page3.psml

I thought I might be able to make another folder (called Home portlet), and
this works, but it only takes us deeper into the tree - I want to be able to
link to go back to the root folder.

Any ideas?

James 

 

-----Original Message-----
From: Randy Watler [mailto:watler@wispertel.net] 
Sent: Tuesday, 4 October 2005 3:40 PM
To: Jetspeed Users List
Subject: Re: Left hand menus and PSML tabs - explanatory material??

James,

I am assuming that you are working with the M3 binary release. Answers to
some of these questions have changed for M4.

James Dixon wrote:

>Hi All
> 
>I was wondering if anyone had come across any explanatory material 
>relating to the WEB-INF/pages folder - in particular how it all works??  
>By trial and error, I have cobbled together a workable menu, and got 
>the tabs working, but there are some intricacies that I am not following.
>
There is some documentation on the web site for a few of the common PSML
topics.
Of course, the archives of this list can be quite informative. Finally,
there are design documents in the SVN tree. The Profiler and PageManager
docs are most useful. For PSML syntax, see the Castor XML mapping xml file
in the PageManager component source tree... it is the closest thing to an
XML schema we have at the moment, (make sure you get the M3 version). For
M4, see the PortalSite component docs... they cover the new declarative
menus.

> 
>Firstly, I have cleared all the links from folders, and have put my set 
>of links in my root folder.  This set of links is about 8 links - but I 
>can't get Jetspeed to display more than 5.  Have I missed configuring 
>something somewhere?
>
There should be no limit, so something else is wrong. Check to make sure the
links are unique and the PSML syntax is valid. Make sure you are not adding
links that security constraints are suppressing.

> 
>Secondly, is there any way I can influence the order of the tabs above 
>the portlets (that relate to the PSML files)?  I have worked out how to 
>identify those tabs I want, but I can't work out how to order them, or 
>to set the default tab.
>
See document-order tags in the folder.metadata PSML tags.

> 
>Thirdly, there are .ds files, which I imagine are 'Document Set' files.
>What are these?  Is there any documentation on them?
>
You are correct: document set. These are documented in the
Profiler/PageManager design docs available in SVN. Note that these have been
deprecated in M4 in favor of the declarative menu support.

> 
>Grateful for any advice, or links to relevant material - even where 
>this stuff is handled in the source code would be a start!
>
If you like to read source, check out the page-manager and profiler
components in M3. For M4, also see the portal-site component.

HTH,

Randy

> 
>Cheers
> 
>James
> 
> 
> 
> 
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Left hand menus and PSML tabs - explanatory material??

Posted by Randy Watler <wa...@wispertel.net>.
James,

I am assuming that you are working with the M3 binary release. Answers 
to some of these
questions have changed for M4.

James Dixon wrote:

>Hi All
> 
>I was wondering if anyone had come across any explanatory material relating
>to the WEB-INF/pages folder - in particular how it all works??  By trial and
>error, I have cobbled together a workable menu, and got the tabs working,
>but there are some intricacies that I am not following.
>
There is some documentation on the web site for a few of the common PSML 
topics.
Of course, the archives of this list can be quite informative. Finally, 
there are design
documents in the SVN tree. The Profiler and PageManager docs are most 
useful. For
PSML syntax, see the Castor XML mapping xml file in the PageManager 
component
source tree... it is the closest thing to an XML schema we have at the 
moment, (make
sure you get the M3 version). For M4, see the PortalSite component 
docs... they cover
the new declarative menus.

> 
>Firstly, I have cleared all the links from folders, and have put my set of
>links in my root folder.  This set of links is about 8 links - but I can't
>get Jetspeed to display more than 5.  Have I missed configuring something
>somewhere?
>
There should be no limit, so something else is wrong. Check to make sure 
the links
are unique and the PSML syntax is valid. Make sure you are not adding 
links that
security constraints are suppressing.

> 
>Secondly, is there any way I can influence the order of the tabs above the
>portlets (that relate to the PSML files)?  I have worked out how to identify
>those tabs I want, but I can't work out how to order them, or to set the
>default tab.
>
See document-order tags in the folder.metadata PSML tags.

> 
>Thirdly, there are .ds files, which I imagine are 'Document Set' files.
>What are these?  Is there any documentation on them?
>
You are correct: document set. These are documented in the 
Profiler/PageManager
design docs available in SVN. Note that these have been deprecated in M4 in
favor of the declarative menu support.

> 
>Grateful for any advice, or links to relevant material - even where this
>stuff is handled in the source code would be a start!
>
If you like to read source, check out the page-manager and profiler 
components in
M3. For M4, also see the portal-site component.

HTH,

Randy

> 
>Cheers
> 
>James
> 
> 
> 
> 
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org