You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Duong BaTien <du...@gmail.com> on 2007/03/26 22:42:12 UTC

RE: XHTML help

After few hours of frustration, i hope some one may help.

I have the following code to open a new popup and it is in focus the
first time. Once the window '_psiPrinter' is there, a click on this link
or similar does not make the '_psiPrinter' window focussed.

<a href="javascript:void(0)"
onclick="open('/doc/private/roadMap.html','_psiPrinter','scrollbars=1,
toolbar=1, resizable=1, width=950, height=600, left=50, top=50');"
onload="_psiPrinter.focus()" title="Click for more
information">Roadmap</a>

How do i change the code to make it active whether the window
'_psiPrinter' exists or not and whether i use the <a> link or 'target'
attribute of Jsf <h:outputLink> ?

Thanks