This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm showing a popup from a jsp page, when I select any value ( a date ) in the pop up, a text box ( lets name it as dateX ) in the parent window that showed the pop up gets updated with the value selected in the popup.
Now the problem few other text boxes should get updated automatically when ever the value in this textbox ( datex ) gets updated. Can any one throw light on this ? [ September 29, 2005: Message edited by: Srinivasa Raghavan ]
If you have multiple tasks that need to be performed in the parent when a selection is made in the popup, rather than have the popup perform them directly create a function in the parent that handles the tasks. Then have the popup call that function with the changed values. This way your popup is decoupled from having to know how the parent is structured.