• 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: D2W and Ajax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W and Ajax


  • Subject: Re: D2W and Ajax
  • From: Ramsey Lee Gurley <email@hidden>
  • Date: Thu, 04 Dec 2008 22:17:49 -0500


On Dec 4, 2008, at 9:21 PM, Ted Archibald wrote:

When I put the update container on my inspect/edit page outside of the
property repetition everything works fine, but inside the property
repetition, it fails.  I'm sure it fails because of the D2W
generation/rendering process, and I'm not really sure how the innards
of D2W work, hence why I'm not even certain if this is possible.

Thoughts?


http://developer.apple.com/documentation/WebObjects/Developing_With_D2W/Introduction/chapter_1_section_1.html

I think the primary differences between WO D2W and Wonder D2W involve updates to the rule system caching for performance.

Beyond that, I believe WebAssistant is dead in 5.4.x so disregard any talk of freezing components and grab a copy of rule modeler from

http://webobjects.mdimension.com/wonder/

In this case you'll need to create your own property level component. You may want to look at how wonder does in in a similar component (like ERD2WEditString) but my guess is you'll want to subclass ERDCustomEditComponent instead. The main problem I see for you is that doing an edit can throw a validation error, which means if that happens, you're going to need move up to the EditPage component and ajaxify the error panel too. You might also want to look into Ravi Mendis' ERDivaLook, it seems he's doing some Ajax-y stuff with D2W:

http://svgobjects2.com/SVGObjects2/SVGObjects.html

And he has a screen capture of it in action here:

http://idisk.mac.com/rmendis-Public/SafariScreenSnapz002.mov

Ramsey


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: D2W and Ajax
      • From: "Ted Archibald" <email@hidden>
References: 
 >D2W and Ajax (From: "Ted Archibald" <email@hidden>)

  • Prev by Date: Re: Chuck officially wins
  • Next by Date: Re: D2W and Ajax
  • Previous by thread: D2W and Ajax
  • Next by thread: Re: D2W and Ajax
  • Index(es):
    • Date
    • Thread