Re: ERModernDirectToWeb question
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