Try setting the onclick event of the commandButton to window.open() .  Use 
google to find the documentation for window.open() in javascript.

Dennis Byrne

>-----Original Message-----
>From: Legolas Woodland [mailto:[EMAIL PROTECTED]
>Sent: Saturday, January 14, 2006 04:51 PM
>To: 'MyFaces Discussion'
>Subject: how i can open a browser windows using a button in jsf ?
>
>Hi
>Thank you for reading my post
>how i can open a browser windows using a button in jsf ?
>for example if i want to open a window which will show   
>http://www.mywebsite.com?name=TestName&family=TestFamily
>and before opening the window i need to set those two variables.
>
>can some one help me with a solution ?
>
>
>thank you
>
>


Reply via email to