• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: WOSwitchComponent Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: WOSwitchComponent Problem
      • From: Thierry Kramis <email@hidden>
  • Prev by Date: Re: Single sign on in multiple WOApps / passing parameters between apps
  • Next by Date: Re: Single sign on in multiple WOApps / passing parameters between apps
  • Previous by thread: WOSwitchComponent Problem
  • Next by thread: Re: WOSwitchComponent Problem
  • Index(es):
    • Date
    • Thread