• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Webobjects 5.4 tags in an email component do not work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Webobjects 5.4 tags in an email component do not work?


  • Subject: Webobjects 5.4 tags in an email component do not work?
  • From: Johan Henselmans <email@hidden>
  • Date: Mon, 6 Jul 2009 22:23:16 +0200

Always prodding forwards, I had a emailcomponent with some old fashioned tags:

a HTML file containing

====================================
<webobjects name= ShowName>
====================================

and a WOD file containing

====================================
ShowName : WOString {
  value = cartItem.performance.showInfo.showName;
}
====================================

So I replaced with a component that consisted of a HTML file containing

====================================
<wo:WOString value = "[cartItem.performance.showInfo.showName]"/>
====================================

and an empty wod file.

The result was that I got a nice mail message containing the complete HTML as such:

====================================
<wo:WOString value = "[cartItem.performance.showInfo.showName]"/>
====================================

which meant that it did no display as it could not display the HTML message.

Reverting to the old, fashioned way gave a nice display of the show I was supposed to be attending.

Anybody any explanation what I am doing wrong? Radar?

BTW: to send the message I am using

====================================
public WOComponent pageForMail()
{
EmailComponent nextPage = (EmailComponent)pageWithName("EmailComponent");
return nextPage;
}



public void sendTheMail()
WOMailDelivery md = WOMailDelivery.sharedInstance();
md.composeComponentEmail(EmailFrom , (NSArray)mailTos, null,"Confirmation of Reservation" , pageForMail(), true );
}
====================================






Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Webobjects 5.4 tags in an email component do not work?
      • From: Andrew Lindesay <email@hidden>
  • Prev by Date: How to handle popup for a many-to-many
  • Next by Date: Re: Webobjects 5.4 tags in an email component do not work?
  • Previous by thread: How to handle popup for a many-to-many
  • Next by thread: Re: Webobjects 5.4 tags in an email component do not work?
  • Index(es):
    • Date
    • Thread