It could be amended. That entire folderName section is delegated to the IUrlNodeSyntaxHelper that is configured for the current structure transform. The syntax of each path element (there can be 0..N) in the folder section is dictated by that class. In the case of the SingleTabUrlNodeSyntaxHelper it tries to use the externalId of a tab in preference to the layout node id and in the case of duplicate externalIds it uses the externalId and the layout node id.

So really that page needs some better clarification that the folderName can actually be any number of folders (path elements) and the formatting of each of those elements is up to the IUrlNodeSyntaxHelper. The rest of the URL string format is handled by the main url syntax provider class.

I hope that helps,
-Eric

On 4/24/13 4:53 PM, James Wennmacher wrote:
Does https://wiki.jasig.org/pages/viewpage.action?pageId=53610142 need to be amended to indicate folder names may have a layoutNodeId in them or is that an internal thing?

The above page suggests an url might be /f/folder0/folder1/folder2/p/

However the code at https://github.com/Jasig/uPortal/blob/master/uportal-war/src/main/java/org/jasig/portal/url/SingleTabUrlNodeSyntaxHelper.java#L227 looks like a folder name (at least the first folder in the list) may also have a period plus a layoutNodeId; e.g.

/f/folder0.23/folder1/folder2/p/
(For this illustration I'm assuming a valid layout node id might be 23 but I don't know).


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to