A coworker is developing a portal page where one of the objects is a form. There are conditions when a 2nd form needs to be opened and when finished - close it and return to the first form.
In the current implementation when the 2nd form opens it replaces the first one, (appears in the same space as the first form on on the portal page). When the 2nd form is closed using portalWnd.close() (described in thread - close modal window from Ragu Raghavan), the entire portal page closes... everything. What needs to happen is for the 1st form to reappear when the 2nd is closed.
How can that be accomplished?
Is there a problem with the way the 2nd form is being opened?
Does the 2nd form need to be opened in a separate window?
Is there another method besides portalWnd.close() that should be used instead?