I have done this one three separate occasions. I create a component that I want to use in my D2W app. A simple component that has a few buttons and links to create reports.
I create a component extending ERD2WInspectPageTemplate as before and 'rule up' an entity, navigationState, task, and templateNameForInspectPage just like before. My navigationState is called “Reports”. Brilliant no?
the HMTL of my component just has:
<wo:PageWrapper>
this is a test<br/>
</wo:PageWrapper>
so far so good. When I click the Reports tab I get my test page inside the PageWrapper. However, as soon as I add my link it blows up. I am adding:
<webobject name = "ReportTest">This Week</webobject> in the HTML and:
in the WOD:
ReportTest : CCSubmitLink { action = reportForThisWeek; title = "This weeks report"; }
as soon as I add the link, when I click the Reports tab, the result page in not wrapped in the PageWrapper so I have no tabs, etc.. If I take the link off the page, it works as expected.
This has worked in three other apps with no problem.
So I went to my build path and tried to make the order appear to be like the ones that work. But still no joy. I am banging my head on this wall for about two days.
Any ideas where to look?
Ted |