• 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: Programmatically rendering a WOComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically rendering a WOComponent


  • Subject: Re: Programmatically rendering a WOComponent
  • From: Arturo Pérez <email@hidden>
  • Date: Mon, 15 Mar 2004 20:33:41 -0500

On Mar 15, 2004, at 6:58 PM, Chuck Hill wrote:

Hi Arturo!

Seems like a reasonable thing to me. You have to be careful doing this with request.context. The best is to create a new context and
w.awakeInContext();
WOResponse r = w.generateResponse();
Then get the HTML (or whatever) from r.content().


There is not too much of a reason to create a WODynamicElement unless you are optimizing or need special binding access. There is some stuff on WODev about this and, of course, in "the book".

Chuck

Great! Thanks. In the above you mean ensureAwakeInContext(), right?


---- WO in philadelphia - wanna cheesesteak with that? Please visit webobjects.meetup.com. _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Programmatically rendering a WOComponent
      • From: Chuck Hill <email@hidden>
References: 
 >Programmatically rendering a WOComponent (From: Arturo Pérez <email@hidden>)
 >Re: Programmatically rendering a WOComponent (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Programmatically rendering a WOComponent
  • Next by Date: Re: Programmatically rendering a WOComponent
  • Previous by thread: Re: Programmatically rendering a WOComponent
  • Next by thread: Re: Programmatically rendering a WOComponent
  • Index(es):
    • Date
    • Thread