Re: Ponder: Is this the correct new page pattern?
James Cicenia <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Yea, you are probably correct. I will review your demo again and go that route. thanks On Dec 20, 2012, at 10:28 AM, Ramsey Gurley <[email protected]> wrote: > > On Dec 20, 2012, at 8:48 AM, James Cicenia wrote: > >> Ramsey - >> >> I am doing this in my authentication delegate: >> >> ERD2WPage nextPage = null; >> //work around for some bug in threadstorage and sessions (should just be ERCoreBL.actor()) >> User user = (User) ERStageManager.USER.valueInObject(ERXSession.session().objectStore()); >> if(user.isAdmin()){ >> nextPage = (AdminDashboard) D2W.factory().pageForConfigurationNamed("AdminDashboard", ERXSession.session()); >> >> It does go to the nextPage with my component, however, it doesn't seem to generate D2W firings. For instance, if I click D2W in the debugger nothing comes up. >> I added an ERXD2WList component in it, it works, clicked D2W and the D2W info shows up, but only for the embedded list. >> >> Wondering if I was missing something at this first jump point into my code. >> >> Thanks >> James >> > > Setting up a custom page configuration like that takes some effort. If the page config isn't like <task><entityName> then there are a bunch of rules in D2W that won't work and need to be set up manually. > > Is AdminDashboard even a ERD2WPage? If so, why? It sounds like something that would be easier to handle with a ERXComponent that has embedded d2w pages like the demo app I did in 2011. > > https://github.com/wocommunity/WOWODC-2011 > > > Ramsey > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc