Bernhard Huber wrote:
hi, teamI love it!!!
some status notes about the MailGenerator.
The MailGenerator is dead, long live MailAction!
I moved over to a MailAction instead of a MailGenerator.
Some explanation to this move:
* MailAction puts javamail objects as XMLizable objects
into the request attribute
* Generators xsp page can pick these XMLizable objects
and generate XML very easily,
eg.: <xsp-request:get-attribute name="messages" as="object"/>
* MailAction understands a series of commands, which triggers
what javamail object should get generated,
today following commands are supported:
cat-folder : put folder object into request attribute
list-folder-messages : put messages of a folder into request attribute
search-folder : use javax.mail.search for searching for messages in folder
I moved to MailAction, as it is still to access the original javamail objects, folder, message, etc, and to decide later in the xsp for example what kind of object should get marshalled.
Now I'm finalizing the stuff, in the next days i'd like to write some doc, and put it into scratchpad.
to-do:
* accessing some strange mail-body
* generating and displaying a list of attachments
* brush of example Mail webapp.
some quick snapshot of the mail webapp:
http://members.a1.net/berni_huber/cocoon-webmail-1.gif, and
http://members.a1.net/berni_huber/cocoon-webmail-2.gif.
ah by the way as i have not imap access all the time i wrote an mbox provider for accessing mbox files, downloaded the cocoon-user mboxes, and do testing with these mboxes, but this needs some work as writing
an mbox to jisp writer, ....
any comments?
IMAP reading and CVS reading/writing were the things that Cocoon was missing. I see very exciting things coming up this year :)
--
Stefano Mazzocchi <[EMAIL PROTECTED]>
--------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]