Hi Adrien,
Thanx for your reply.
I tries using javascript but it didnt work.
It works fine if it is simple jsp page but it fails if the page is Jsf page.

But I got it working.
there is "target" attribute for <hx:coomandlink>
which can hav value "_blank" but then again, its a jsf bug.
It does nt work out.
Then I put the target="_blank" in <h:form> and it worked!

Regards,
Sunil

----- Original Message ----- From: "Adrien FOURES" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Friday, February 04, 2005 10:22 PM
Subject: Re: hi



Use javascript and the function window.open();
the firts page contain the function which open the popup with your page.

Adrien

Sunil Tiwari wrote:

Hi All,
i want to ask you a question thats out of my-faces context.
Its regarding JSF on websphere.
How to open a jsf page in a pop up window?
for example, i have a link on a page which should call another jsf page in a
new window.


when i try using the context path of the target jsf page in a java
script..it gives error..
probably because its out of jsf context.

then i tried using request.getRequestURI() and it opens the same jsf page in
new window..
How to open different jsf page????


anyone who has come across this problem?
any suggestions?

thanks and regards,
sunil



Reply via email to