cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: The Portal Basket
Date Tue, 16 Aug 2005 11:27:12 GMT
A document has been updated:

Document ID: 600
Branch: main
Language: default
Name: The Portal Basket (unchanged)
Document Type: Document (unchanged)
Updated on: 8/16/05 11:27:03 AM
Updated by: Helma

A new version has been created, state: publish

This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 4713 bytes (previous version: 4716 bytes)
Content diff:
(8 equal lines skipped)
    <p>The sample portal that comes with the Cocoon distribution contains a working
    sample for the basket. So, you can test it out of the box and skip the next
--- chapter.</p>
+++ section.</p>
    <p>If you don't need the basket functionality have a look at the end of the next
    chapter to see what you can remove from the portal.</p>
--- <h1>Generel Configuration</h1>
+++ <h1>General Configuration</h1>
    <p>Each coplet that is able to be added to the basket, gets a button "add" in
    the window title. For rendering this title, you need to add the <em>basket</em>
    renderer to the render that is rendering your window. Add the following aspect
    to your <em>window</em> renderer:</p>
--- <pre>
--- &lt;aspect type="basket"/&gt;
+++ <pre>&lt;aspect type="basket"/&gt;
    <p>The basket uses a manager component that manages the persistence of the
    baskets. You have to add this component to your cocoon.xconf and configure the
    directory that is used to store the baskets accordingly:</p>
--- <pre>
---       &lt;component class="org.apache.cocoon.portal.coplets.basket.BasketManager"

+++ <pre>      &lt;component class="org.apache.cocoon.portal.coplets.basket.BasketManager"

            &lt;parameter name="directory" value="D:/baskets"/&gt;
(14 equal lines skipped)
    accordingly. Add one of the following two attributes to the coplet to either
    allow to add the coplet or the content of the coplet to a basket:</p>
--- <pre>
--- &lt;attribute&gt;
+++ <pre>&lt;attribute&gt;
      &lt;value xsi:type="java:java.lang.Boolean" xmlns:xsi=""&gt;true&lt;/value&gt;
(13 equal lines skipped)
    transformer listens for the <em>add-item</em> element and transform this into
    html link:</p>
--- <pre>
--- &lt;p xmlns:basket=""&gt;
+++ <pre>&lt;p xmlns:basket=""&gt;
    &lt;basket:add-item href=""&gt;Add&lt;/basket:add-item&gt;
(9 equal lines skipped)
    You can use this generator in your pipeline to render the content of the current
    user basket.</p>
--- <p>This generator has also a management functionality buildin. By adding the
+++ <p>This generator has also a management functionality built in. By adding the
    parameter <em>admin-mode</em> with the value <em>true</em> to
the generator, the
    generator streams out the admin functions as XML. These functions allow to
    delete a basket for a user and to see all user baskets.</p>
(26 equal lines skipped)

no changes

no changes

Custom Fields
no changes

Removed from collection: legacydocs
Added to collection: documentation

View raw message