Re: Switch Component question...
Re: Switch Component question...
- Subject: Re: Switch Component question...
- From: Jean-François Veillette <email@hidden>
- Date: Thu, 27 Apr 2006 09:40:32 -0400
I have a somewhat similar setup.
I have a sub-component (call it Section), that have menu-tab and is
responsible to show the proper content based on the selected tab.
In section, I have an ivar which track which menu-tab is selected. I
have a method that return the content sub-component name, depending on
that ivar (bound to a woswitchcomponent).
In this model, your parent-component have to know which subcomponent
it's using, which will most likely be hold in an ivar.
- jfv
Le 06-04-27, à 09:29, James Cicenia a écrit :
Hello -
I am developing a new website and decided correctly or incorrectly, to
have my wrapper page(s) be the main page and then swap out the content
in the wrapper with the switch component.
My question is.. normally I have code like nextPage.setEC(ec), etc.,
How do I do this with my architecture as the wrapper really is the
next page?
Or is what I am doing just wrong?
James Cicenia
http://www.freeiPods.com/?r=21419063
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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