Register | Forgot password
Ever noticed how you can use something for times on end without ever realizing what it is that you do?
Then, one day, it suddenly struck me! I had learned the Purpose of Meaning of "scope".
Now all that remains is to spread this knowledge... What better place to do that than this blog?Let us take a look at your typical presentation descriptor file "patricksPage.xml" that goes with "patricksPage.jsp":
<presentation>
<name>Patrick's Page</name>
<display-name>Patrick's Page</display-name>
<scope>Page</scope>
</presentation>
Some things to know about this descriptor file:
To expand on the last item, this scope "Page" tells GX WebManager that the presentation should be selectable in places where page presentations are shown. The most obvious place being "Format > Presentation > Presentations".
But also, for example, under "File > Properties > Design...".
Or "Configure > Web Initiative configuration... > General".
Clearly, GX WebManager takes its hints of where to use presentations from the scope. It is safe to say that all things shown in HTML have presentations connected to them, and therefore have a scope. Under "Format > Presentation > Presentations" you will find a lengthy list of scopes that GX WebManager detected in all descriptor files.
There is one special scope: "PagePart". These presentations are so special that they have their own dedicated tab under "Format > Presentation > Page parts".
<wm:pagePart label="Left Navigation" />
Patrick Atoon has gained nuff respect as one of the most experienced web architects in the GX Webmanager community or even the global hip hop community for that matter.
Read all Patricks blog entries
Other blog entries: