• 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: ERModernDirectToWeb question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERModernDirectToWeb question


  • Subject: Re: ERModernDirectToWeb question
  • From: Paul Halliday <email@hidden>
  • Date: Thu, 24 Feb 2011 18:32:52 -0500

Thank you for all your  help collectively. I have figured out the problem and made the corrections. I could not get your  qualifierFromSender method to compile so I changed my template in EOGenerator to 
_WonderEntity.java and subclass template to WonderEntity.java from _Entity.java and Entity.java. I then deleted all _Classes and regenerated with eoGen. 

Subsequently I redid the following

    private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {

 

    SchoolBoard sb = session().schoolBoard();
    School aSchool = session().school();    
    EOQualifier q = SchoolAdmin.SCHOOL_BOARD.eq(sb).and(SchoolAdmin.SCHOOLS.eq(aSchool)).and(sender.qualifier());
    return q;
  }
public Session session() {
Session session = (Session) Session.session();
return session;
}
public void setSession(Session session) {
this.session = session;
}

Then with the basic rule you suggested --- Wonder was achieved -- the compound fetches occurred -- the proper page attributes for searches were displayed.

Thanks again David and David
 _______________________________________________
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: ERModernDirectToWeb question
      • From: David Avendasora <email@hidden>
    • Re: ERModernDirectToWeb question
      • From: David Holt <email@hidden>
  • Prev by Date: Re: Quick survey: who's deploying on VMWare?
  • Next by Date: Re: Quick survey: who's deploying on VMWare?
  • Previous by thread: Re: ERModernDirectToWeb question
  • Next by thread: Re: ERModernDirectToWeb question
  • Index(es):
    • Date
    • Thread