Chapter 5. Graph structure for Pages: Pagelinks

Pagelink records are used as symbolic links for Pages. The up field points to the parent Page. The name of the Pagelink replaces the name of the target Page. See Figure 5-1 and Example 5-1.

The grp field is used to grant access to the target Page to authenticated Members of the corresponding Group. When it is set to its default value, 0, the target Page is accessible to any user. This will be dealt with in more details in the section called Pagelinks in Chapter 9.

Figure 5-1. Entity-Relationship Diagram for Pagelink.

Entity-Relationship Diagram for Pagelink.

Example 5-1. A Pagelink Example

A Pagelink between two Pages.

In Example 5-1, requesting either of the 2 following URLs results in Page E being built.
http://hostname[:port][/prefix]/B/G/
								http://hostname[:port][/prefix]/A/C/E/

The important difference is in the available Elements:

RequestAvailable Page Elements are the children of
http://hostname[:port][/prefix]/B/G/root Page, Page B, Page E
http://hostname[:port][/prefix]/A/C/E/root Page, Page A, Page C, Page E

There is no difference in the collected Style elements, since they depend either on the Style associated to Page E, or on the default Style for the Host.

Similarly, Page F is built when either of the two following URLs is requested :
http://hostname[:port][/prefix]/B/G/F/ 
http://hostname[:port][/prefix]/A/C/E/F/

RequestAvailable Page Elements are the children of
http://hostname[:port][/prefix]/B/G/F/root Page, Page B, Page E, Page F
http://hostname[:port][/prefix]/A/C/E/Froot Page, Page A, Page C, Page E, Page F