• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
D2W component and the page wrapper???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W component and the page wrapper???


  • Subject: D2W component and the page wrapper???
  • From: Theodore Petrosky <email@hidden>
  • Date: Thu, 26 Jun 2014 06:18:19 -0400

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
 _______________________________________________
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

  • Prev by Date: Re: basic use of migrations with MySQL...
  • Next by Date: Amazon EC
  • Previous by thread: Re: ERXKey not added to model class files
  • Next by thread: Amazon EC
  • Index(es):
    • Date
    • Thread