Communication in Frameset between components possible?
Communication in Frameset between components possible?
- Subject: Communication in Frameset between components possible?
- From: Wolfram Stebel <email@hidden>
- Date: Fri, 23 Jul 2004 21:20:35 +0200
Hi all,
i set up a frameset and connected components with them.
One omponent is a menu with a WXNestedList (and WXHyperlink), loading
the hierarchical menu items from database.
When clicking in the menu i switch the pages in the content frame,
witch works fine.
There is one problem remaining:
i dont want to change the pages always (to many components :-) ),
instead i want to switch the content of one page.
The WXHyperlink only does a load of a new page (wich i support from the
MenuEntry-Object (see below)
public class MenuEntry extends Object
{
private final String _menuName;
private final String _pageName;
private final NSArray _subList;
private final int _contentIndex;
public MenuEntry ( String aMenuName, String aPageName, int
aContentIndex, NSArray aSubList )
{
.....
From those entries i construct the menu list wich is displayes
propperly and works at least for the standard.
I want to use the _contentIndex for switching the content of the page
(loaded from a multilanguage database).
I now have the problem, that the _contentIndex from the menu frame is
not known inside the content frame.
Are there any suggestions about a (better) solution ( including
complete redesign :-) ).
I am not using direct actions..., would that help?
Could i use simply another binding filled with the _contentIndex....?
Thanks for your help in advance.
Wolfram Stebel
Flutgrabenstr. 19, 35576 Wetzlar, Germany
Tel. 06441/48164, Mobil: 0172/6558588
Mailto: email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.