<blush>Oh, right. There it was all along. Sorry </blush>

Cheers,
PS

On 5/21/06, Henri Dupre <[EMAIL PROTECTED]> wrote:

I just had a look at tassel, it doesn't look bad but they don't seem to
provide any cvs or svn repository?
For now I uploaded it on our server
http://www.actualis.com/tapestry/tapestry-email-0.1.0.zip

Henri.


On 5/21/06, Julio C. Rivera <[EMAIL PROTECTED]> wrote:
>
> What about publishing it on Tassel (http://equalitylearning.org/Tassel)
?.
>
> Best regards.
>
> 2006/5/21, Henri Dupre <[EMAIL PROTECTED]>:
> >
> > I finished packaging my email service into a nice jar file... You just
> > drop
> > it in the classpath and then you can inject the email service in any
> page.
> >
> > The API is:
> >
> >   public abstract void sendEmail(Map<EmailField,String> properties,
> String
> > pageName, Object[] parameters, boolean html);
> >
> >   public abstract void sendEmail(Map<EmailField,String> properties,
> IPage
> > page, Object[] parameters, boolean html);
> >   public abstract void sendEmail(Map<EmailField,String> properties,
> String
> > content, boolean html);
> >
> >
> > The page emailed can be external and you can pass parameters to it.
The
> > service doesn't interfere with the current rendering.
> > Here is a small example:
> >
> >   @InjectObject("service:actualis.tapestry.email.EmailEngine")
> >   public abstract EmailEngine getEmailEngine();
> >
> >   public void emailConfig() {
> >     Map<EmailField,String> emailProps = new
> HashMap<EmailField,String>();
> >     emailProps.put(EmailField.SUBJECT,"Votre devis");
> >     emailProps.put(EmailField.FROM, "[EMAIL PROTECTED]");
> >     emailProps.put(EmailField.TO, getEmailClient());
> >     getEmailEngine().sendEmail(emailProps, "EmailConfigurationTxt",
new
> > Object[] { getConfiguration() }, false);
> >   }
> >
> > If anyone is interested I can send my stuff... I wouldn't mind
> > contributing
> > my component to a tapestry component repository but I did not find any
> > information on how to contribute.
> >
> >
> > --
> > Thanks,
> >
> > Henri.
> >
> >
>
>


--
Thanks,

Henri.


Reply via email to