Re: [D2W] Using a custom component inside ermodernlook
Ramsey Gurley <[email protected]> Mon, 23 Sep 2013 09:19:57 -0700
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
You page configuration should start with a d2w task. Like ListPayment, InspectPayment, QueryPayment, etc. On Sep 23, 2013, at 7:20 AM, Giancarlo Dessena wrote: > Hello everybody, > > I'm yet again stuck with a D2W/ERModernLook Issue. > I am trying to add a normal component to my D2W project by following this little how to: > http://wiki.wocommunity.org/display/documentation/Adding+a+Normal+WOComponent+Page+to+an+ERModernLook+based+application > > I have managed to create and edit everything according to the tutorial, but unfortunately I still get this error: > > java.lang.IllegalStateException: > Couldn't find the dynamic page named com.mycompany.adminD2W.ui.components.payment.Payment in your DirectToWeb model.task and entity is null, it seems that one model, maybe ERDirectToWeb d2w.d2wmodel is not loaded! > > I think it has to do with the extra rules that had to be adder to make it work: > pageConfiguration = 'Payment' => entity = "ActivePayment" [WO:com.webobjects.directtoweb.EntityAssignment] > pageConfiguration = 'Payment' => task = "QueryAll" [WO:com.webobjects.directtoweb.Assignment] > pageConfiguration = 'Payment' => templateNameForInspectPage = "Payment" [WO:com.webobjects.directtoweb.Assignment] > pageConfiguration = 'Payment' => navigationState = "Payment" [WO:com.webobjects.directtoweb.Assignment] > > Especially this one looks fishy: > pageConfiguration = 'Payment' => entity = "ActivePayment" [WO:com.webobjects.directtoweb.EntityAssignment] > > When I open the rule editor is shown as a com.webobjects.directtoweb.Assignment: > <PastedGraphic-3.png> > If I open it with a text editor instead I can clearly see the EntityAssignment class in the rule: > <PastedGraphic-4.png> > > What could I possibly be doing wrong here? Is this even the right way to add a non D2W Component to the ERModernLook? > > Any Help is appreciated :) > > Greetings Carlo > > PS Fabian if you are reading this thank you for your input. I still have to go through your replies as I'am currently stuck with this issue here ;) > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk_______________________________________________ > Wonder-disc mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wonder-disc ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc