take a look at the ProductStoreEmailSetting
data in the
application/ecommerce/data/demoproducts.xml
for examples of screens being used for this service.
if you look at the service
sendMailFromScreen
you will see what is needed.
if you look at
component://party/widget/partymgr/EmailPartyScreens.xml#CreatePartyNotification
you will see an example of a screen that is passed
[EMAIL PROTECTED] wrote:
groovy does not have anything to do with calling a service.
that is done thru the target and the controller.
grovvy is used to marshal and manipulate data for display or sending in
context to services.
review
http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams
all videos specifically #7
Ritesh Trivedi wrote:
Hi,
I am trying to call sendEmailFromScreen for a custom screen very
similar to
EmailOrderScreens, the groovy script is one of the existing ones
ShopCart.groovy. sendEmailFromScreen service throws an exception groovy -
property request not found for class ShopCart.
I looked at similar code in e-commerce etc for sending email e.g.
OrderConfirmEmail - I dont see any difference in 2 calls.
Will appreciate any pointers...