cziegeler    02/05/07 06:21:06

  Modified:    src/documentation/xdocs/developing portal.xml
  Log:
  pretty printed portal docs
  Submitted by: Bert Van Kets [[EMAIL PROTECTED]]
  
  Revision  Changes    Path
  1.3       +616 -637  xml-cocoon2/src/documentation/xdocs/developing/portal.xml
  
  Index: portal.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/developing/portal.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- portal.xml        6 May 2002 08:41:00 -0000       1.2
  +++ portal.xml        7 May 2002 13:21:06 -0000       1.3
  @@ -42,7 +42,6 @@
           very flexible process which allows to have different configurations for
           different users.</p>
        <p>In general the building of the profile consists of four steps:</p>
  -
        <ol>
           <li>Building the base profile. This profile defines which
             possibilites the portal has, which coplets are available to the portal and
  @@ -98,67 +97,64 @@
                part:</p>
             <source>
   &lt;layout-profile&gt;
  -    &lt;portal&gt; &lt;!-- This node contains the layout of the portal view --&gt;
  -                  &lt;layouts&gt;
  -
  -                        &lt;layout&gt;
  -                   &lt;!-- The color of the background --&gt;
  -                                  &lt;background&gt;
  -                                       &lt;color&gt;#ffffff&lt;/color&gt;
  -                                  &lt;/background&gt;
  -                   &lt;!-- The font and color for usual text --&gt;
  -                                  &lt;font&gt;
  -                                       &lt;type&gt;Arial, Helvetica, 
sans-serif&lt;/type&gt;
  -                                       &lt;size&gt;2&lt;/size&gt;
  -                                       &lt;color&gt;black&lt;/color&gt;
  -                                  &lt;/font&gt;
  -                          &lt;/layout&gt;
  -                &lt;/layouts&gt;
  -
  -                  &lt;!-- The following means that the portal has a header area 
--&gt;
  -                &lt;header&gt;
  -                         &lt;exists&gt;true&lt;/exists&gt;
  -                &lt;/header&gt;
  -
  -                &lt;!-- The following means that the portal has 3 columns --&gt;
  -                &lt;columns&gt;
  -                         &lt;number&gt;3&lt;/number&gt;
  -                  &lt;/columns&gt;
  -
  -                &lt;!-- The following means that the portal has not a footer area 
--&gt;
  -                &lt;footer&gt;
  -                         &lt;exists&gt;false&lt;/exists&gt;
  -                &lt;/footer&gt;
  -           &lt;/portal&gt;
  -
  -           &lt;coplets&gt; &lt;!-- This node contains the layout of the coplets 
--&gt;
  -              &lt;layouts&gt;
  -                    &lt;layout&gt;
  -                            &lt;title&gt;  &lt;!-- The layout of the title --&gt;
  -                                   &lt;background&gt;
  -                                       &lt;color&gt;#46627A&lt;/color&gt;
  -                                   &lt;/background&gt;
  -                                   &lt;font&gt;
  -                                        &lt;type&gt;Arial&lt;/type&gt;
  -                                        &lt;size&gt;2&lt;/size&gt;
  -                                        &lt;color&gt;#ffffff&lt;/color&gt;
  -                                   &lt;/font&gt;
  -                            &lt;/title&gt;
  -
  -             &lt;content&gt; &lt;!-- The layout of the content --&gt;
  -                                   &lt;font&gt;
  -                                        &lt;type&gt;Arial&lt;/type&gt;
  -                                        &lt;size&gt;2&lt;/size&gt;
  -                                        &lt;color&gt;#000000&lt;/color&gt;
  -                                   &lt;/font&gt;
  -                                &lt;background&gt;
  -                                       &lt;color&gt;#ffffff&lt;/color&gt;
  -                                   &lt;/background&gt;
  -                            &lt;/content&gt;
  -                     &lt;/layout&gt;
  -              &lt;/layouts&gt;
  -          &lt;/coplets&gt;
  -
  +  &lt;portal&gt;
  +    &lt;!-- This node contains the layout of the portal view --&gt;
  +    &lt;layouts&gt;
  +      &lt;layout&gt;
  +        &lt;!-- The color of the background --&gt;
  +        &lt;background&gt;
  +          &lt;color&gt;#ffffff&lt;/color&gt;
  +        &lt;/background&gt;
  +        &lt;!-- The font and color for usual text --&gt;
  +        &lt;font&gt;
  +          &lt;type&gt;Arial, Helvetica, sans-serif&lt;/type&gt;
  +          &lt;size&gt;2&lt;/size&gt;
  +          &lt;color&gt;black&lt;/color&gt;
  +        &lt;/font&gt;
  +      &lt;/layout&gt;
  +    &lt;/layouts&gt;
  +    &lt;!-- The following means that the portal has a header area --&gt;
  +    &lt;header&gt;
  +      &lt;exists&gt;true&lt;/exists&gt;
  +    &lt;/header&gt;
  +    &lt;!-- The following means that the portal has 3 columns --&gt;
  +    &lt;columns&gt;
  +      &lt;number&gt;3&lt;/number&gt;
  +    &lt;/columns&gt;
  +    &lt;!-- The following means that the portal has not a footer area --&gt;
  +    &lt;footer&gt;
  +      &lt;exists&gt;false&lt;/exists&gt;
  +    &lt;/footer&gt;
  +  &lt;/portal&gt;
  +  &lt;coplets&gt;
  +    &lt;!-- This node contains the layout of the coplets --&gt;
  +    &lt;layouts&gt;
  +      &lt;layout&gt;
  +        &lt;title&gt;
  +          &lt;!-- The layout of the title --&gt;
  +          &lt;background&gt;
  +            &lt;color&gt;#46627A&lt;/color&gt;
  +          &lt;/background&gt;
  +          &lt;font&gt;
  +            &lt;type&gt;Arial&lt;/type&gt;
  +            &lt;size&gt;2&lt;/size&gt;
  +            &lt;color&gt;#ffffff&lt;/color&gt;
  +          &lt;/font&gt;
  +        &lt;/title&gt;
  +        &lt;content&gt;
  +          &lt;!-- The layout of the content --&gt;
  +          &lt;font&gt;
  +            &lt;type&gt;Arial&lt;/type&gt;
  +            &lt;size&gt;2&lt;/size&gt;
  +            &lt;color&gt;#000000&lt;/color&gt;
  +          &lt;/font&gt;
  +          &lt;background&gt;
  +            &lt;color&gt;#ffffff&lt;/color&gt;
  +          &lt;/background&gt;
  +        &lt;/content&gt;
  +      &lt;/layout&gt;
  +    &lt;/layouts&gt;
  +  &lt;/coplets&gt;
   &lt;/layout-profile&gt;
           </source>
           </s3>
  @@ -168,31 +164,35 @@
                All coplets are defined under a node called "coplets", so an example 
profile
                could look like this:</p>
             <source>    &lt;coplets-profile&gt;
  -        &lt;coplets&gt;
  -            &lt;coplet id="bankingnews"&gt;
  -                &lt;resource uri="cocoon://coplet-banking.xml"/&gt;
  -                &lt;transformation&gt; &lt;!-- optional xsl transformation --&gt;
  -                    &lt;stylesheet&gt;sunbank/styles/coplet.xsl&lt;/stylesheet&gt;
  -                &lt;/transformation&gt;
  -                &lt;configuration&gt;
  -                    &lt;mandatory&gt;false&lt;/mandatory&gt;
  -                    &lt;sizable&gt;true&lt;/sizable&gt;
  -                    &lt;active&gt;true&lt;/active&gt;
  -                    &lt;timeout&gt;5000&lt;/timeout&gt; &lt;!-- optional, 
milliseconds --&gt;
  -                    &lt;messages&gt;              &lt;!-- optional: Messages --&gt;
  -                        &lt;coplet_not_available&gt;
  +  &lt;coplets&gt;
  +    &lt;coplet id="bankingnews"&gt;
  +      &lt;resource uri="cocoon://coplet-banking.xml"/&gt;
  +      &lt;transformation&gt;
  +        &lt;!-- optional xsl transformation --&gt;
  +        &lt;stylesheet&gt;sunbank/styles/coplet.xsl&lt;/stylesheet&gt;
  +      &lt;/transformation&gt;
  +      &lt;configuration&gt;
  +        &lt;mandatory&gt;false&lt;/mandatory&gt;
  +        &lt;sizable&gt;true&lt;/sizable&gt;
  +        &lt;active&gt;true&lt;/active&gt;
  +        &lt;timeout&gt;5000&lt;/timeout&gt;
  +        &lt;!-- optional, milliseconds --&gt;
  +        &lt;messages&gt;
  +          &lt;!-- optional: Messages --&gt;
  +          &lt;coplet_not_available&gt;
                              Display this if the coplet is not available.
                           &lt;/coplet_not_available&gt;
  -                    &lt;/messages&gt;
  -                &lt;/configuration&gt;
  -                &lt;title&gt;Banking News&lt;/title&gt;
  -                &lt;status&gt;
  -                    &lt;visible&gt;true&lt;/visible&gt;
  -                    &lt;size&gt;max&lt;/size&gt;
  -                &lt;/status&gt;
  -            &lt;/coplet&gt;
  -        &lt;/coplets&gt;
  -    &lt;/coplets-profile&gt;</source>
  +        &lt;/messages&gt;
  +      &lt;/configuration&gt;
  +      &lt;title&gt;Banking News&lt;/title&gt;
  +      &lt;status&gt;
  +        &lt;visible&gt;true&lt;/visible&gt;
  +        &lt;size&gt;max&lt;/size&gt;
  +      &lt;/status&gt;
  +    &lt;/coplet&gt;
  +  &lt;/coplets&gt;
  +&lt;/coplets-profile&gt;
  +</source>
             <p>This example defines one coplet: the bankingnews coplet with the
                title "Banking News". The title is displayed in the portal view above 
the
                coplet content. The most important part is the resource definition. 
Using this
  @@ -296,34 +296,41 @@
                <p>Each coplet can have its own configuration, e.g. a weather
                   coplet should display the weather for a particular city etc.</p>
                <source>    &lt;coplets-profile&gt;
  -        &lt;coplets&gt;
  -            &lt;coplet id="bankingnews"&gt;
  -                &lt;resource uri="cocoon://coplet-banking.xml"/&gt;
  -                &lt;customization uri="cocoon://customize-coplet-banking.xml"/&gt; 
&lt;!-- optional --&gt;
  -                &lt;transformation&gt; &lt;!-- optional xsl transformation --&gt;
  -                    &lt;stylesheet&gt;sunbank/styles/coplet.xsl&lt;/stylesheet&gt;
  -                &lt;/transformation&gt;
  -                &lt;configuration&gt;
  -                    &lt;mandatory&gt;false&lt;/mandatory&gt;
  -                    &lt;sizable&gt;true&lt;/sizable&gt;
  -                    &lt;active&gt;true&lt;/active&gt;
  -                    &lt;timeout&gt;5000&lt;/timeout&gt; &lt;!-- optional, 
milliseconds --&gt;
  -                    &lt;messages&gt;              &lt;!-- optional: Messages --&gt;
  -                        &lt;coplet_not_available&gt;
  +  &lt;coplets&gt;
  +    &lt;coplet id="bankingnews"&gt;
  +      &lt;resource uri="cocoon://coplet-banking.xml"/&gt;
  +      &lt;customization uri="cocoon://customize-coplet-banking.xml"/&gt;
  +      &lt;!-- optional --&gt;
  +      &lt;transformation&gt;
  +        &lt;!-- optional xsl transformation --&gt;
  +        &lt;stylesheet&gt;sunbank/styles/coplet.xsl&lt;/stylesheet&gt;
  +      &lt;/transformation&gt;
  +      &lt;configuration&gt;
  +        &lt;mandatory&gt;false&lt;/mandatory&gt;
  +        &lt;sizable&gt;true&lt;/sizable&gt;
  +        &lt;active&gt;true&lt;/active&gt;
  +        &lt;timeout&gt;5000&lt;/timeout&gt;
  +        &lt;!-- optional, milliseconds --&gt;
  +        &lt;messages&gt;
  +          &lt;!-- optional: Messages --&gt;
  +          &lt;coplet_not_available&gt;
                              Display this if the coplet is not available.
                           &lt;/coplet_not_available&gt;
  -                    &lt;/messages&gt;
  -                    &lt;customizable&gt;true&lt;/customizable&gt; &lt;!-- optional 
--&gt;
  -                    &lt;persistent&gt;false&lt;/persistent&gt;    &lt;!-- optional 
--&gt;
  -                &lt;/configuration&gt;
  -                &lt;title&gt;Banking News&lt;/title&gt;
  -                &lt;status&gt;
  -                    &lt;visible&gt;true&lt;/visible&gt;
  -                    &lt;size&gt;max&lt;/size&gt;
  -                &lt;/status&gt;
  -            &lt;/coplet&gt;
  -        &lt;/coplets&gt;
  -    &lt;/coplets-profile&gt;</source>
  +        &lt;/messages&gt;
  +        &lt;customizable&gt;true&lt;/customizable&gt;
  +        &lt;!-- optional --&gt;
  +        &lt;persistent&gt;false&lt;/persistent&gt;
  +        &lt;!-- optional --&gt;
  +      &lt;/configuration&gt;
  +      &lt;title&gt;Banking News&lt;/title&gt;
  +      &lt;status&gt;
  +        &lt;visible&gt;true&lt;/visible&gt;
  +        &lt;size&gt;max&lt;/size&gt;
  +      &lt;/status&gt;
  +    &lt;/coplet&gt;
  +  &lt;/coplets&gt;
  +&lt;/coplets-profile&gt;
  +</source>
                <p>To declare a coplet as customizable it must get a configuration
                   resource which is displayed to a user of this coplet to enter all 
required
                   configuration values. This is done with the <em>customization</em> 
tag. The
  @@ -363,39 +370,37 @@
                types: STRING (arbitrary text), BOOLEAN (true or false), INTEGER (a 
number) and
                CARDINAL (a positiv number).</p>
             <source>&lt;type-profile&gt;
  -
  -     &lt;typedefs&gt;
  -                &lt;!-- The following types are defined by the portal: (Names are 
casesensitiv!)
  +  &lt;typedefs&gt;
  +    &lt;!-- The following types are defined by the portal: (Names are casesensitiv!)
                             STRING, BOOLEAN, ENUMERATION, INTEGER, CARDINAL --&gt;
  -
  -          &lt;typedef name="backgroundcolor" type="ENUMERATION"&gt;
  -                    &lt;value name="weiss"&gt;#ffffff&lt;/value&gt;
  -                    &lt;value name="hellgrau"&gt;#cccccc&lt;/value&gt;
  -                    &lt;value name="hellgruen"&gt;#aab9bf&lt;/value&gt;
  -                    &lt;value name="dunkelgruen"&gt;#46627A&lt;/value&gt;
  -                &lt;/typedef&gt;
  -                &lt;typedef name="textcolor" type="ENUMERATION"&gt;
  -                    &lt;value name="weiss"&gt;white&lt;/value&gt;
  -                    &lt;value name="schwarz"&gt;black&lt;/value&gt;
  -                    &lt;value name="weiss"&gt;#ffffff&lt;/value&gt;
  -                    &lt;value name="hellgrau"&gt;#cccccc&lt;/value&gt;
  -                    &lt;value name="hellgruen"&gt;#aab9bf&lt;/value&gt;
  -                    &lt;value name="dunkelgruen"&gt;#46627A&lt;/value&gt;
  -                &lt;/typedef&gt;
  -                &lt;typedef name="copletsize" type="ENUMERATION"&gt;
  -                    &lt;value name="Maximized"&gt;max&lt;/value&gt;
  -                    &lt;value name="Minimized"&gt;min&lt;/value&gt;
  -                &lt;/typedef&gt;
  -                &lt;typedef name="columnnumber" type="ENUMERATION"&gt;
  -                    &lt;value name="1"&gt;1&lt;/value&gt;
  -                    &lt;value name="2"&gt;2&lt;/value&gt;
  -                    &lt;value name="3"&gt;3&lt;/value&gt;
  -                    &lt;value name="4"&gt;4&lt;/value&gt;
  -                    &lt;value name="5"&gt;5&lt;/value&gt;
  -                &lt;/typedef&gt;
  -    &lt;/typedefs&gt;
  -
  -&lt;/type-profile&gt;</source>
  +    &lt;typedef name="backgroundcolor" type="ENUMERATION"&gt;
  +      &lt;value name="weiss"&gt;#ffffff&lt;/value&gt;
  +      &lt;value name="hellgrau"&gt;#cccccc&lt;/value&gt;
  +      &lt;value name="hellgruen"&gt;#aab9bf&lt;/value&gt;
  +      &lt;value name="dunkelgruen"&gt;#46627A&lt;/value&gt;
  +    &lt;/typedef&gt;
  +    &lt;typedef name="textcolor" type="ENUMERATION"&gt;
  +      &lt;value name="weiss"&gt;white&lt;/value&gt;
  +      &lt;value name="schwarz"&gt;black&lt;/value&gt;
  +      &lt;value name="weiss"&gt;#ffffff&lt;/value&gt;
  +      &lt;value name="hellgrau"&gt;#cccccc&lt;/value&gt;
  +      &lt;value name="hellgruen"&gt;#aab9bf&lt;/value&gt;
  +      &lt;value name="dunkelgruen"&gt;#46627A&lt;/value&gt;
  +    &lt;/typedef&gt;
  +    &lt;typedef name="copletsize" type="ENUMERATION"&gt;
  +      &lt;value name="Maximized"&gt;max&lt;/value&gt;
  +      &lt;value name="Minimized"&gt;min&lt;/value&gt;
  +    &lt;/typedef&gt;
  +    &lt;typedef name="columnnumber" type="ENUMERATION"&gt;
  +      &lt;value name="1"&gt;1&lt;/value&gt;
  +      &lt;value name="2"&gt;2&lt;/value&gt;
  +      &lt;value name="3"&gt;3&lt;/value&gt;
  +      &lt;value name="4"&gt;4&lt;/value&gt;
  +      &lt;value name="5"&gt;5&lt;/value&gt;
  +    &lt;/typedef&gt;
  +  &lt;/typedefs&gt;
  +&lt;/type-profile&gt;
  +</source>
             <p>The element section has the same structure a the user profile.
                For each leave which is changeable by the user the elements section 
contains an
                entry for the type of this node. The node is enhanced by two 
attributes: type
  @@ -403,53 +408,52 @@
                is used by the portal to present the configuration screen for the 
portal. It
                displayes for each changeable leave a form field with the corresponding
                type.</p>
  -          <source>
  -&lt;type-profile&gt;
  -        &lt;elements&gt;
  -               &lt;layout-profile&gt;
  -                   &lt;portal&gt;&lt;layouts&gt;
  -                          &lt;layout&gt;
  -                     &lt;!-- The user can change the background.
  +          <source>&lt;type-profile&gt;
  +  &lt;elements&gt;
  +    &lt;layout-profile&gt;
  +      &lt;portal&gt;
  +        &lt;layouts&gt;
  +          &lt;layout&gt;
  +            &lt;!-- The user can change the background.
                             The possible values are taken from the enumeration
                             backgroundcolor. The user gets the title "Background"
                             displayed for the form field. --&gt;
  -                            &lt;background&gt;
  -                                     &lt;color type="backgroundcolor" 
description="Background"/&gt;
  -                             &lt;/background&gt;
  -                        &lt;font&gt;
  -                         &lt;color type="textcolor" description="Font color"/&gt;
  -                              &lt;/font&gt;
  -                          &lt;/layout&gt;
  -                        &lt;/layouts&gt;
  -                         &lt;columns&gt;
  -                    &lt;!-- The user can change the number of columns --&gt;
  -                    &lt;number type="columnnumber" description="Number of 
columns"/&gt;
  -                &lt;/columns&gt;
  -                   &lt;/portal&gt;
  -               &lt;/layout-profile&gt;
  -
  -         &lt;portal-profile&gt;
  -                    &lt;content&gt;
  -                 &lt;!-- Using the * the following configuration is applied for
  +            &lt;background&gt;
  +              &lt;color type="backgroundcolor" description="Background"/&gt;
  +            &lt;/background&gt;
  +            &lt;font&gt;
  +              &lt;color type="textcolor" description="Font color"/&gt;
  +            &lt;/font&gt;
  +          &lt;/layout&gt;
  +        &lt;/layouts&gt;
  +        &lt;columns&gt;
  +          &lt;!-- The user can change the number of columns --&gt;
  +          &lt;number type="columnnumber" description="Number of columns"/&gt;
  +        &lt;/columns&gt;
  +      &lt;/portal&gt;
  +    &lt;/layout-profile&gt;
  +    &lt;portal-profile&gt;
  +      &lt;content&gt;
  +        &lt;!-- Using the * the following configuration is applied for
                         all columns regardless of their position. --&gt;
  -                            &lt;column position="*"&gt;
  -                                    &lt;width type="CARDINAL" 
description="Width"/&gt;
  -                                    &lt;coplets&gt;
  -                         &lt;!-- Using the * the following configuration is applied 
for
  +        &lt;column position="*"&gt;
  +          &lt;width type="CARDINAL" description="Width"/&gt;
  +          &lt;coplets&gt;
  +            &lt;!-- Using the * the following configuration is applied for
                                 each coplet. --&gt;
  -                                        &lt;coplet id="*" position="*" 
number="*"&gt;
  -                                            &lt;status&gt;
  -                             &lt;!-- The user can change the visibility and size
  +            &lt;coplet id="*" position="*" number="*"&gt;
  +              &lt;status&gt;
  +                &lt;!-- The user can change the visibility and size
                                     of the coplet --&gt;
  -                                                    &lt;visible type="BOOLEAN" 
description="Visible"/&gt;
  -                                                    &lt;size type="copletsize" 
description="Size"/&gt;
  -                                        &lt;/status&gt;
  -                                        &lt;/coplet&gt;
  -                                &lt;/coplets&gt;
  -                            &lt;/column&gt;
  -                    &lt;/content&gt;
  -               &lt;/portal-profile&gt;
  -        &lt;/elements&gt;
  +                &lt;visible type="BOOLEAN" description="Visible"/&gt;
  +                &lt;size type="copletsize" description="Size"/&gt;
  +              &lt;/status&gt;
  +            &lt;/coplet&gt;
  +          &lt;/coplets&gt;
  +        &lt;/column&gt;
  +      &lt;/content&gt;
  +    &lt;/portal-profile&gt;
  +  &lt;/elements&gt;
   &lt;/type-profile&gt;</source>
           </s3>
        </s2>
  @@ -487,64 +491,58 @@
           </ul>
           <p> So here is an example:</p>
           <source>&lt;global-delta&gt;
  -       &lt;!-- No difference to the base profile --&gt;
  -    &lt;layout-delta&gt;
  -       &lt;/layout-delta&gt;
  -
  -       &lt;!-- No difference to the base profile --&gt;
  -       &lt;coplets-delta&gt;
  -       &lt;/coplets-delta&gt;
  -
  -    &lt;!-- This is the starting portal view for all users.
  +  &lt;!-- No difference to the base profile --&gt;
  +  &lt;layout-delta/&gt;
  +  &lt;!-- No difference to the base profile --&gt;
  +  &lt;coplets-delta/&gt;
  +  &lt;!-- This is the starting portal view for all users.
            It has to be defined in the global profile --&gt;
  -    &lt;portal-profile&gt;
  -
  -        &lt;!-- This is the content of the portal view --&gt;
  -           &lt;content&gt;
  -                  &lt;header&gt;
  -                          &lt;coplet id="personalize" position="1"&gt;
  -                                 &lt;status&gt;
  -                                          &lt;visible&gt;true&lt;/visible&gt;
  -                                          &lt;size&gt;max&lt;/size&gt;
  -                                &lt;/status&gt;
  -                            &lt;/coplet&gt;
  -                  &lt;/header&gt;
  -                  &lt;column position="1"&gt;
  -                         &lt;width&gt;28%&lt;/width&gt;
  -                                                                &lt;!-- The coplets 
are displayed in the order of their
  +  &lt;portal-profile&gt;
  +    &lt;!-- This is the content of the portal view --&gt;
  +    &lt;content&gt;
  +      &lt;header&gt;
  +        &lt;coplet id="personalize" position="1"&gt;
  +          &lt;status&gt;
  +            &lt;visible&gt;true&lt;/visible&gt;
  +            &lt;size&gt;max&lt;/size&gt;
  +          &lt;/status&gt;
  +        &lt;/coplet&gt;
  +      &lt;/header&gt;
  +      &lt;column position="1"&gt;
  +        &lt;width&gt;28%&lt;/width&gt;
  +        &lt;!-- The coplets are displayed in the order of their
                        position attribute in each column. --&gt;
  -                         &lt;coplets&gt;
  -                              &lt;coplet id="administration" number="1" 
position="1"&gt;
  -                                     &lt;status&gt;
  -                                              &lt;visible&gt;true&lt;/visible&gt;
  -                                            &lt;size&gt;max&lt;/size&gt;
  -                                       &lt;/status&gt;
  -                                &lt;/coplet&gt;
  -                         &lt;/coplets&gt;
  -                  &lt;/column&gt;
  -
  -                  &lt;column position="2"&gt;
  -                         &lt;width&gt;50%&lt;/width&gt;
  -                             &lt;coplets&gt;
  -                                &lt;coplet id="banknews" number="2" 
position="1"/&gt;
  -                            &lt;/coplets&gt;
  -                &lt;/column&gt;
  -
  -                  &lt;column position="3"&gt;
  -                         &lt;width&gt;22%&lt;/width&gt;
  -                         &lt;coplets/&gt;
  -                &lt;/column&gt;
  -        &lt;/content&gt;
  -&lt;/portal-profile&gt;
  -
  -&lt;personal-profile&gt;
  -       &lt;greeting&gt;Herzlich willkommen&lt;/greeting&gt;
  -       &lt;messages&gt;
  -              &lt;coplet_not_available&gt;Das coplet ist zur Zeit nicht 
verfuegbar.&lt;/coplet_not_available&gt;
  -       &lt;/messages&gt;
  -&lt;/personal-profile&gt;
  -
  -&lt;/global-delta&gt;</source>
  +        &lt;coplets&gt;
  +          &lt;coplet id="administration" number="1" position="1"&gt;
  +            &lt;status&gt;
  +              &lt;visible&gt;true&lt;/visible&gt;
  +              &lt;size&gt;max&lt;/size&gt;
  +            &lt;/status&gt;
  +          &lt;/coplet&gt;
  +        &lt;/coplets&gt;
  +      &lt;/column&gt;
  +      &lt;column position="2"&gt;
  +        &lt;width&gt;50%&lt;/width&gt;
  +        &lt;coplets&gt;
  +          &lt;coplet id="banknews" number="2" position="1"/&gt;
  +        &lt;/coplets&gt;
  +      &lt;/column&gt;
  +      &lt;column position="3"&gt;
  +        &lt;width&gt;22%&lt;/width&gt;
  +        &lt;coplets/&gt;
  +      &lt;/column&gt;
  +    &lt;/content&gt;
  +  &lt;/portal-profile&gt;
  +  &lt;personal-profile&gt;
  +    &lt;greeting&gt;Herzlich willkommen&lt;/greeting&gt;
  +    &lt;messages&gt;
  +      &lt;coplet_not_available&gt;
  +        The coplet is currently not available.
  +      &lt;/coplet_not_available&gt;
  +    &lt;/messages&gt;
  +  &lt;/personal-profile&gt;
  +&lt;/global-delta&gt;
  +</source>
        </s2>
        <s2 title="The User Status Profile">
           <p>The user status profile contains often changing information like
  @@ -555,15 +553,15 @@
             user the status profile contains an XML block with the coplet specific
             configuration for this coplet.</p>
           <source>&lt;status-profile&gt;
  -    &lt;customization&gt;
  -        &lt;!-- Custom information for each customizable coplet --&gt;
  -        &lt;coplet id="popmail" number="3"&gt;
  -            &lt;host&gt;mail&lt;/host&gt;
  -            &lt;password&gt;gsgdgsg&lt;/password&gt;
  -            &lt;mailcount&gt;4&lt;/mailcount&gt;
  -            &lt;user&gt;walter&lt;/user&gt;
  -        &lt;/coplet&gt;
  -    &lt;/customization&gt;
  +  &lt;customization&gt;
  +    &lt;!-- Custom information for each customizable coplet --&gt;
  +    &lt;coplet id="popmail" number="3"&gt;
  +      &lt;host&gt;mail&lt;/host&gt;
  +      &lt;password&gt;gsgdgsg&lt;/password&gt;
  +      &lt;mailcount&gt;4&lt;/mailcount&gt;
  +      &lt;user&gt;walter&lt;/user&gt;
  +    &lt;/coplet&gt;
  +  &lt;/customization&gt;
   &lt;/status-profile&gt;</source>
        </s2>
     </s1>
  @@ -575,47 +573,45 @@
           an application configuration for the portal like the example portal called
           "sunBank" below: <![CDATA[]]></p>
        <source>    &lt;application name="sunBank"&gt;
  -        &lt;configuration name="portal"&gt; &lt;!-- This is the portal 
configuration --&gt;
  -            &lt;portal-uri&gt;finance-portal&lt;/portal-uri&gt;
  -            &lt;profile-cache&gt;true&lt;/profile-cache&gt;
  -            &lt;process-coplets-parallel&gt;false&lt;/process-coplets-parallel&gt;
  -            &lt;default-coplet-timeout&gt;10000&lt;/default-coplet-timeout&gt;
  -            &lt;profile&gt;
  -                &lt;!-- The resource for loading the layout profile --&gt;
  -                &lt;layout-base uri="cocoon://financeresource-layoutprofile"/&gt;
  -                &lt;!-- The resource for loading the base coplets profile --&gt;
  -                &lt;coplet-base uri="cocoon://financeresource-copletprofile"/&gt;
  -                &lt;!-- The optional resource for saving the base coplets profile 
--&gt;
  -                &lt;coplet-base-save 
uri="cocoon://financeresource-savecopletprofile"/&gt;
  -
  -                &lt;!-- The optional type resource --&gt;
  -                &lt;type-base uri="cocoon://financeresource-types"/&gt;
  -                                     &lt;!-- The optional type resource for the 
admin configuration --&gt;
  -                &lt;admin-type-base uri="cocoon://financeresource-admintypes"/&gt;
  -
  -                &lt;!-- The resources for loading/saving the deltas --&gt;
  -                &lt;global-delta-load 
uri="cocoon://financeresource-globalprofile"/&gt;
  -                &lt;global-delta-save 
uri="cocoon://financeresource-saveglobalprofile"/&gt;
  -                &lt;role-delta-load uri="cocoon://financeresource-roleprofile"/&gt;
  -                &lt;role-delta-save 
uri="cocoon://financeresource-saveroleprofile"/&gt;
  -                &lt;user-delta-load uri="cocoon://financeresource-userprofile"/&gt;
  -                &lt;user-delta-save 
uri="cocoon://financeresource-saveuserprofile"/&gt;
  -
  -                &lt;!-- Optional resources for loading/saving the status profile
  +  &lt;configuration name="portal"&gt;
  +    &lt;!-- This is the portal configuration --&gt;
  +    &lt;portal-uri&gt;finance-portal&lt;/portal-uri&gt;
  +    &lt;profile-cache&gt;true&lt;/profile-cache&gt;
  +    &lt;process-coplets-parallel&gt;false&lt;/process-coplets-parallel&gt;
  +    &lt;default-coplet-timeout&gt;10000&lt;/default-coplet-timeout&gt;
  +    &lt;profile&gt;
  +      &lt;!-- The resource for loading the layout profile --&gt;
  +      &lt;layout-base uri="cocoon://financeresource-layoutprofile"/&gt;
  +      &lt;!-- The resource for loading the base coplets profile --&gt;
  +      &lt;coplet-base uri="cocoon://financeresource-copletprofile"/&gt;
  +      &lt;!-- The optional resource for saving the base coplets profile --&gt;
  +      &lt;coplet-base-save uri="cocoon://financeresource-savecopletprofile"/&gt;
  +      &lt;!-- The optional type resource --&gt;
  +      &lt;type-base uri="cocoon://financeresource-types"/&gt;
  +      &lt;!-- The optional type resource for the admin configuration --&gt;
  +      &lt;admin-type-base uri="cocoon://financeresource-admintypes"/&gt;
  +      &lt;!-- The resources for loading/saving the deltas --&gt;
  +      &lt;global-delta-load uri="cocoon://financeresource-globalprofile"/&gt;
  +      &lt;global-delta-save uri="cocoon://financeresource-saveglobalprofile"/&gt;
  +      &lt;role-delta-load uri="cocoon://financeresource-roleprofile"/&gt;
  +      &lt;role-delta-save uri="cocoon://financeresource-saveroleprofile"/&gt;
  +      &lt;user-delta-load uri="cocoon://financeresource-userprofile"/&gt;
  +      &lt;user-delta-save uri="cocoon://financeresource-saveuserprofile"/&gt;
  +      &lt;!-- Optional resources for loading/saving the status profile
                        which is required for persistent, customizable coplets --&gt;
  -                &lt;user-status-load 
uri="cocoon://financeresource-loadstatusprofile"/&gt;
  -                &lt;user-status-save 
uri="cocoon://financeresource-savestatusprofile"/&gt;
  -
  -                &lt;!-- optional type resources --&gt;
  -                &lt;global-type-delta uri="..."/&gt;
  -                &lt;role-type-delta uri="..."/&gt;
  -                &lt;user-type-delta uri="..."/&gt;
  -            &lt;/profile&gt;
  -            &lt;!-- Redirect to this resource, if the user is not authenticated
  +      &lt;user-status-load uri="cocoon://financeresource-loadstatusprofile"/&gt;
  +      &lt;user-status-save uri="cocoon://financeresource-savestatusprofile"/&gt;
  +      &lt;!-- optional type resources --&gt;
  +      &lt;global-type-delta uri="..."/&gt;
  +      &lt;role-type-delta uri="..."/&gt;
  +      &lt;user-type-delta uri="..."/&gt;
  +    &lt;/profile&gt;
  +    &lt;!-- Redirect to this resource, if the user is not authenticated
                    to view that coplet --&gt;
  -            &lt;auth-redirect&gt;finance-portal&lt;/auth-redirect&gt;
  -        &lt;/configuration&gt;
  -    &lt;/application&gt;</source>
  +    &lt;auth-redirect&gt;finance-portal&lt;/auth-redirect&gt;
  +  &lt;/configuration&gt;
  +&lt;/application&gt;
  +</source>
        <s2 title="Global Portal Configuration">
           <p>One mandatory configuration value for the portal is the
             <em>portal-uri</em>. It must point to a pipeline which produces the 
portal view
  @@ -720,16 +716,19 @@
             pipeline with the "portal" as the generator, the auth-protect action
             for defining the application and an stylesheet for creating the 
presentation:
             </p>
  -        <source>             &lt;map:match pattern="sunbank-portal"&gt;
  -                &lt;map:act type="auth-protect"/&gt;         &lt;!-- for getting 
the portal configuration --&gt;
  -                        &lt;map:parameter name="handler" value="portalhandler"/&gt;
  -                         &lt;map:parameter name="application" value="sunBank"/&gt;
  -
  -                    &lt;map:generate type="portal"/&gt; &lt;!-- generate the portal 
view --&gt;
  -                            &lt;map:transform 
src="sunbank/styles/portalHTML.xsl"/&gt; &lt;!-- presentation in HTML --&gt;
  -                      &lt;map:serialize/&gt;
  -      &lt;/map:act&gt;
  -        &lt;/map:match&gt;</source>
  +        <source>&lt;map:match pattern="sunbank-portal"&gt;
  +  &lt;map:act type="auth-protect"&gt;
  +    &lt;!-- for getting the portal configuration --&gt;
  +    &lt;map:parameter name="handler" value="portalhandler"/&gt;
  +    &lt;map:parameter name="application" value="sunBank"/&gt;
  +    &lt;map:generate type="portal"/&gt;
  +    &lt;!-- generate the portal view --&gt;
  +    &lt;map:transform src="sunbank/styles/portalHTML.xsl"/&gt;
  +    &lt;!-- presentation in HTML --&gt;
  +    &lt;map:serialize/&gt;
  +  &lt;/map:act&gt;
  +&lt;/map:match&gt;
  +</source>
           <s3 title="The Generated Portal View">
             <p>The XML generated by the "portal" generator is not exactly the
                same as for the user profile. The portal optimizes and reorganizes the 
profile.
  @@ -741,124 +740,117 @@
                profile.</p>
             <source>&lt;!-- The portal indicates that the following is the portal 
view --&gt;
   &lt;portal&gt;
  -
  -    &lt;!-- The configuration of the portal --&gt;
  -    &lt;configuration&gt;
  -        &lt;!-- This is the uri which should be invoked for rebuilding the portal 
view
  +  &lt;!-- The configuration of the portal --&gt;
  +  &lt;configuration&gt;
  +    &lt;!-- This is the uri which should be invoked for rebuilding the portal view
                and for changing the view. The parameter portalprofile is always
                present and indicates the current profile. --&gt;
  -        
&lt;uri&gt;finance-portlets?portalprofile=uprofile:sunBank:user_admin_cocoon&lt;/uri&gt;
  -        &lt;!-- This is the uniquie portal profile ID --&gt;
  -        &lt;profile&gt;uprofile:sunBank:user_admin_cocoon&lt;/profile&gt;
  -        &lt;media&gt;html&lt;/media&gt; &lt;!-- The current media: html or wap 
--&gt;
  -    &lt;/configuration&gt;
  -
  -    &lt;!-- Now the needed part of the layout profile: --&gt;
  -    &lt;layout&gt;
  -        &lt;portal&gt;
  -                        &lt;background&gt;
  -                                &lt;color formdescription="Hintergrundfarbe" 
formpath="portalconf.0.0" formtype="backgroundcolor"&gt;#aab9bf&lt;/color&gt;
  -                        &lt;/background&gt;
  -                        &lt;font&gt;
  -                                &lt;type&gt;Arial, Helvetica, 
sans-serif&lt;/type&gt;
  -                                &lt;size&gt;2&lt;/size&gt;
  -                                &lt;color formdescription="Schriftfarbe" 
formpath="portalconf.1.0" formtype="textcolor"&gt;black&lt;/color&gt;
  -                        &lt;/font&gt;
  -                    &lt;/portal&gt;
  -
  -        &lt;coplets&gt;
  -                           &lt;title&gt;
  -                                &lt;background&gt;
  -                                      &lt;color&gt;#46627A&lt;/color&gt;
  -                                &lt;/background&gt;
  -                                  &lt;font&gt;
  -                                    &lt;type&gt;Arial&lt;/type&gt;
  -                                       &lt;size&gt;2&lt;/size&gt;
  -                                       &lt;color&gt;#ffffff&lt;/color&gt;
  -                                  &lt;/font&gt;
  -                           &lt;/title&gt;
  -                        &lt;content&gt;
  -                                &lt;background&gt;
  -                                      &lt;color&gt;#000000&lt;/color&gt;
  -                                &lt;/background&gt;
  -                                  &lt;font&gt;
  -                                    &lt;type&gt;Arial&lt;/type&gt;
  -                                       &lt;size&gt;2&lt;/size&gt;
  -                                       &lt;color&gt;#ffffff&lt;/color&gt;
  -                                  &lt;/font&gt;
  -                           &lt;/content&gt;
  -                    &lt;/coplets&gt;
  -    &lt;/layout&gt;
  -
  -    &lt;!-- This is the portal view: --&gt;
  -    &lt;header&gt;
  -        &lt;coplet id="personalize" position="1" number="1"&gt;
  -            &lt;resource uri="financecoplet-personalize.xml"/&gt;
  -            &lt;configuration&gt;
  -                            &lt;mandatory&gt;true&lt;/mandatory&gt;
  -                            &lt;sizable&gt;true&lt;/sizable&gt;
  -                            &lt;active&gt;true&lt;/active&gt;
  -                        &lt;/configuration&gt;
  -            &lt;title&gt;Personalisieren&lt;/title&gt;
  -            &lt;status&gt;
  -                &lt;visible&gt;true&lt;/visible&gt;
  -                &lt;size&gt;max&lt;/size&gt;
  -            &lt;/status&gt;
  -            &lt;content&gt;..the coplet content...&lt;/content&gt;
  -        &lt;/coplet&gt;
  -          &lt;/header&gt;
  -
  -    &lt;columns number="3"&gt;
  -        &lt;column position="1" width="28%"&gt;
  -                        &lt;coplet id="administration" position="1" number="1"&gt;
  -                  &lt;resource uri="financecoplet-administration.xml"/&gt;
  -                  &lt;configuration&gt;
  -                      &lt;mandatory&gt;false&lt;/mandatory&gt;
  -                      &lt;sizable&gt;true&lt;/sizable&gt;
  -                      &lt;active&gt;true&lt;/active&gt;
  -                            &lt;/configuration&gt;
  -                  &lt;title&gt;Portal Administration&lt;/title&gt;
  -                  &lt;status&gt;
  -                      &lt;visible formdescription="Sichtbar" 
formpath="portalconf.4.0" formtype="BOOLEAN"&gt;true&lt;/visible&gt;
  -                      &lt;size formdescription="Groesse" formpath="portalconf.5.0" 
formtype="copletsize"&gt;max&lt;/size&gt;
  -                  &lt;/status&gt;
  -                  &lt;content&gt;..the coplet content...&lt;/content&gt;
  -              &lt;/coplet&gt;
  +    
&lt;uri&gt;finance-portlets?portalprofile=uprofile:sunBank:user_admin_cocoon&lt;/uri&gt;
  +    &lt;!-- This is the uniquie portal profile ID --&gt;
  +    &lt;profile&gt;uprofile:sunBank:user_admin_cocoon&lt;/profile&gt;
  +    &lt;media&gt;html&lt;/media&gt;
  +    &lt;!-- The current media: html or wap --&gt;
  +  &lt;/configuration&gt;
  +  &lt;!-- Now the needed part of the layout profile: --&gt;
  +  &lt;layout&gt;
  +    &lt;portal&gt;
  +      &lt;background&gt;
  +        &lt;color formdescription="Hintergrundfarbe" formpath="portalconf.0.0" 
formtype="backgroundcolor"&gt;#aab9bf&lt;/color&gt;
  +      &lt;/background&gt;
  +      &lt;font&gt;
  +        &lt;type&gt;Arial, Helvetica, sans-serif&lt;/type&gt;
  +        &lt;size&gt;2&lt;/size&gt;
  +        &lt;color formdescription="Schriftfarbe" formpath="portalconf.1.0" 
formtype="textcolor"&gt;black&lt;/color&gt;
  +      &lt;/font&gt;
  +    &lt;/portal&gt;
  +    &lt;coplets&gt;
  +      &lt;title&gt;
  +        &lt;background&gt;
  +          &lt;color&gt;#46627A&lt;/color&gt;
  +        &lt;/background&gt;
  +        &lt;font&gt;
  +          &lt;type&gt;Arial&lt;/type&gt;
  +          &lt;size&gt;2&lt;/size&gt;
  +          &lt;color&gt;#ffffff&lt;/color&gt;
  +        &lt;/font&gt;
  +      &lt;/title&gt;
  +      &lt;content&gt;
  +        &lt;background&gt;
  +          &lt;color&gt;#000000&lt;/color&gt;
  +        &lt;/background&gt;
  +        &lt;font&gt;
  +          &lt;type&gt;Arial&lt;/type&gt;
  +          &lt;size&gt;2&lt;/size&gt;
  +          &lt;color&gt;#ffffff&lt;/color&gt;
  +        &lt;/font&gt;
  +      &lt;/content&gt;
  +    &lt;/coplets&gt;
  +  &lt;/layout&gt;
  +  &lt;!-- This is the portal view: --&gt;
  +  &lt;header&gt;
  +    &lt;coplet id="personalize" position="1" number="1"&gt;
  +      &lt;resource uri="financecoplet-personalize.xml"/&gt;
  +      &lt;configuration&gt;
  +        &lt;mandatory&gt;true&lt;/mandatory&gt;
  +        &lt;sizable&gt;true&lt;/sizable&gt;
  +        &lt;active&gt;true&lt;/active&gt;
  +      &lt;/configuration&gt;
  +      &lt;title&gt;Personalisieren&lt;/title&gt;
  +      &lt;status&gt;
  +        &lt;visible&gt;true&lt;/visible&gt;
  +        &lt;size&gt;max&lt;/size&gt;
  +      &lt;/status&gt;
  +      &lt;content&gt;..the coplet content...&lt;/content&gt;
  +    &lt;/coplet&gt;
  +  &lt;/header&gt;
  +  &lt;columns number="3"&gt;
  +    &lt;column position="1" width="28%"&gt;
  +      &lt;coplet id="administration" position="1" number="1"&gt;
  +        &lt;resource uri="financecoplet-administration.xml"/&gt;
  +        &lt;configuration&gt;
  +          &lt;mandatory&gt;false&lt;/mandatory&gt;
  +          &lt;sizable&gt;true&lt;/sizable&gt;
  +          &lt;active&gt;true&lt;/active&gt;
  +        &lt;/configuration&gt;
  +        &lt;title&gt;Portal Administration&lt;/title&gt;
  +        &lt;status&gt;
  +          &lt;visible formdescription="Sichtbar" formpath="portalconf.4.0" 
formtype="BOOLEAN"&gt;true&lt;/visible&gt;
  +          &lt;size formdescription="Groesse" formpath="portalconf.5.0" 
formtype="copletsize"&gt;max&lt;/size&gt;
  +        &lt;/status&gt;
  +        &lt;content&gt;..the coplet content...&lt;/content&gt;
  +      &lt;/coplet&gt;
                           ....
                    &lt;/column&gt;
  -        &lt;column position="2" width="50%"&gt;
  +    &lt;column position="2" width="50%"&gt;
               ...
               &lt;/column&gt;
  -        &lt;column position="3" width="22%"&gt;
  +    &lt;column position="3" width="22%"&gt;
               ...
                    &lt;/column&gt;
  -    &lt;/columns&gt;
  -
  -    &lt;!-- The personal information --&gt;
  -    &lt;personal-profile&gt;
  -        &lt;greeting&gt;Hi there!&lt;/greeting&gt;
  -        &lt;messages&gt;
  -                &lt;coplet_not_available&gt;The coplet is currently not 
available.&lt;/coplet_not_available&gt;
  -        &lt;/messages&gt;
  -    &lt;/personal-profile&gt;
  +  &lt;/columns&gt;
  +  &lt;!-- The personal information --&gt;
  +  &lt;personal-profile&gt;
  +    &lt;greeting&gt;Hi there!&lt;/greeting&gt;
  +    &lt;messages&gt;
  +      &lt;coplet_not_available&gt;The coplet is currently not 
available.&lt;/coplet_not_available&gt;
  +    &lt;/messages&gt;
  +  &lt;/personal-profile&gt;
   &lt;/portal&gt;</source>
           </s3>
  -     </s2>
  -     <s2 title="Administration of the portal view">
  +      </s2>
  +      <s2 title="Administration of the portal view">
           <p>Displaying the administration page of the portal is as simple as
             displaying the portal. The difference lies in changing the generator to 
the
             "portal-conf" generator: </p>
  -        <source>             &lt;map:match pattern="sunbank-conf"&gt;
  -                  &lt;map:act type="auth-protect"&gt;
  -                         &lt;map:parameter name="handler" value="portalhandler"/&gt;
  -                         &lt;map:parameter name="application" value="sunBank"/&gt;
  -
  -                    &lt;map:generate type="portal-conf"/&gt;
  -                      &lt;map:transform src="sunbank/styles/portalconfHTML.xsl"/&gt;
  -                      &lt;map:serialize/&gt;
  -                  &lt;/map:act&gt;
  -        &lt;/map:match&gt;
  -</source>
  +        <source>&lt;map:match pattern="sunbank-conf"&gt;
  +  &lt;map:act type="auth-protect"&gt;
  +    &lt;map:parameter name="handler" value="portalhandler"/&gt;
  +    &lt;map:parameter name="application" value="sunBank"/&gt;
  +    &lt;map:generate type="portal-conf"/&gt;
  +    &lt;map:transform src="sunbank/styles/portalconfHTML.xsl"/&gt;
  +    &lt;map:serialize/&gt;
  +  &lt;/map:act&gt;
  +&lt;/map:match&gt;</source>
           <p>Make sure to protect the portal configuration generator as the
             administrator can change all profiles, clear the cache etc. It should 
only be
             available for real portal administrators.</p>
  @@ -873,146 +865,132 @@
                profile.</p>
             <source>&lt;!-- The portalconf node indicates that the following is the 
portal administration view --&gt;
   &lt;portalconf&gt;
  -
  -&lt;!-- The configuration of the portal --&gt;
  -    &lt;configuration&gt;
  -        &lt;!-- This is the uri which should be invoked for rebuilding the portal 
view
  +  &lt;!-- The configuration of the portal --&gt;
  +  &lt;configuration&gt;
  +    &lt;!-- This is the uri which should be invoked for rebuilding the portal view
                and for changing the view. The parameter portalprofile is always
                present and indicates the current profile. --&gt;
  -        
&lt;uri&gt;finance-portlets?portalprofile=uprofile:sunBank:user_admin_cocoon&lt;/uri&gt;
  -        &lt;!-- This is the uniquie portal profile ID --&gt;
  -        &lt;profile&gt;uprofile:sunBank:user_admin_cocoon&lt;/profile&gt;
  -        &lt;media&gt;html&lt;/media&gt; &lt;!-- The current media: html or wap 
--&gt;
  -    &lt;/configuration&gt;
  -
  -    &lt;!-- The layout profile, see chapter about the layout profile --&gt;
  -    &lt;layout-profile&gt;
  -            &lt;portal&gt;
  -                     &lt;layouts&gt;
  -                         &lt;layout&gt;
  -                                   &lt;background&gt;
  -                                        &lt;color 
formdescription="Hintergrundfarbe" formpath="portalconf.0.0" 
formtype="backgroundcolor"&gt;#aab9bf&lt;/color&gt;
  -                                   &lt;/background&gt;
  -                                   &lt;font&gt;
  -                                        &lt;type&gt;Arial, Helvetica, 
sans-serif&lt;/type&gt;
  -                                        &lt;size&gt;2&lt;/size&gt;
  -                                        &lt;color formdescription="Schriftfarbe" 
formpath="portalconf.1.0" formtype="textcolor"&gt;black&lt;/color&gt;
  -                                   &lt;/font&gt;
  -                           &lt;/layout&gt;
  -                   &lt;/layouts&gt;
  -
  -                   &lt;header&gt;
  -                            &lt;exists&gt;true&lt;/exists&gt;
  -                    &lt;/header&gt;
  -
  -                     &lt;columns&gt;
  -                            &lt;number formdescription="Anzahl" 
formpath="portalconf.2.0" formtype="columnnumber"&gt;3&lt;/number&gt;
  -                     &lt;/columns&gt;
  -
  -                    &lt;footer&gt;
  -                            &lt;exists&gt;false&lt;/exists&gt;
  -                    &lt;/footer&gt;
  -              &lt;/portal&gt;
  -
  -              &lt;coplets&gt;
  -                     &lt;layouts&gt;
  -                            &lt;layout&gt;
  -                                &lt;title&gt;
  -                                          &lt;background&gt;
  -                                              &lt;color&gt;#46627A&lt;/color&gt;
  -                                        &lt;/background&gt;
  -                                        &lt;font&gt;
  -                                               &lt;type&gt;Arial&lt;/type&gt;
  -                                                &lt;size&gt;2&lt;/size&gt;
  -                                            &lt;color&gt;#ffffff&lt;/color&gt;
  -                                        &lt;/font&gt;
  -                                &lt;/title&gt;
  -                                &lt;content&gt;
  -                                        &lt;font&gt;
  -                                               &lt;type&gt;Arial&lt;/type&gt;
  -                                                &lt;size&gt;2&lt;/size&gt;
  -                                            &lt;color&gt;#000000&lt;/color&gt;
  -                                        &lt;/font&gt;
  -                                          &lt;background&gt;
  -                                              &lt;color&gt;#ffffff&lt;/color&gt;
  -                                        &lt;/background&gt;
  -                                &lt;/content&gt;
  -                            &lt;/layout&gt;
  -                    &lt;/layouts&gt;
  -            &lt;/coplets&gt;
  -
  -        &lt;/layout-profile&gt;
  -
  -     &lt;!-- The coplets profile, see chapter about the coplets profile --&gt;
  -     &lt;coplets-profile&gt;
  -              &lt;coplets&gt;
  -             &lt;coplet id="banknews"&gt;
  -                             &lt;resource uri="onlinecoplet-banking.xml"/&gt;
  -                            &lt;configuration&gt;
  -                                    &lt;mandatory&gt;false&lt;/mandatory&gt;
  -                                &lt;sizable&gt;true&lt;/sizable&gt;
  -                                    &lt;active&gt;true&lt;/active&gt;
  -                             &lt;/configuration&gt;
  -                            &lt;title&gt;Banking News&lt;/title&gt;
  -                             &lt;status&gt;
  -                                &lt;visible&gt;true&lt;/visible&gt;
  -                                &lt;size&gt;max&lt;/size&gt;
  -                            &lt;/status&gt;
  -                    &lt;/coplet&gt;
  +    
&lt;uri&gt;finance-portlets?portalprofile=uprofile:sunBank:user_admin_cocoon&lt;/uri&gt;
  +    &lt;!-- This is the uniquie portal profile ID --&gt;
  +    &lt;profile&gt;uprofile:sunBank:user_admin_cocoon&lt;/profile&gt;
  +    &lt;media&gt;html&lt;/media&gt;
  +    &lt;!-- The current media: html or wap --&gt;
  +  &lt;/configuration&gt;
  +  &lt;!-- The layout profile, see chapter about the layout profile --&gt;
  +  &lt;layout-profile&gt;
  +    &lt;portal&gt;
  +      &lt;layouts&gt;
  +        &lt;layout&gt;
  +          &lt;background&gt;
  +            &lt;color formdescription="Hintergrundfarbe" formpath="portalconf.0.0" 
formtype="backgroundcolor"&gt;#aab9bf&lt;/color&gt;
  +          &lt;/background&gt;
  +          &lt;font&gt;
  +            &lt;type&gt;Arial, Helvetica, sans-serif&lt;/type&gt;
  +            &lt;size&gt;2&lt;/size&gt;
  +            &lt;color formdescription="Schriftfarbe" formpath="portalconf.1.0" 
formtype="textcolor"&gt;black&lt;/color&gt;
  +          &lt;/font&gt;
  +        &lt;/layout&gt;
  +      &lt;/layouts&gt;
  +      &lt;header&gt;
  +        &lt;exists&gt;true&lt;/exists&gt;
  +      &lt;/header&gt;
  +      &lt;columns&gt;
  +        &lt;number formdescription="Anzahl" formpath="portalconf.2.0" 
formtype="columnnumber"&gt;3&lt;/number&gt;
  +      &lt;/columns&gt;
  +      &lt;footer&gt;
  +        &lt;exists&gt;false&lt;/exists&gt;
  +      &lt;/footer&gt;
  +    &lt;/portal&gt;
  +    &lt;coplets&gt;
  +      &lt;layouts&gt;
  +        &lt;layout&gt;
  +          &lt;title&gt;
  +            &lt;background&gt;
  +              &lt;color&gt;#46627A&lt;/color&gt;
  +            &lt;/background&gt;
  +            &lt;font&gt;
  +              &lt;type&gt;Arial&lt;/type&gt;
  +              &lt;size&gt;2&lt;/size&gt;
  +              &lt;color&gt;#ffffff&lt;/color&gt;
  +            &lt;/font&gt;
  +          &lt;/title&gt;
  +          &lt;content&gt;
  +            &lt;font&gt;
  +              &lt;type&gt;Arial&lt;/type&gt;
  +              &lt;size&gt;2&lt;/size&gt;
  +              &lt;color&gt;#000000&lt;/color&gt;
  +            &lt;/font&gt;
  +            &lt;background&gt;
  +              &lt;color&gt;#ffffff&lt;/color&gt;
  +            &lt;/background&gt;
  +          &lt;/content&gt;
  +        &lt;/layout&gt;
  +      &lt;/layouts&gt;
  +    &lt;/coplets&gt;
  +  &lt;/layout-profile&gt;
  +  &lt;!-- The coplets profile, see chapter about the coplets profile --&gt;
  +  &lt;coplets-profile&gt;
  +    &lt;coplets&gt;
  +      &lt;coplet id="banknews"&gt;
  +        &lt;resource uri="onlinecoplet-banking.xml"/&gt;
  +        &lt;configuration&gt;
  +          &lt;mandatory&gt;false&lt;/mandatory&gt;
  +          &lt;sizable&gt;true&lt;/sizable&gt;
  +          &lt;active&gt;true&lt;/active&gt;
  +        &lt;/configuration&gt;
  +        &lt;title&gt;Banking News&lt;/title&gt;
  +        &lt;status&gt;
  +          &lt;visible&gt;true&lt;/visible&gt;
  +          &lt;size&gt;max&lt;/size&gt;
  +        &lt;/status&gt;
  +      &lt;/coplet&gt;
                ...
               &lt;/coplets&gt;
  -
  -        &lt;/coplets-profile&gt;
  -
  -     &lt;!-- The type profile, see the chapter about the type profile --&gt;
  -     &lt;typedefs&gt;
  +  &lt;/coplets-profile&gt;
  +  &lt;!-- The type profile, see the chapter about the type profile --&gt;
  +  &lt;typedefs&gt;
            ...
        &lt;/typedefs&gt;
  -
  -      &lt;!-- And now the portal view, see chapter about the portal profile --&gt;
  -     &lt;portal-profile&gt;
  -
  -            &lt;content&gt;
  -                   &lt;header&gt;
  -                           &lt;coplet id="personalize" position="1" number="1"&gt;
  -                                  &lt;status&gt;
  -                                           &lt;visible&gt;true&lt;/visible&gt;
  -                                           &lt;size&gt;max&lt;/size&gt;
  -                                    &lt;/status&gt;
  -                             &lt;/coplet&gt;
  -                &lt;/header&gt;
  -                &lt;column position="1"&gt;
  -                        &lt;width formdescription="Breite" 
formpath="portalconf.3.0" formtype="CARDINAL"&gt;28%&lt;/width&gt;
  -                        &lt;coplets&gt;
  -                               &lt;coplet id="administration" position="1" 
number="2"&gt;
  -                                        &lt;status&gt;
  -                                            &lt;visible formdescription="Sichtbar" 
formpath="portalconf.4.0" formtype="BOOLEAN"&gt;true&lt;/visible&gt;
  -                                            &lt;size formdescription="Groesse" 
formpath="portalconf.5.0" formtype="copletsize"&gt;max&lt;/size&gt;
  -                                        &lt;/status&gt;
  -                                &lt;/coplet&gt;
  +  &lt;!-- And now the portal view, see chapter about the portal profile --&gt;
  +  &lt;portal-profile&gt;
  +    &lt;content&gt;
  +      &lt;header&gt;
  +        &lt;coplet id="personalize" position="1" number="1"&gt;
  +          &lt;status&gt;
  +            &lt;visible&gt;true&lt;/visible&gt;
  +            &lt;size&gt;max&lt;/size&gt;
  +          &lt;/status&gt;
  +        &lt;/coplet&gt;
  +      &lt;/header&gt;
  +      &lt;column position="1"&gt;
  +        &lt;width formdescription="Breite" formpath="portalconf.3.0" 
formtype="CARDINAL"&gt;28%&lt;/width&gt;
  +        &lt;coplets&gt;
  +          &lt;coplet id="administration" position="1" number="2"&gt;
  +            &lt;status&gt;
  +              &lt;visible formdescription="Sichtbar" formpath="portalconf.4.0" 
formtype="BOOLEAN"&gt;true&lt;/visible&gt;
  +              &lt;size formdescription="Groesse" formpath="portalconf.5.0" 
formtype="copletsize"&gt;max&lt;/size&gt;
  +            &lt;/status&gt;
  +          &lt;/coplet&gt;
                                  ...
                           &lt;/coplets&gt;
  -                   &lt;/column&gt;
  -
  -                    &lt;column position="2"&gt;
  +      &lt;/column&gt;
  +      &lt;column position="2"&gt;
                      ...
                       &lt;/column&gt;
  -
  -                    &lt;column position="3"&gt;
  +      &lt;column position="3"&gt;
                      ...
                       &lt;/column&gt;
  -
  -            &lt;/content&gt;
  -     &lt;/portal-profile&gt;
  -
  -     &lt;!-- The personal profile, see the corresponding chapter --&gt;
  -     &lt;personal-profile&gt;
  -            &lt;greeting&gt;Hi there!&lt;/greeting&gt;
  -            &lt;messages&gt;
  -                &lt;coplet_not_available&gt;The coplet is currently not 
available.&lt;/coplet_not_available&gt;
  -            &lt;/messages&gt;
  -     &lt;/personal-profile&gt;
  -&lt;/portalconf&gt;</source>
  +    &lt;/content&gt;
  +  &lt;/portal-profile&gt;
  +  &lt;!-- The personal profile, see the corresponding chapter --&gt;
  +  &lt;personal-profile&gt;
  +    &lt;greeting&gt;Hi there!&lt;/greeting&gt;
  +    &lt;messages&gt;
  +      &lt;coplet_not_available&gt;The coplet is currently not 
available.&lt;/coplet_not_available&gt;
  +    &lt;/messages&gt;
  +  &lt;/personal-profile&gt;
  +&lt;/portalconf&gt;
  +</source>
           </s3>
        </s2>
        <s2 title="Changing the Profile">
  @@ -1069,44 +1047,44 @@
             Together with your "real" pipeline for defining the content and doing the
             presentation, the "auth-protect" action is needed. This action defines
             the application and portal, the coplet (pipeline) belongs to:</p>
  -        <source>             &lt;map:match pattern="licence-coplet"&gt;
  -      &lt;!-- Get the application configuration --&gt;
  -                  &lt;map:act type="auth-protect"&gt;
  -                         &lt;map:parameter name="handler" value="portalhandler"/&gt;
  -                         &lt;map:parameter name="application" value="sunBank"/&gt;
  -
  -                &lt;!-- The resource containg the licencing information: --&gt;
  -          &lt;map:generate src="cocoon/licencing.xml"/&gt;
  -
  -          &lt;!-- present it in HTML --&gt;
  -                      &lt;map:transform src="sunbank/styles/HTML.xsl"/&gt;
  -          &lt;!-- Serialize it to XML for including in the portal view: --&gt;
  -                      &lt;map:serialize/&gt;
  -      &lt;/map:act&gt;
  -        &lt;/map:match&gt;</source>
  +        <source>&lt;map:match pattern="licence-coplet"&gt;
  +  &lt;!-- Get the application configuration --&gt;
  +  &lt;map:act type="auth-protect"&gt;
  +    &lt;map:parameter name="handler" value="portalhandler"/&gt;
  +    &lt;map:parameter name="application" value="sunBank"/&gt;
  +    &lt;!-- secure the coplet: --&gt;
  +    &lt;map:act type="portal-auth"&gt;
  +      &lt;map:parameter name="coplet" value="licencing"/&gt;
  +    &lt;/map:act&gt;
  +    &lt;!-- The resource containg the licencing information: --&gt;
  +    &lt;map:generate src="cocoon/licencing.xml"/&gt;
  +    &lt;!-- present it in HTML --&gt;
  +    &lt;map:transform src="sunbank/styles/HTML.xsl"/&gt;
  +    &lt;!-- Serialize it to XML for including in the portal view: --&gt;
  +    &lt;map:serialize/&gt;
  +  &lt;/map:act&gt;
  +&lt;/map:match&gt;
  +</source>
           <p>In addition you can secure the pipeline of the coplet. So only users
              who can select this coplet in their profile can invoke the pipeline.
              This extra protection is performed by the "portal-auth" action:</p>
  -        <source>             &lt;map:match pattern="licence-coplet"&gt;
  -      &lt;!-- Get the application configuration --&gt;
  -                  &lt;map:act type="auth-protect"&gt;
  -                         &lt;map:parameter name="handler" value="portalhandler"/&gt;
  -                         &lt;map:parameter name="application" value="sunBank"/&gt;
  -
  -          &lt;!-- secure the coplet: --&gt;
  -          &lt;map:act type="portal-auth"&gt;
  -               &lt;map:parameter name="coplet" value="licencing"/&gt;
  -          &lt;/map:act&gt;
  -
  -                &lt;!-- The resource containg the licencing information: --&gt;
  -          &lt;map:generate src="cocoon/licencing.xml"/&gt;
  -
  -          &lt;!-- present it in HTML --&gt;
  -                      &lt;map:transform src="sunbank/styles/HTML.xsl"/&gt;
  -          &lt;!-- Serialize it to XML for including in the portal view: --&gt;
  -                      &lt;map:serialize/&gt;
  -      &lt;/map:act&gt;
  -        &lt;/map:match&gt;</source>
  +        <source>&lt;map:match pattern="licence-coplet"&gt;
  +  &lt;!-- Get the application configuration --&gt;
  +  &lt;map:act type="auth-protect"&gt;
  +    &lt;map:parameter name="handler" value="portalhandler"/&gt;
  +    &lt;map:parameter name="application" value="sunBank"/&gt;
  +    &lt;!-- secure the coplet: --&gt;
  +    &lt;map:act type="portal-auth"&gt;
  +      &lt;map:parameter name="coplet" value="licencing"/&gt;
  +    &lt;/map:act&gt;
  +    &lt;!-- The resource containg the licencing information: --&gt;
  +    &lt;map:generate src="cocoon/licencing.xml"/&gt;
  +    &lt;!-- present it in HTML --&gt;
  +    &lt;map:transform src="sunbank/styles/HTML.xsl"/&gt;
  +    &lt;!-- Serialize it to XML for including in the portal view: --&gt;
  +    &lt;map:serialize/&gt;
  +  &lt;/map:act&gt;
  +&lt;/map:match&gt;</source>
           <p>In this example the coplet is protected by the use of the parameter
             tag inside the "portal-auth" action. Only if the user is allowed to
             view/configure the coplet with the ID "licencing", he can invoke this 
resource.
  @@ -1126,49 +1104,50 @@
             the information can be included in the current xml stream of a coplet.</p>
           <p>The content of the context looks like the following:</p>
           <source>&lt;layout&gt;
  -    &lt;portal&gt;
  -                &lt;background&gt;
  -                            &lt;color formdescription="Hintergrundfarbe" 
formpath="portalconf.0.0" formtype="backgroundcolor"&gt;#aab9bf&lt;/color&gt;
  -                &lt;/background&gt;
  -                &lt;font&gt;
  -                            &lt;type&gt;Arial, Helvetica, sans-serif&lt;/type&gt;
  -                            &lt;size&gt;2&lt;/size&gt;
  -                            &lt;color formdescription="Schriftfarbe" 
formpath="portalconf.1.0" formtype="textcolor"&gt;black&lt;/color&gt;
  -                     &lt;/font&gt;
  -    &lt;/portal&gt;
  -
  -    &lt;coplets&gt;
  -                    &lt;title&gt;
  -                            &lt;background&gt;
  -                            &lt;color&gt;#46627A&lt;/color&gt;
  -                            &lt;/background&gt;
  -                        &lt;font&gt;
  -                                &lt;type&gt;Arial&lt;/type&gt;
  -                                   &lt;size&gt;2&lt;/size&gt;
  -                                   &lt;color&gt;#ffffff&lt;/color&gt;
  -                        &lt;/font&gt;
  -                    &lt;/title&gt;
  -                    &lt;content&gt;
  -                            &lt;background&gt;
  -                            &lt;color&gt;#000000&lt;/color&gt;
  -                            &lt;/background&gt;
  -                        &lt;font&gt;
  -                                &lt;type&gt;Arial&lt;/type&gt;
  -                                   &lt;size&gt;2&lt;/size&gt;
  -                                   &lt;color&gt;#ffffff&lt;/color&gt;
  -                        &lt;/font&gt;
  -                    &lt;/content&gt;
  -                &lt;/coplets&gt;
  +  &lt;portal&gt;
  +    &lt;background&gt;
  +      &lt;color formdescription="Hintergrundfarbe" formpath="portalconf.0.0" 
formtype="backgroundcolor"&gt;#aab9bf&lt;/color&gt;
  +    &lt;/background&gt;
  +    &lt;font&gt;
  +      &lt;type&gt;Arial, Helvetica, sans-serif&lt;/type&gt;
  +      &lt;size&gt;2&lt;/size&gt;
  +      &lt;color formdescription="Schriftfarbe" formpath="portalconf.1.0" 
formtype="textcolor"&gt;black&lt;/color&gt;
  +    &lt;/font&gt;
  +  &lt;/portal&gt;
  +  &lt;coplets&gt;
  +    &lt;title&gt;
  +      &lt;background&gt;
  +        &lt;color&gt;#46627A&lt;/color&gt;
  +      &lt;/background&gt;
  +      &lt;font&gt;
  +        &lt;type&gt;Arial&lt;/type&gt;
  +        &lt;size&gt;2&lt;/size&gt;
  +        &lt;color&gt;#ffffff&lt;/color&gt;
  +      &lt;/font&gt;
  +    &lt;/title&gt;
  +    &lt;content&gt;
  +      &lt;background&gt;
  +        &lt;color&gt;#000000&lt;/color&gt;
  +      &lt;/background&gt;
  +      &lt;font&gt;
  +        &lt;type&gt;Arial&lt;/type&gt;
  +        &lt;size&gt;2&lt;/size&gt;
  +        &lt;color&gt;#ffffff&lt;/color&gt;
  +      &lt;/font&gt;
  +    &lt;/content&gt;
  +  &lt;/coplets&gt;
   &lt;/layout&gt;
   &lt;configuration&gt;
  -        &lt;!-- This is the uri which should be invoked for rebuilding the portal 
view
  +  &lt;!-- This is the uri which should be invoked for rebuilding the portal view
                The parameter portalprofile is always
                present and indicates the current profile. --&gt;
  -        
&lt;uri&gt;finance-portlets?portalprofile=uprofile:sunBank:user_admin_cocoon&lt;/uri&gt;
  -        &lt;!-- This is the uniquie portal profile ID --&gt;
  -        &lt;profile&gt;uprofile:sunBank:user_admin_cocoon&lt;/profile&gt;
  -        &lt;media&gt;html&lt;/media&gt; &lt;!-- The current media: html or wap 
--&gt;
  -&lt;/configuration&gt;</source>
  +  
&lt;uri&gt;finance-portlets?portalprofile=uprofile:sunBank:user_admin_cocoon&lt;/uri&gt;
  +  &lt;!-- This is the uniquie portal profile ID --&gt;
  +  &lt;profile&gt;uprofile:sunBank:user_admin_cocoon&lt;/profile&gt;
  +  &lt;media&gt;html&lt;/media&gt;
  +  &lt;!-- The current media: html or wap --&gt;
  +&lt;/configuration&gt;
  +</source>
           <p>Using this information the coplet can layout itself with the layout
             chosen by the user for the portal. For example a <em>&lt;session:getxml
             context="portal" 
path="/layout/coplets/content/background/color"/&gt;</em> is
  @@ -1206,24 +1185,23 @@
             mail coplet which requires the configuration for a mail host, a user name 
and a
             password.</p>
           <source>&lt;page xmlns:session="http://cocoon.apache.org/session/1.0"&gt;
  -       &lt;!-- Define a form --&gt;
  -    &lt;session:form name="popmail" method="POST"&gt;
  -            &lt;session:action&gt;
  -            &lt;!-- The action is send to the pipeline redisplaying the portal 
--&gt;
  -            &lt;session:getxml context="portal" path="/configuration/uri"/&gt;
  -        &lt;/session:action&gt;
  -        &lt;!-- Create the input fields for
  +  &lt;!-- Define a form --&gt;
  +  &lt;session:form name="popmail" method="POST"&gt;
  +    &lt;session:action&gt;
  +      &lt;!-- The action is send to the pipeline redisplaying the portal --&gt;
  +      &lt;session:getxml context="portal" path="/configuration/uri"/&gt;
  +    &lt;/session:action&gt;
  +    &lt;!-- Create the input fields for
                host, username and password --&gt;
  -            &lt;session:content&gt;
  -                     &lt;session:inputxml context="portal" path="/coplet-data/host" 
name="Host" type="text"/&gt;
  -                     &lt;session:inputxml context="portal" path="/coplet-data/user" 
name="User" type="text"/&gt;
  -                     &lt;session:inputxml context="portal" 
path="/coplet-data/password" name="Password" type="password"/&gt;
  -            &lt;/session:content&gt;
  -        &lt;!-- The submit button --&gt;
  -        &lt;input type="submit" value="Customize"/&gt;
  -    &lt;/session:form&gt;
  -&lt;/page&gt;
  -        </source>
  +    &lt;session:content&gt;
  +      &lt;session:inputxml context="portal" path="/coplet-data/host" name="Host" 
type="text"/&gt;
  +      &lt;session:inputxml context="portal" path="/coplet-data/user" name="User" 
type="text"/&gt;
  +      &lt;session:inputxml context="portal" path="/coplet-data/password" 
name="Password" type="password"/&gt;
  +    &lt;/session:content&gt;
  +    &lt;!-- The submit button --&gt;
  +    &lt;input type="submit" value="Customize"/&gt;
  +  &lt;/session:form&gt;
  +&lt;/page&gt;</source>
           <p>The <em>inputxml</em> tags assure that the information
             provided by the user is automatically written into the <em>portal</em> 
context
             at the places provided.</p>
  @@ -1231,19 +1209,22 @@
             the <em>getxml</em> command to retrieve to configuration from the
             <em>portal</em> context:</p>
           <source>&lt;page xmlns:session="http://cocoon.apache.org/session/1.0"&gt;
  -    &lt;!-- Get the configuration information out of the portal context --&gt;
  -    &lt;!-- and feed it into the getmail command --&gt;
  -        &lt;session:getmail&gt;
  -            &lt;session:user&gt; &lt;!-- Set the user --&gt;
  -             &lt;session:getxml path="/coplet-data/user" context="portal"/&gt;
  -         &lt;/session:user&gt;
  -            &lt;session:password&gt; &lt;!-- Set the password --&gt;
  -             &lt;session:getxml path="/coplet-data/password" context="portal"/&gt;
  -         &lt;/session:password&gt;
  -            &lt;session:host&gt; &lt;!-- Seet the host --&gt;
  -             &lt;session:getxml path="/coplet-data/host" context="portal"/&gt;
  -         &lt;/session:host&gt;
  -        &lt;/session:getmail&gt;
  +  &lt;!-- Get the configuration information out of the portal context --&gt;
  +  &lt;!-- and feed it into the getmail command --&gt;
  +  &lt;session:getmail&gt;
  +    &lt;session:user&gt;
  +      &lt;!-- Set the user --&gt;
  +      &lt;session:getxml path="/coplet-data/user" context="portal"/&gt;
  +    &lt;/session:user&gt;
  +    &lt;session:password&gt;
  +      &lt;!-- Set the password --&gt;
  +      &lt;session:getxml path="/coplet-data/password" context="portal"/&gt;
  +    &lt;/session:password&gt;
  +    &lt;session:host&gt;
  +      &lt;!-- Seet the host --&gt;
  +      &lt;session:getxml path="/coplet-data/host" context="portal"/&gt;
  +    &lt;/session:host&gt;
  +  &lt;/session:getmail&gt;
   &lt;/page&gt;</source>
           <p>Each time the coplet configuration changes the user status profile
             is automatically saved.</p>
  @@ -1264,5 +1245,3 @@
     </s1>
   </body>
   </document>
  -
  -
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to