Embedding list page
Embedding list page
- Subject: Embedding list page
- From: Guido Neitzer <email@hidden>
- Date: Sat, 4 Aug 2007 21:48:02 -0600
Hi.
[Crossposting as I'm not sure whether that is Wonder only or D2W
overall]
I'm playing around with my D2W application at the moment and I
noticed, that I sometimes get a problem with embedding pages inside
pages.
Maybe I'm doing something against the intention of D2W but it seemed
to me, that I can use an ERD2WListPage subclass as a component inside
my inspect page to display the contents of a to many relationship.
This worked perfect so far (intended or not).
But, if I did that on a tabbed inspect page, I ran into problems as
when I had a situation where I had this on at least two separate
tabs, the second click to one of these tabs containing a list showed
the whole page including the pageWrapper stuff inside the tab.
Example:
tab 1: normal inspect stuff
tab 2: a to many relationship displayed with a list page
tab 3: a different to many relationship display with the same list page
Inspecting the entity went to tab1, everything okay. Clicking on tab2
-> everything okay. Clicking on tab3 --> whole page including page
wrapper is rendered in the tab. It doesn't matter in which order the
tabs are clicked. Both lists on one tab: no problem.
So, as I couldn't find any documentation about that, can perhaps
someone explain when or when not pages are "embeddable" and usable
inside other pages?
I found my way aorund the problem, but I want to understand how it is
supposed to work and why it works for one tab but not for two. What
is the idea behind using the normal wrapper or the D2WEmptyWrapper?
Thanks!
Guido
_______________________________________________
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