• 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: More Embedded D2W Questions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More Embedded D2W Questions...


  • Subject: Re: More Embedded D2W Questions...
  • From: Ramsey Gurley <email@hidden>
  • Date: Sun, 03 Mar 2013 16:13:14 -0700


On Mar 3, 2013, at 2:00 PM, Johnny Miller wrote:

Hi,

So I'm trying to create a component like the master detail page in the "Custom and embedded d2w components" presentation.

My list page component subclasses ERD2WListPage and my inspect page subclasses ERD2WInspectPage.  

So, I can select an object from the list and the inspect page pulls up the object and I can edit it.  

But one nagging thing that is happening is that if an object fails validation and I select a different object from the list the error message persists.  How would I reset the error message dictionary?


I don't think that should happen. ERD2WPage calls clearValidationFailed() in takeValuesFromRequest(). Every component should be getting awake, takeValues, invoke, append, sleep on each RR loop. If you're using Ajax, I think those steps are less guaranteed/clear.


Another question I have is that I'm using the "validationKeys" rule to add a custom validation.  I see that the validation gets called, the error gets thrown and caught during performAdditionalValidations but the error message does not get added to the error messages dictionary.  Any idea where I am going wrong with that?


Are your components based on ERModern?

https://github.com/projectwonder/wonder/issues/97

Not picking on modern specifically though. validationKeys is little used. It could have been broken by code changes at some point and there may just have been nobody using it to notice yet.


Finally, I'm a little confused about how the branchDelegates work.  Is there an example that would be good for me to look at?


Did you look at this yet?

http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control

Ramsey



Thank you,

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail
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: More Embedded D2W Questions...
      • From: Johnny Miller <email@hidden>
    • Re: More Embedded D2W Questions...
      • From: Johnny Miller <email@hidden>
References: 
 >More Embedded D2W Questions... (From: Johnny Miller <email@hidden>)

  • Prev by Date: More Embedded D2W Questions...
  • Next by Date: EOF not setting the PK in INSERT statements
  • Previous by thread: More Embedded D2W Questions...
  • Next by thread: Re: More Embedded D2W Questions...
  • Index(es):
    • Date
    • Thread