Posted by
Tushar Abhyankar on
URL: http://ofbiz.116.s1.nabble.com/Email-Body-tp143089p143092.html
I am calling the screen from the service "sendMailFromScreen" which has a
parameter bodyScreenUri to which I am passing the path of the screen. I did
include <decorator-section-include name="body"/>, but it didn't work. I am
also passing other parameter bodyText="This is Test mail" which is displayed
in the generated mail, but not the content of salutation.
-----Original Message-----
From: Chris Howe [mailto:
[hidden email]]
Sent: Tuesday, December 19, 2006 2:52 PM
To:
[hidden email]
Subject: Re: Email Body
Also, are you calling your screen from a freemarker
template file using
${screen.render(....)} where that freemarker template
file was in turn called from a screen that was called
via ${screen.render(...)}?
I had reported a bug with nesting
${screen.render(...)} a while back, but unfortunately
haven't been able to find time to dig into it's cause.
--- Chris Howe <
[hidden email]> wrote:
> Do you have a screen with the name "nwsltrDecorator"
> in the same file as this screen definition and does
> nwsltrDecorator have a <decorator-section-include
> name="body"/> tag?
> --- Tushar Abhyankar
> <
[hidden email]>
> wrote:
>
> > Hi All,
> >
> > I am trying to set up content in the
> an
> > email, I am using the
> > screens to setup the email body
> >
> >
> >
> > <label style="salutation" text="Dear
> ${firstName}"
> > but I am not getting the
> > salutation displayed in the generated mail,
> >
> >
> >
> > here is a code snippet
> >
> >
> >
> > <widgets>
> >
> >
> >
> > <decorator-screen
> > name="nwsltrDecorator">
> >
> > <decorator-section
> name="body">
> >
> > <container><label
> > style="salutation" text="Dear
> > ${firsrName}"/></container>
> >
> > </decorator-section>
> >
> > </decorator-screen>
> >
> >
> >
> > </widget>
> >
> >
> >
> > has anyone worked on it before? Could anyone
> > suggest where I am going
> > wrong?
> >
> >
> >
> > Thanks in advance..
> >
> >
> >
> >
>
>