Author: mmcallis
Date: 2008-03-31 00:59:59 -0400 (Mon, 31 Mar 2008)
New Revision: 10424
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
Log:
6.2.2. The portlet-instances.xml Descriptor
- periodic backup
- minor revisions
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-03-31
04:41:23 UTC (rev 10423)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-03-31
04:59:59 UTC (rev 10424)
@@ -1208,9 +1208,6 @@
</listitem>
<listitem>
<para>
- The <computeroutput><security-constraint></computeroutput>
element is a container for
<computeroutput><policy-permission></computeroutput> elements.
The following is an example of the
<computeroutput><security-constraint></computeroutput> and
<computeroutput><policy-permission></computeroutput> elements:
- </para>
- <para>
<screen><![CDATA[<security-constraint>
<policy-permission>
<action-name>viewrecursive</action-name>
@@ -1219,26 +1216,29 @@
</security-constraint>]]></screen>
</para>
<para>
+ The <computeroutput><security-constraint></computeroutput>
element is a container for
<computeroutput><policy-permission></computeroutput> elements.
This example demonstrates the
<computeroutput><security-constraint></computeroutput> and
<computeroutput><policy-permission></computeroutput> elements.
+ </para>
+ <para>
The <computeroutput><action-name></computeroutput> element
is used to define the access rights given to the role defined. Accepted values are:
</para>
<para>
<itemizedlist>
- <listitem>
+ <listitem override="bullet">
<para>
<computeroutput>view</computeroutput>: users can view the page.
</para>
</listitem>
- <listitem>
+ <listitem override="bullet">
<para>
<computeroutput>viewrecursive</computeroutput>: users can view the
page and child pages.
</para>
</listitem>
- <listitem>
+ <listitem override="bullet">
<para>
<computeroutput>personalize</computeroutput>: users are able
personalize the page's theme.
</para>
</listitem>
- <listitem>
+ <listitem override="bullet">
<para>
<computeroutput>personalizerecursive</computeroutput>: users are able
personalize the page and child pages themes.
</para>
@@ -1250,12 +1250,12 @@
</para>
<para>
<itemizedlist>
- <listitem>
+ <listitem override="bullet">
<para>
<computeroutput>unchecked</computeroutput>: anyone can view the page.
</para>
</listitem>
- <listitem>
+ <listitem override="bullet">
<para>
<computeroutput><role-name>EXAMPLEROLE</role-name></computeroutput>:
only allow users that are part of the
<computeroutput>EXAMPLEROLE</computeroutput> role to access the instance.
</para>
@@ -1265,8 +1265,10 @@
</listitem>
</itemizedlist>
</para>
- <para>The example portlet-instances.xml, above, makes reference to items
found in other descriptor files. To
- help with this topic, we have included a sample image that depicts the
relationship:
+ <para>
+ The previous <filename>portlet-instances.xml</filename> example makes
reference to items found in other descriptor files. The following diagram illustrates the
relationship between the <filename>portlet.xml</filename>,
<filename>portlet-instances.xml</filename>, and
<filename>*-object.xml</filename> descriptors:
+ </para>
+ <para>
<mediaobject>
<imageobject>
<imagedata align="center"
fileref="images/tutorials/first_portlet/desc_relationship.gif"
Show replies by date