cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: DIFF [C2.0] SendmailAction
Date Fri, 21 Sep 2001 09:24:26 GMT
I looked at the configure() method, and I think the exception
is thrown by the use of the getAttribute() method.
If the attribute "smtphost" is not set in the configuration of the
action, the getAttribute("smtphost") call will throw an exception!
So, the correct call would be:
getAttribute("smtphost", default-value).

I will change the action according to the pattern above.
If you could please test, if this works for you?

Carsten

> -----Ursprüngliche Nachricht-----
> Von: Klaus Bertram [mailto:bertram@n-bis.de]
> Gesendet: Freitag, 21. September 2001 10:46
> An: cocoon-dev@xml.apache.org
> Betreff: RE: DIFF [C2.0] SendmailAction
>
>
> Hi Carsten,
> every time i try to set the default value for smtphost it throws an
> exception
> also when the configuration parameter it not set.
>
> So it seems better to put out the configuration parameter
> it work's fine
>
> at the moment my time is a litle bit busy,
> but i want rewrite the sendmail action with features to send multipart
> mail's
>
> Klaus
>
>
> nbis - Röttgerweg 10 - 51371 Leverkusen
> phone: +49-214-206494-0
> fax:   +49-214-206494-44
> email: bertram@n-bis.de
>
> > -----Original Message-----
> > From: Carsten Ziegeler [mailto:cziegeler@sundn.de]
> > Sent: Friday, September 21, 2001 10:18 AM
> > To: cocoon-dev@xml.apache.org
> > Subject: AW: DIFF [C2.0] SendmailAction
> >
> >
> > Hi Klaus,
> >
> > what's the use of this patch? As far as I can tell it simply
> > comments the configure() method out, correct? Why this?
> >
> > Carsten
> >
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Klaus Bertram [mailto:bertram@n-bis.de]
> > > Gesendet: Donnerstag, 20. September 2001 18:09
> > > An: Cocoon dev
> > > Betreff: DIFF [C2.0] SendmailAction
> > >
> > >
> > > Hi all,
> > >
> > > here is an aditional diff for the SendmailAction aginst Brunch
> > >
> > > Klaus
> > >
> > > nbis - Röttgerweg 10 - 51371 Leverkusen
> > > phone: +49-214-206494-0
> > > fax:   +49-214-206494-44
> > > email: bertram@n-bis.de
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


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


Mime
View raw message