re: WOSwitchComponent Problem
re: WOSwitchComponent Problem
- Subject: re: WOSwitchComponent Problem
- From: Andrew Lindesay <email@hidden>
- Date: Wed, 7 Mar 2007 08:30:24 +1300
Hello Thierry;
Are you not able to use the same component (in or out of a
WOSwitchComponent) twice on the page with two separate sets of
bindings which define the data for the two different circumstances?
cheers.
I would like to create a solution that makes me able to have multiple
windows in a webobjects application (windows realised with YUI).
Now the
content of each windows is created from an existing WOComponent-
File. Up to
now I'm realizing this with a WOSwitchComponent. The problem of
that is as
follows:
My WOComponent are initialized on the base of a state. This means
that the
same component displays something different at startup depending on
that
state.
Now let's say I'm opening a window with a component x and state a. The
second window I'd like to open should be component x and state b.
This doesn't work as WOSwitchcomponent doesn't refresh it's content
if the
components are the same. I'm then getting the view from window 1.
How can this be solved?
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
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