cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helma van der Linden (JIRA)" <>
Subject [jira] Reopened: (COCOON-845) [PATCH] New ReadDOMTransformer/WriteDOMTransformer available.
Date Tue, 25 Oct 2005 14:03:02 GMT
     [ ]
Helma van der Linden reopened COCOON-845:

reopened just to set the resolution to fixed

> [PATCH] New ReadDOMTransformer/WriteDOMTransformer available.
> -------------------------------------------------------------
>          Key: COCOON-845
>          URL:
>      Project: Cocoon
>         Type: Improvement
>   Components: - Components: Sitemap
>     Versions: 2.0.2
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Andrzej Taramina
>     Assignee: Cocoon Developers Team
>     Priority: Minor
>  Attachments:,
> The existing Read/WriteDOMSessionTransformer was limited to reading/writing to 
> sessions only.  I didn't really like this behaviour, since there are times you 
> only want to store stuff for the duration of a request, and thus not have it get 
> serialized to a persistent store (eg. by Tomcat) if you forget to invalidate the 
> session or delete the DOM object (deletion currently being problematic 
> with Cocoon).
> So I wrote new ReadDOMTransformer and WriteDOMTransformer classes that take an 
> extra parameter specifying whether to read from/write to the session or the 
> request instead.  Default is to write to a session to stay more or less 
> compatible with the older versions.
> Because WriteDOMTransformer parameters were made consistent with the 
> ReadDOMTransformer, it's not a direct drop-in replacement for the older 
> WriteDOMSessionTransformer (it now uses the "attribute-name" parameter instead 
> of the prior "dom-name parameter" which was misnamed,
> IMNSHO).  
> ....Andrzej

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message