[D2W] Using a custom component inside ermodernlook

Giancarlo Dessena <[email protected]> Mon, 23 Sep 2013 16:20:56 +0200
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
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:

If I open it with a text editor instead I can clearly see the EntityAssignment class in the rule:


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