Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 87129 invoked from network); 10 Nov 2005 12:47:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Nov 2005 12:47:06 -0000 Received: (qmail 32980 invoked by uid 500); 10 Nov 2005 12:47:06 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 32825 invoked by uid 500); 10 Nov 2005 12:47:06 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 32813 invoked by uid 99); 10 Nov 2005 12:47:05 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [207.7.158.203] (HELO cocoon.zones.apache.org) (207.7.158.203) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2005 04:47:04 -0800 Message-ID: <19703186.1131626548062.JavaMail.daisy@cocoon.zones.apache.org> Date: Thu, 10 Nov 2005 12:42:28 +0000 (GMT+00:00) From: daisy@cocoon.zones.apache.org To: docs@cocoon.apache.org Subject: [DAISY] Created: Description of the simple-form-instance transformer Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A new document has been created. http://cocoon.zones.apache.org/daisy/legacydocs/769.html Document ID: 769 Branch: main Language: default Name: Description of the simple-form-instance transformer Document Type: Cocoon Document Created: 11/10/05 12:42:18 PM Creator (owner): Helma van der Linden State: publish Parts ===== Content ------- Mime type: text/xml Size: 987 bytes Content:

Description

This transformer sieves an incoming stream of xml and extracts a document fragment from it depending on a given tag and stores the fragment using an OutputModule with a name based an attribute of another enclosing tag. Default configuration fires on <form-instance/> and uses @name of enclosing <form/> tag. Default OutputModule is request-attr. This is usefull in conjunction with the SimpleFormTransformer when setting the InputModule for it to a chain of request-param and request-attr so that the extracted form instance data is used only when no similar request parameter exists.

Info

Name

simple-form-instance

Cacheable

No

Class

org.apache.cocoon.transformation.SimpleFormInstanceExtractionTransformer

Collections =========== The document belongs to the following collections: legacydocs