• 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: WO Long Response and iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO Long Response and iPhone


  • Subject: Re: WO Long Response and iPhone
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 15 Jan 2010 12:25:30 -0500

So, there are three different flavors? Why "ERX" and "ERXWO" and "Ajax" of the same thing?

Perhaps it is just a general rule for understanding Wonder: There are at least three ways of doing anything: ak-ish, ms-ish, and ch-ish. :-)

It kind of makes as much sense as any other explanation....
Another explanation might be that they do different things and meet the needs of different requirements?

AjaxLongResponse: uses an Ajax periodic update to refresh its component content as long as the isRunning binding returns true

ERXLongResponse: javadoc says it better than i can
 * ERXLongResponse is like WOLongResponsePage from JavaWOExtensions, but
 * it can be used as a component and doesn't need to be subclassed.
 * Instead, you provide a ERXLongResponseTask subclass and set it 
 * via either the bindings or explicitely.

ERXWOLongResponsePage: javadoc says it better than i can
 * ERXWOLongResponsePage is just like WOLongResponsePage except that it
 * cleans up editing context locks at the end of run() just like the behavior
 * at the end of a normal R-R loop.

WOLongResponsePage: this is the original -- all of JavaWOExtensions was brought into Wonder

so, WOLongResponsePage is just the bare-slate original

ERXWOLongResponsePage (which probably could be autopatched in, actually) is what you would use if you want autolocking in your long response.

ERXLongResponse is what you would use if you want to use a task object and that pattern instead of subclassing in the traditional way

AjaxLongResponse is just an Ajax refreshing wrapper around a component content, but might fit better in an environment that is already doing Ajax-y things.


 _______________________________________________
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

References: 
 >WO Long Response and iPhone (From: Joe Moreno <email@hidden>)
 >Re: WO Long Response and iPhone (From: Ray Kiddy <email@hidden>)

  • Prev by Date: Re: WO Long Response and iPhone
  • Next by Date: Re: Modeling an optional to-one relationship
  • Previous by thread: Re: WO Long Response and iPhone
  • Next by thread: Apple Jobs available
  • Index(es):
    • Date
    • Thread