Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 73590 invoked by uid 500); 7 Jan 2003 23:29:23 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 73581 invoked by uid 500); 7 Jan 2003 23:29:23 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 7 Jan 2003 23:29:21 -0000 Message-ID: <20030107232921.94060.qmail@icarus.apache.org> From: huber@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets filterlinks.xsl mail-envelopes2document.xsl mail-folder2document.xsl mail-message2document.xsl mail-unknown2document.xsl mail2document.xsl site2html.xsl site2wml.xsl X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N huber 2003/01/07 15:29:20 Added: src/scratchpad/webapp/samples/mail sitemap.xmap src/scratchpad/webapp/samples/mail/docs/bottom-col-1 index.xml index.xml~ src/scratchpad/webapp/samples/mail/docs/head-col-1 index.xml index.xsp mail.xsp src/scratchpad/webapp/samples/mail/docs/mid-col-1 index.xml index.xsp login.xml mail.xml mail.xsp src/scratchpad/webapp/samples/mail/docs/mid-col-2 about.xml asciiart-generator.xml changes.xml extendedresourceexists-action.xml faq.xml howto-cocoon-webmail.xml index.xml linktranslatormap-action.xml login.xml logout.xsp mail-action.xml mail.xml mail.xsp plans.xml regexpuridefaults-matcher.xml snapshot.xml src/scratchpad/webapp/samples/mail/docs/mid-col-3 index.xml index.xsp logout.xml mail.xml src/scratchpad/webapp/samples/mail/docs/top-col-1 index.xml src/scratchpad/webapp/samples/mail/pagesheets htmlpages.xml mailhtmlpages.xml src/scratchpad/webapp/samples/mail/resources/asciiart directory-hierarchy.txt layout.txt mailaction-dataflow.txt serving-document-page-1.txt serving-document-page.txt serving-dynamic-page-1.txt serving-dynamic-page.txt uri-space.txt src/scratchpad/webapp/samples/mail/resources/images built-with-cocoon.gif cocoon-webmail-1.jpg cocoon-webmail-2.jpg cocoon-webmail-3.jpg favicon.ico powered-by-cocoon.png src/scratchpad/webapp/samples/mail/resources/styles main.css src/scratchpad/webapp/samples/mail/stylesheets filterlinks.xsl mail-envelopes2document.xsl mail-folder2document.xsl mail-message2document.xsl mail-unknown2document.xsl mail2document.xsl site2html.xsl site2wml.xsl Log: intial version of Cocoon WebMail application Revision Changes Path 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/sitemap.xmap Index: sitemap.xmap =================================================================== false false false iso8859-1 -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml iso8859-1 no yes cmd cmd 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/bottom-col-1/index.xml Index: index.xml ===================================================================
Footer
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/bottom-col-1/index.xml~ Index: index.xml~ =================================================================== 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/head-col-1/index.xml Index: index.xml ===================================================================
Top Index
Here you will find a list of available commands, as soon as you login.
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/head-col-1/index.xsp Index: index.xsp ===================================================================
Top Index
Here you will find a list of available commands, as soon as you login.
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/head-col-1/mail.xsp Index: mail.xsp ===================================================================
Index
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-1/index.xml Index: index.xml ===================================================================
Index

Start using Cocoon Webmail now! It's easy, and simple. Don't hesitate to use it.
Login

WebMail Docs

  • Howto Cocoon Webmail
  • Mail Action Userdoc

More Sitemap Docs

  • AsciiArt Generator Userdoc
  • Extended Resource Exists Action Userdoc
  • Link Translator Map Action Userdoc

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-1/index.xsp Index: index.xsp ===================================================================
Index

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-1/login.xml Index: login.xml ===================================================================
Login

As your login succeeds...

  • See a list of available folders
  • See the messages of a folder
  • See the content of a message
  • Search for messages
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-1/mail.xml Index: mail.xml ===================================================================
Index

FolderList a list of available folders, starting from root or relative to current folder

Folder some folder infos....

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-1/mail.xsp Index: mail.xsp ===================================================================
Status
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/about.xml Index: about.xml ===================================================================
About

This site is for demonstrating cool features of Cocoon. Especially demonstrating JavaMail access using Cocoon.

Thanks to

  • Apache Community for support.
  • A List Apart for their cool webdesign tips.
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/asciiart-generator.xml Index: asciiart-generator.xml ===================================================================
AsciiArtSVGGenerator in Cocoon 0.9 Technical document This document describes the AsciiArtSVGGenerator of Cocoon.
NAMEasciiart-svg
WHATThe AsciiArtSVGGenerator component is used to serve ascii art text as SVGserve data.
TYPEGenerator, Sitemap Component
BLOCKBlock-Mail/Scratchpad
CLASSorg.apache.cocoon.generation.asciiart.AsciiArtSVGGenerator
SINCECocoon 2.1
CACHEABLEyes

The AsciiArtSVGGenerator reads a plain ascii text document and generates SVG/XML SAX events.

The AsciiArtSVGGenerator can be used to serve figural information in a quick, and simple way.

The following snippet represents an ascii art which can be served by AsciiArtSVGGenerator

Storing this as image/asciiart/mail.txt, and using the matching snippet below, the mail ascii art can get embedded in your document as

Talking about mail ....

]]>

The snippet below matches URI of the format image/asciiart/*.png, and serves them from ascii art files from the directory resources/asciiart/*.txt.

]]>

The snippet below declares the AsciiArtGenerator in the sitmap components section.

... ... ]]>

The AsciiArtGenerator has no configurational options.

Setting up the AsciiArtGenerator is simply specifying the plain ascii text source.

Moreover following sitemap parameters are accepted

ParameternameDefaultComment
line-attribute Style of generated SVG lines
text-attribute Style of generated SVG text
x-grid10 X Grid size
y-grid12 Y Grid size

The AsciiArtGenerator has no side effects on the objectModel, or other sitemap parameters.

The AsciiArtGenerator is a quick shot, and does not handle all characters visually consistently.

01-05-02: initial creation

Copyright (C) 1999-2002 The Apache Software Foundation. All rights reserved.

Read more information about SVG, and about SVG Serializer family.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/changes.xml Index: changes.xml ===================================================================
Changes
  • 28th December 2002, initial version start.
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/extendedresourceexists-action.xml Index: extendedresourceexists-action.xml ===================================================================
ExtendedResourceExistsAction in Cocoon 0.9 Technical document This document describes the ExtendedResourceExistsAction of Cocoon.
NAMEextended-resource-exists
WHATThe ExtendedResourceExistsAction component is used to detect existance of a resource.
TYPEAction, Sitemap Component
BLOCKBlock-Mail/Scratchpad
CLASSorg.apache.cocoon.acting.ExtendedResourceExistsAction
SINCECocoon 2.1
CACHEABLEnot applicable

The ExtendedResourceExistsAction checks the existance of a resource. If the resource exists a sitemap parameter to true, otherwise to false.

The ExtendedResourceExistsAction is used to control the sitemap processing depending on the existance of a resource.

A use case of ExtendedResourceExistsAction is serving default pages, in case of non-existance of a page.

The snippet below uses ExtendedResourceExistsAction serving the document docs/index.html if the requested document does not exist.

> ... ]]>

The snippet below presents the basic usage of ExtendedResourceExistsAction. Note that ExtendedResourceExistsAction creates an objectMap having exactly on entry named resource-exists. This entry may have value true, or false.

Thus accessing the wildcard result use {../1}, instead of the simple {1}.

... ]]>

The snippet below confiures the ExtendedResourceExistsAction component in the sitemap's components section.

... ... ]]>

The ExtendedResourceExistsAction has no configurational options.

Setting up the ExtendedResourceExistsAction needs only specifying the resource by setting the src attribute of the <map:act> element. This way ExtendedResourceExistsAction knows what resource to test for existance.

The ExtendedResourceExistsAction accepts optionally a the sitemap parameter url, overriding the value presented by the src attribute.

The ExtendedResourceExistsAction creates alway an objectMap table, and always sets an resource-exists entry in this table.

The entry name resource-exists of the objectMap table entry is fixed, it is not configurable.

The ExtendedResourceExistsAction checks the existance of a resource by resolving the name of the resource, and trying to get an InputStream of this resource, accessing remote resources may take some time before it is obvious that the resource is, or is not available.

01-05-02: initial creation

Copyright (C) 1999-2002 The Apache Software Foundation. All rights reserved.

Cocoon has already an ResourceExistsAction. This action creates an objectMap, only in case of resource existance.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/faq.xml Index: faq.xml ===================================================================
FAQ

Frequently asked questions

Neither questions, nor answers available, yet.

Your question
Your answer
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/howto-cocoon-webmail.xml Index: howto-cocoon-webmail.xml ===================================================================
How to use Cocoon WebMail Site 0.9 Technical document This document describes Cocoon WebMail.

This document describes the Cocoon WebMail Site. The overview section describes the URI space, layout and resource mapping used by Cocoon WebMail Site.

The next sections describes the Cocoon sitemap components used in the Cocoon WebMail Site.

The target audience of this document are sitemap designer, and developers interested in setting up a Cocoon WebMail Site.

The URI space has following structure, root denotes the root of this URI space.

As you may figure out *.html serves static document pages, mail/mail.html, and mail/logout.html serves dynamic Cocoon Webmail pages. All other resources are static, like images, cascaded stylesheet, and icons. The asciiart/*.jpg are jpg resource created from simple ascii art text.

The document pages all have the format *.html, eg. index.html, or howto-cocoon-webmail.html. The dynamic Cocoon Webmail pages all have the format mail/*.html, eg. mail/maill.html, or mail/logout.html.

The visible layout of Cocoon Webmail Site is a simple multi column layout.

The sections contain following piece of information

  • The header section displays the Cocoon Webmail banner; the top section is empty for document pages, for dynamic pages it contains a list of available commands.
  • The col1 section presents auxilliary information.
  • The col2 section contains for document pages the document content; for dynamic pages it presents the content of an executed command, like a list of mail folders, a list of messages, the content of a message.
  • The col3 section presents additional links.
  • Finally the bottom section displays the Cocoon Webmail footer.

For the sake of flexibilty a page requested by an URI is aggregated. The aggregation parts are located in the resource section directories.

The column layout is realized by using positioning features of CSS. Each aggregation part is wrapped by an <div> which has CSS positional settings for placing it some concrete page position.

The Cocoon Webmail Site uses following directory structure on the filesystem:

As you can figure out each layout section is mapped to a directory. Each of these directories contains the documents of one section.

Thus for example the request URI of this page is howto-cocoon-webmail.html. The mid-col-2 section of this page expects an xml document in the filesystem as docs/mid-col-2/howto-cocoon-webmail.xml.

By design dynamic pages of the Cocoon Webmail application are requested by an URI of the format mail/*.html, the resource mapping of these pages maps to the same directories as the static pages. Thus mail/mail.html maps for the section mid-col-2 to docs/mid-col-2/mail.xsp.

Beside the usage of the sitemap MailAction there are several sitemap components, and sitemap constructs used in sitemap of the Cocoon Webmail.

The following sections detail most important Cocoon's sitemap components of Cocoon WebMail. All of these components are listed in the sitemap componts section.

  • resource-exists - Checks existance of a resource
  • link-translator - Defines link rewriting patterns
  • mail - action of the Cocoon Webmail application, executes commands, manages http session, and javamail session.
  • file - generates XML from an XML file
  • serverpages - generates XML from an XSP file
  • asciiart-svg - generates SVG from a TXT file
  • wildcard - matches simple wildcard of the format *, and **
  • regexp-default - extension of regexp matcher for setting default values. It is used to for matching both paginated, and non-paginted URI request. Setting the default paginator page to 1.
  • resource - simple resource reader for serving images, and CSS files
  • request-attribute - selects processing depending on the existance, and content of a request attribute, selects the suitable XSLT stylesheet for javamail object to document page transformation.
  • xslt - XSLT transformer for transforming aggregated site document to html, transforming javamail documents to a document.
  • paginator - Paginator transformer for splitting up long pages, separating document pages by pagesheets/htmlpages.xml, and separating dynamic pages by pagesheets/mailhtmlpages.xml,
  • content - defines a view requesting the 'pure' content of a page.
  • links - defines a view for requesting all outbounding links of a page.
  • show-page - aggregates a requested URI, triggering the generation of its parts. The sections making up the content of a page are invoked from here.
  • load-page - Decides what page file should get loaded, due to the existing of a resource in the filesystem, serving default pages in case of non-existance of a requested resource document.
  • show-page-xsp - Decides what page file should get loaded, due to the existing of a resource in the filesystem, serving default pages in case of non-existance of a requested resource document. It generates from XSP instead of XML, in contrast to load-page.

Each requested document URI uses following sitemap data flow:

Each aggregate part follows in principal following sitemap data flow:

Each requested dynamic URI uses following sitemap data flow:

Each aggregate part follows in principal following sitemap data flow:

As MailAction access a lot of parameters the following diagram gives an overview of all parameters involved for processing a request.

As the basic structure of Cocoon WebMail Site has been explained, setting up, and maintaing a Cocoon WebMail site - reusing ideas, sitemap snippets, and Cocoon's sitemap components - shall be easy.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/index.xml Index: index.xml ===================================================================
CocoonMail Index

This site demonstrates using Cocoon as Webmail Engine. As it is a demo site you can use Cocoon Webmail. Moreover some documentation about:

  • installing,
  • configuring,
  • customizing, and
  • technical background

is available, too.

Some quick installation notes:

  • Find an IMAP server access.
  • Configure the sitemap.xmap, by entering the IMAP server configuration in the format imap://''mail-userid'':''mail-passwd''@imap-server.foo.bar/. Replacing imap-server.foo.bar by your imap server.
  • Try to login.

Send your feedback to Cocoon.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/linktranslatormap-action.xml Index: linktranslatormap-action.xml ===================================================================
LinkTranslatorMapAction in Cocoon 0.9 Technical document This document describes the LinkTranslatorMapAction of Cocoon.
NAMElink-translator-map
WHATThe LinkTranslatorMapAction component is used setup a simple link rewriting.
TYPEAction, Sitemap Component
BLOCKBlock-Mail/Scratchpad
CLASSorg.apache.cocoon.acting.LinkTranslatorMapAction
SINCECocoon 2.1
CACHEABLEnot applicable

The LinkTranslatorMapAction sets up a simple link rewriting mapping.

Keeping outbounding links independing from its publishing URI is a simple usage scenario of LinkTranslatorMapAction.

]]>

... ... ]]>

Explain the sitemap action configuration, options when declaring template action

Explain the sitemap action setup, ie options when using template action

Describe limitation, bugs of LinkTranslatorMapAction

01-05-02: initial creation

Copyright (C) 1999-2002 The Apache Software Foundation. All rights reserved.

Links to related components pages.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/login.xml Index: login.xml ===================================================================
CocoonMail Login

A simple site for Using Cocoon as WebMail Engine.

Enter your login and password for your IMAP access...

Userid
Password

You may want to check your sitemap, again?

Be sure that the IMAP server is configured properly in your sitemap.xmap.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/logout.xsp Index: logout.xsp ===================================================================
CocoonMail Logout

Your Cocoon Webmail Session has been destroyed.

If you want to continue, using CocoonMail login, again.

You can read more about CocoonMail here.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/mail-action.xml Index: mail-action.xml ===================================================================
MailAction in Cocoon 0.9 Technical document This document describes the MailAcion of Cocoon.
NAMEmail
WHATThe MailAction component is used for creating javamail objects, and putting them into the request attribute map.
TYPEAction, Sitemap Component
BLOCKScratchpad/Block-Mail
CLASSorg.apache.cocoon.mail.MailAction
SINCECocoon 2.1
CACHEABLEnot applicable

The MailAction is the central for triggering the creation of javamail objects. Javamail objects as they are created are put into the request attribute map.

Moreover MailAction maintains an http-session, and putting into the http-session the mail-context of a mail session.

Use the MailAction in case of accessing information accessible via IMAP, or more general accessible via an registed javamail provider.

Setting up the MailAction requires configuring the mail session. The parameter store-urlname identifies the store which should be used. The snippet below spefies using the protocol imap, and using the imap server host imap-server-host-name.
Moreover the request parameters mail-userid, and mail-passwd replaces the placeholders ''mail-userid'', and ''mail-passwd''

Finally as the javamail Session class accepts properties, for configuration purpose, the snippet below switches off the session debugging explicitly. Parameter names having prefix javax.mail.Session.props: are put into the javamail session properties map, stripping off the prefix first..

]]>

The MailAction has no specific configuration possibilities.

... ]]>

The MailAction has no specific configuration possibilities.

Setting up the MailAction specifies the javamail Session to use, and principal javamail Store to use.

As noted above MailAction puts XMLizable javamail objects into the request attribute map. The following table lists the request attribute names, set by MailAction.

Request Attribues Set By MailAction
Request Attribute NameComment
folderA single folder
foldersMultiple folders
messageA single message
messagesMultiple messages
mail-current-working-folderThe current working folder name
mail-current-working-commandThe command processded by MailAction

Each command generates zero, one, or more javamail objects, which are wrapped to become XMLizable, and put into the request attribute map.

The MailAction supports following commands

List Of MailAction commands
CommandClass
cat-folderMailCommandManager.MailFolderCatCommand
refresh-folderMailCommandManager.MailRefreshFolderCommand
list-folderMailCommandManager.MailListFolderCommand
list-folder-messagesMailCommandManager.MailListMessagesCommand
search-folder-messagesMailCommandManager.MailSearchMessagesCommand
cat-message-by-idMailCommandManager.MailCatMessageByIdCommand
cat-message-by-uidMailCommandManager.MailCatMessageByUIDCommand
cat-attachment-of-message-by-idMailCommandManager.MailCatAttachmentMessageByIdCommand

The following sections describe each of the commands above.

This command cats information about a folder

MailFolderCatCommand parameters
ParameternameModeComment
folderoptionalSpeficies the foldername

This command closes, and opens a folder, as a side effects new messages of a folder are read.

MailRefreshFolderCommand parameters
ParameternameModeComment
folderoptionalSpeficies the foldername

This command list all subfolders of a folder.

MailListFolderCommand parameters
ParameternameModeComment
folderoptionalSpeficies the foldername
folder-patternoptionalSpeficies the folder-pattern to use, see javamail documentation for allowed wildcards, by default the folder-pattern '%' is used.

This command lists all messages of a folder. This command does not requests the mail content, only the mail header information is prefetched.

MailListMessagesCommand parameters
ParameternameModeComment
folderoptionalSpeficies the foldername

This command searches for messages. It uses the javamail SearchTerm for searching, and it searches only in Subject, and From fields of each message. It uses SubjectTerm, and FromStringTerm for searching. See the javamail documentation for SearchTerm details.

MailSearchMessagesCommand parameters
ParameternameModeComment
folderoptionalSpeficies the foldername
searchoptionalSpeficies the search string, by default it has the value of an empty string, matching all messages.

This command cats information about a message. The message is specified by it message id. This command requests the content of a message.

MailCatMessageByIdCommand parameters
ParameternameModeComment
folderoptionalSpeficies the foldername
idmandatorySpeficies the msgid integer value

This command cats information about a message. The message is specified by it message id. This command requests the content of a message.

MailCatMessageByUIDCommand parameters
ParameternameModeComment
folderoptionalSpeficies the foldername
uidmandatorySpeficies the uid of a message

This command cats an attachment of a mail.

MailCatMessageByIdCommand parameters
ParameternameModeComment
folderoptionalSpeficies the foldername
idmandatorySpeficies the msgid integer value
part-idmandatorySpeficies the id of the requested mail part.

As MailAction puts XMLizable javamail objects like javax.mail.Folder, javax.mail.Message into the request attribute map, the following sections describe the xml document structure of these objects

The MailAction is still work in progress. The http-session handling, and the javamail session handling is not stable under every cirumstances.

01-04-03: initial creation

Copyright (C) 1999-2002 The Apache Software Foundation. All rights reserved.

As MailAction relies on the javamail package, read more about javamail.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/mail.xml Index: mail.xml ===================================================================
CocoonMail Login

Main page login successful, display folders, messages here...

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/mail.xsp Index: mail.xsp =================================================================== 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/plans.xml Index: plans.xml ===================================================================
Plans
  • no plans,yet
  • no realizer plans, yet
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/regexpuridefaults-matcher.xml Index: regexpuridefaults-matcher.xml ===================================================================
RegexpURIDefaultsMatcher in Cocoon 0.9 Technical document This document describes the RegexpURIDefaultsMatcher of Cocoon.
NAMEtemplate
WHATThe RegexpURIDefaultsMatcher component is used to serve data in a sitemap pipeline.
TYPEMatcher, Sitemap Component
BLOCKCore/Block-Name/Scratchpad
CLASSorg.apache.cocoon.matching.RegexpURIDefaultsMatcher
SINCECocoon X.Y
CACHEABLEnot applicable

A general description of RegexpURIDefaultsMatcher

A usage scenario of RegexpURIDefaultsMatcher

... ]]>

... ... ]]>

Explain the sitemap matcher configuration, options when declaring template matcher

Explain the sitemap matcher setup, ie options when using template matcher

MM-DD-YY: initial creation

Copyright (C) 1999-2002 The Apache Software Foundation. All rights reserved.

A general documentation about matchers is available at Matchers and Selectors.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-2/snapshot.xml Index: snapshot.xml ===================================================================
Snapshot of Cocoon Webmail

You might want to see some nice pictures of Cocoon Webmail before installing, and configuring this application.

Cocoon Webmail presents a list of available folders; select a folder to list the messages, or list subfolders.

Cocoon Webmail presents a list of messages holded by a folder; select a message #id in order to show the content of a mail.

Cocoon Webmail shows the content of a mail.

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-3/index.xml Index: index.xml ===================================================================
Index

Cocoon WebMail

  • Login
  • Index

More...

  • Snapshots
  • Changes
  • Plans
  • FAQ

Links

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-3/index.xsp Index: index.xsp ===================================================================
Index

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-3/logout.xml Index: logout.xml ===================================================================
Index

Articles

  • Index

More

  • Changes
  • Plans
  • FAQ

Links

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/mid-col-3/mail.xml Index: mail.xml ===================================================================
Index

Articles

  • Index

More

  • Changes
  • Plans
  • FAQ

Links

1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/docs/top-col-1/index.xml Index: index.xml ===================================================================
Index
Cocoon WebMail Client Application Powered by Cocoon
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/pagesheets/htmlpages.xml Index: htmlpages.xml =================================================================== 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/pagesheets/mailhtmlpages.xml Index: mailhtmlpages.xml =================================================================== 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/asciiart/directory-hierarchy.txt Index: directory-hierarchy.txt =================================================================== contextroot | +---docs | +---top_col_1 | +---mid_col_1 | +---mid_col_2 | +---mid_col_3 | +---mid_col_4 | \---bottom_col_1 | +---resources | |---styles | |---asciiart | \---images | +---stylesheets | +---pagesheets 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/asciiart/layout.txt Index: layout.txt =================================================================== +----------------------------------------+ | top_col_1 | +----------------------------------------+ | head_col_1 | +-----------+--------------+-------------+ | | | | | mid_col_1 | mid_col_2 | mid_col_3 | | | | | | +--------------+ | | | bottom_col_1 | | +-----------+--------------+-------------+ 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/asciiart/mailaction-dataflow.txt Index: mailaction-dataflow.txt =================================================================== request_parameter | +---cmd +---folder +---uid +---search +---... | +---http_session | | | +---mail_context | | | +---folder:{folder_name} | +---param:{request_parameter} | +---mail_session | +---mail_store | ++-----------+ | MailAction +----sitemap_parameters ++-----------+ | +---request_attribute | | | +---folder | +---folders | +---message | +---messages | +---mail_current_working_folder | +---mail_current_working_command | ++-----------+ | Generator | ++-----------+ | 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/asciiart/serving-document-page-1.txt Index: serving-document-page-1.txt =================================================================== request_part_page_{page}_top_col_1 | +-+------------------+ | resource_exists_in | | docs_top_col_1 | +-+------------------+ | | +------------------+ +---+load_page_resource| ++-----------------+ | +--select | +--generate_page | | | \--generate_default_page +-- serialze_xml +----+ | response_part_page_{page}_top_col_1 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/asciiart/serving-document-page.txt Index: serving-document-page.txt =================================================================== request_html | | +--------------------+ +---+ show_page_resource | +-+------------------+ | +--aggregate | +--part:page_{page}_top_col_1 | +--part:page_{page}_head_col_1 | +--part:page_{page}_mid_col_1 | +--part:page_{page}_mid_col_2 | +--part:page_{page}_mid_col_3 | \--part:page_{page}_bottom_col_1 +-----+ | +-+------------------+ | transform_site2html| +-+------------------+ | +-+------------------+ | serialize_html | +-+------------------+ | response_html 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/asciiart/serving-dynamic-page-1.txt Index: serving-dynamic-page-1.txt =================================================================== request_part_page_{page}_top_col_1 | +-+-----------------+ | resource_exists | | in_docs_top_col_1 | +-+-----------------+ | | +------------------+ +---+load_page_resource| ++-----------------+ | +--select_parameter | | | +--generate_XSP_page | +--generate_default_page +--serialze_xml +----+ | response_part_page_{page}_top_col_1 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/asciiart/serving-dynamic-page.txt Index: serving-dynamic-page.txt =================================================================== request_html | +-+-----------------+ | invoke_MailAction | +-+-----------------+ | | +--------------------+ +---+ show_page_resource | +-+------------------+ | +--aggregate | | | +--part:page_{page}_top_col_1 | +--part:page_{page}_head_col_1 | +--part:page_{page}_mid_col_1 | +--part:page_{page}_mid_col_2 | +--part:page_{page}_mid_col_3 | +--part:page_{page}_bottom_col_1 +-----+ | +-+------------------+ | transform_site2html| +-+------------------+ | +-+------------------+ | serialize_html | +-+------------------+ | response_html 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/asciiart/uri-space.txt Index: uri-space.txt =================================================================== root | +---*.html | +---mail | + | +---mail.html | \---logout.html | +---*.css | +---*.gif;*.jpg;*.png | +---favicon.ico | +---asciiart + \----*.jpg 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/images/built-with-cocoon.gif <> 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/images/cocoon-webmail-1.jpg <> 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/images/cocoon-webmail-2.jpg <> 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/images/cocoon-webmail-3.jpg <> 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/images/favicon.ico <> 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/images/powered-by-cocoon.png <> 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/resources/styles/main.css Index: main.css =================================================================== body { font-family: Helvetica, Arial, sans-serif; font-size: 12px; } /* big header font */ .header { font-size: 240%; font-weight: bold; } /* small footer font */ .footer { font-size: 75%; } .list { border-top: 1px dotted #999999; font-size: 80%; padding: 3px; margin: 3px auto; } table { font-size: 100%; border-collapse: collapse; border: thin solid #887788; margin: auto; } table caption { margin:auto; color: #887788; } table td { border: thin solid #887788; } /* source like blocks use a light background color */ pre { padding: 2px; background-color: #FFEEFF; font-size: 90%; } /* mid-col-1, and mid-col-3 bullet list */ #mid-col-1 ul { margin: 1px; padding: 1px; list-style: inside; } /* redsquare bullet */ #mid-col-1 ul li.r { list-style-type:square; color: #FF0000; } /* green square bullet */ #mid-col-1 ul li.g { list-style-type:square; color: #00FF00; } /* blue square bullet */ #mid-col-1 ul li.b { list-style-type:square; color: #0000FF; } #mid-col-3 ul { margin: 1px; padding: 1px; list-style: inside; } /* redsquare bullet */ #mid-col-3 ul li.r { list-style-type:square; color: #FF0000; } /* green square bullet */ #mid-col-3 ul li.g { list-style-type:square; color: #00FF00; } /* blue square bullet */ #mid-col-3 ul li.b { list-style-type:square; color: #0000FF; } /* special header formatting for mid-col-2 section */ h1 { color: #887788; } /* special header formatting for mid-col-2 section */ h2 { color: #887788; } /* special header formatting for mid-col-2 section */ h3 { color: #887788; } /* make dt text in mid-col-2 section bold, and use same color as defined for the hX */ #mid-col-2 dt { color: #887788; font-weight: bold; } ul.inline { margin: 2px; padding: 2px; } li.inline { display: inline; padding-left: 3px; padding-right: 7px; border-right: 1px dotted #066; margin: 1px; } li.last { display: inline; padding-left: 3px; padding-right: 3px; border-right: 0px; } div.row { clear: both; padding: 5px; } div.spacer { clear: both; } div.row span.label { float: left; width: 10%; text-align: right; } div.row span.formw { float: right; width: 86%; text-align: left; } div.row span.left { float: left; text-align: left; width: 48%; } div.row span.right { float: right; text-align: right; padding-right: 2px; width: 48%; } #top-section { position:relative; left:0; top:0; } #head-section { position:relative; left:0; top:0; } #mid-section { position:relative; left:0; top:0; } #bottom-section { position:relative; left:0; top:0; } #top-col-1 { position:relative; background-color: #EEDDEE; color: #776677; padding: 5px; margin: 0px; } #head-col-1 { background-color: lightgrey; position:relative; padding-left:5px; margin: 0px; } #mid-col-1 { position:absolute; top:0; left:0; width:20%; } #mid-col-2 { position:relative; top:0; left:20%; width:68%; border-left: 1px dotted #999999; border-right: 1px dotted #999999; padding: 3px } #mid-col-3 { position:absolute; top:0; left:90%; width:10%; } #bottom-col-1 { position:relative; padding-left:10%; padding-right:10px; } 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets/filterlinks.xsl Index: filterlinks.xsl =================================================================== 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets/mail-envelopes2document.xsl Index: mail-envelopes2document.xsl ===================================================================
Folder
# From Subject Sent Size
mail.html?cmd=cat-message-by-id&id= <>
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets/mail-folder2document.xsl Index: mail-folder2document.xsl ===================================================================
Folder
Folder -
Total/New/Deleted/Unread Messages / / /
1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets/mail-message2document.xsl Index: mail-message2document.xsl ===================================================================
Message
... Message # -
# From Subject Sent
[Prev] [Next]
<>
  • Part: , , , ,
  • 1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets/mail-unknown2document.xsl Index: mail-unknown2document.xsl ===================================================================
    Unknown

    Not content available

    1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets/mail2document.xsl Index: mail2document.xsl ===================================================================
    Name
    Total Messages
    New Messages
    Deleted Messages
    Unread Message
    • Name
    • Fullname
    • URLname
    1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets/site2html.xsl Index: site2html.xsl =================================================================== <xsl:value-of select="/site/mid-col-2/header/title"/>


    {@alt} {@alt}

    {@alt} {@alt}
    [ ] [ ] [ ] []
    /
    1.1 xml-cocoon2/src/scratchpad/webapp/samples/mail/stylesheets/site2wml.xsl Index: site2wml.xsl ===================================================================

    Links

    »

    ...


    +

    ...

    : [Back]   [Next]
    ---------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-cvs-help@xml.apache.org