Re: [Wonder-disc] Embedding list page
Re: [Wonder-disc] Embedding list page
- Subject: Re: [Wonder-disc] Embedding list page
- From: Anjo Krank <email@hidden>
- Date: Sun, 5 Aug 2007 09:31:49 +0200
1) use a ERXD2WList or a ERDList, this sets up the context properly
2) I also had problem with tabs recently, but it should be solved.
Look at the ERXTabPanel there is some new wrapper in there
(ERXUniquingWrapper)
Cheers, Anjo
Am 05.08.2007 um 05:48 schrieb Guido Neitzer:
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
----------------------------------------------------------------------
---
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a
browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Wonder-disc mailing list
email@hidden
https://lists.sourceforge.net/lists/listinfo/wonder-disc
_______________________________________________
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