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.
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:
Request | Available 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/ |