List box problem caused by multiple CP workers. Here is a brief description about the problem: I have a horizontally-split frameset, the upper frame has three buttons, which when clicked will load a ND page (suppose it's X) into the lower frame. In the page X, there are two list boxes, and four buttons ">", ">>", "<" and "<<". The users can select the items displayed in the list boxes and click those buttons to move items between these two boxes. I put my business logic in this_onBeforeDisplayEvent of the page X, where the dynamic information will be obtained according to user session object and which button the users click. It worked fine with single CP worker. If multiple CP Workers involved, sometimes, when I click the buttons in the upper frame, the ND will start a new CP worker during page X's this_onBeforeDisplayEvent. After all the components in the old CP worker are displayed, ND will initialize another page X's instance for the new CP worker. However, the new instance will not be loaded and displayed after initialization, which causes a strange problem that the new page instance does exist, but doesn't show up, and the page we see on the screen is the page X's old instance for the old CP worker. So, when I tried to select some items in the left list box, and clicked ">" button to "move" them, the first trial always failed, because what I did is on the old instance in the old CP worker. Only after I clicked any of those four buttons, ND will start to reload the new instance in the new CP worker, and then it works OK again. I'm not familiar with how multiple CP workers work and totally confused. My questions are: 1) Why will the new CP worker not be loaded after initialization? 2) Why is the new CP worker able to see the page instance for the old CP worker? 3) Is the old instance in the old CP worker dead because of the birth of the new CP worker? If not, can I get a handle of it? These may be very simple questions. I will be very appreciated if somebody can help me out. Thanks Tony Yan Ford Motor Company _________________________________________________________________________ For help in using, subscribing, and unsubscribing to the discussion forums, please go to: http://www.netdynamics.com/support/visitdevfor.html For dire need help, email: [EMAIL PROTECTED]
