Actually, one does not exclude the other. Tassel has a large number of
components already. My only gripe with tassel is that there is not direct
link to it from the tapestry homepage, so you have to kind of look for it in
the wiki or google for something like it to find it.

Cheers,
PS

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


Reply via email to