JSF issue, open second window, need to send message to first

Hi,

I'm new to JSF.

I have a JSF file that opens a second window by using the target="newWindow" option on a h:commandLink tag.

The problem is that I need to send an error message to the first window but both windows are backed by the same bean and once the second widow is open, that bean only talks to the second window. The bean is in Request scope. How do I redirect it to the first window?

Thanks.

[436 byte] By [rxalexaa] at [2007-11-27 11:58:58]
# 1

From the second window you can use JavaScript to manipulate the original window. I believe the JavaScript object is window.opener.

RaymondDeCampoa at 2007-7-29 19:22:57 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...