DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6611>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6611

[PATCH] Castor Transformer

           Summary: [PATCH] Castor Transformer
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Marshals a object from the Session or the 
Sitemap into a series of SAX events 
TheCastortransformer need to be configured with a default 
mapping. This mapping is used as long as no other mapping 
s spezfied as the element 

  <map:transformer name="CastorTransformer" 
src="org.apache.cocoontransformation.CastorTransformer">
    <mapping>castor/xmapping.xml</mapping>
  </map:transformer>

A sample for the use: 
   <root xmlns:castor="http://castor.exolab.org/cocoontransfomer";>
        <castor:InsertBean source="session" key="invoice"/>
        <castor:InsertBean source="sitemap" key="product" 
mapping="castor/specicalmapping.xml"/>
  </root>
 
The CastorTransfomer support only one Element castor:InsertBean. 
This element is replaced with the marshalled object. 
The Object will take from either, the user session (source="session") 
or the sitmap (source="sitemap"). The object is located in the map with 
the attribute key. The Attribut mapping specifys the mapping to be used. 
If not given the default mapping is used

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to