You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Bernhard Huber <be...@a1.net> on 2003/01/03 12:10:36 UTC

Re: [IMAP Generator] status webapp

hi, team

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?

regards bernhard


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [IMAP Generator] status webapp

Posted by Bernhard Huber <be...@a1.net>.
hi,

as holiday ends, the Cocoon Mail stuff gets finalized....
Stefano Mazzocchi wrote:
> Bernhard Huber wrote:
> 
>> Now I'm finalizing the stuff, in the next days i'd like to write some 
>> doc, and put it into scratchpad.
Just to be sure:
i'm going to create a new org.apache.cocoon.mail directory
putting the mail releated stuff there.
moreover i'll create an mail directory in the scratchpad webapp
area.
Auxilliary sitemap components of the Webmail application i'm going
to put into
org.apache.cocooon.generation,
org.apache.cocooon.seclection, etc.

that's all releates to the main-trunk, and not for the 2_0_3 branch.

just to be sure that scratchpad is the right are to put everything...
ups, need to add the cocoon apache header to eache java source

> 
> I love it!!!
> 
> IMAP reading and CVS reading/writing were the things that Cocoon was 
> missing. I see very exciting things coming up this year :)
> 
okay, seeing forward to get it done.

I was very surprised how easily a static html version of the webmail 
application could get generated, as more as i use Cocoon, the more
i love it, see
http://members.a1.net/berni_huber/cocoon-webmail/howto-cocoon-webmail.html


As said very often, once you understand the cocoon-way, things get
very easy.

regards bernhard


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [IMAP Generator] status webapp

Posted by Bernhard Huber <be...@a1.net>.
hi,

> 
> IMAP is pretty easy to add, I think my IMAPGenerator was committed to CVS
> into scratchpad, so check it out if you need any examples.  I'm looking
> forward to seeing this stuff in scratchpad soon!
comming soon,
and thx for intial IMAPGenerator stuff

bernhard


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [IMAP Generator] status webapp

Posted by Tony Collen <tc...@neuagency.com>.
On Fri, 3 Jan 2003, Stefano Mazzocchi wrote:

> Bernhard Huber wrote:
> > hi, team
> >
> > some status notes about the MailGenerator.
> >
> > The MailGenerator is dead, long live MailAction!

:( !   My baby!  :)   Oh well, I suppose better things are to come...

&snip;

> > 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.

Geez, you're going to do all my work for me!   Not a bad thing though.
It's looking really good.

> > 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, ....

IMAP is pretty easy to add, I think my IMAPGenerator was committed to CVS
into scratchpad, so check it out if you need any examples.  I'm looking
forward to seeing this stuff in scratchpad soon!

> I love it!!!
>
> IMAP reading and CVS reading/writing were the things that Cocoon was
> missing. I see very exciting things coming up this year :)

Yep yep.  Semi-OT, I finally checked out the third Cocoon book, and it's
looking stellar... I think Amazon has it on sale.. must pick up... so much
to do and learn, so little time.



Tony


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [IMAP Generator] status webapp

Posted by Stefano Mazzocchi <st...@apache.org>.
Bernhard Huber wrote:
> hi, team
> 
> 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?

I love it!!!

IMAP reading and CVS reading/writing were the things that Cocoon was 
missing. I see very exciting things coming up this year :)

-- 
Stefano Mazzocchi                               <st...@apache.org>
--------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org