Re: WOSwitchComponent Problem
Re: WOSwitchComponent Problem
- Subject: Re: WOSwitchComponent Problem
- From: Thierry Kramis <email@hidden>
- Date: Tue, 06 Mar 2007 20:37:17 +0100
- Thread-topic: WOSwitchComponent Problem
Not really. I have not just two components, but many more.
Actually the problem is, that WebObjects seems to hold objects somewhere in
memory and then get's them back when I open the window again... Somehow.
Am 6.3.2007 20:30 Uhr schrieb "Andrew Lindesay" unter <email@hidden>:
> 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