• 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
Re: Generating HTML without WORequest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generating HTML without WORequest


  • Subject: Re: Generating HTML without WORequest
  • From: Kieran Kelleher <email@hidden>
  • Date: Fri, 14 Dec 2007 13:09:53 -0500

Solution:

Project Wonder -> ERJavaMail framework will get you where you want to go. That is what all the cool kids use.

On Dec 14, 2007, at 12:59 PM, Gennady Kushnir wrote:

Hello, List
I need to sent e-mail from my application. Currently I'm studying JavaMail package - it's not very simple but the question is WebObjects-related.
The message body should be generated from WOComponent. But I don't know how to make WOComponent generate HTML.



The only way I know to make HTML from WOComponent is generateResponse() and appendToResponse(WOResponse,WOContext).
(Which one is better by the way?) But both of them work in context of request-response loop.



Sending mail is to be scheduled - so when performing the task I don't have WOContext - it is not initialised with WORequest - because there is no request when in scheduled action.



The question is :
How can I generate HTML from WOComponent without WOContext or how to get WOContext not in R-R loop.


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


This email sent to email@hidden

_______________________________________________ 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: Generating HTML without WORequest
      • From: "Tonny Staunsbrink" <email@hidden>
References: 
 >Fwd: Generating HTML without WORequest (From: "Gennady Kushnir" <email@hidden>)

  • Prev by Date: Fwd: Generating HTML without WORequest
  • Next by Date: Re: Generating HTML without WORequest
  • Previous by thread: Fwd: Generating HTML without WORequest
  • Next by thread: Re: Generating HTML without WORequest
  • Index(es):
    • Date
    • Thread