cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beauprez Sven <>
Subject C2: new ReadDOMSessionTransformer
Date Mon, 18 Jun 2001 09:02:18 GMT

This one might be less interesting, but still useful.

Most of the times, when someone has to fill in a form on a website and you
need to keep the information in the session because you have to use it for
the same (eg. when the user wants to fill in some parst of the same form
again) or for other pages (eg. to show a summary of what (s)he filled in),
the information is stored in a HashMap or something similar. When you use
for instance an action to check the input and store it in the session as a
DOM object instead, it is much easier to simply stream the DOM with the
ReadDOMSessionTransformer, than to read the HashMap from the session and to
generate SAX events from it.

Feel free to add it to C2.


Sven Beauprez
Software Architect 
The E-corporation (<> 
Axxes 51-003
Guldensporenpark 10 
B-9820 Merelbeke

Tel +32-(0)9-272.22.00 
Fax +32-(0)9-272.22.11 

View raw message