Re: opening a new window using tr:commandLink
action has to be dialog:something. It must start with dialog:. Nikhil Smotra wrote: Hi, I am trying to open a link in a new window using tr:commandLink by setting 'useWindow' attribute to 'true'. The link opens in the very same same window and not a new window. The code I am using is as follows: tr:commandLink text=View Report action=test useWindow=true windowHeight=200 windowWidth=200 / Is this a bug or am I doing something wrong? Any help in this regard is highly appreciated. Thanks, Nikhil [EMAIL PROTECTED] [EMAIL PROTECTED] -- Luka Ĺ urija [EMAIL PROTECTED] +385 98 434 061 I.Y. tim d.o.o. www.iytim.hr [EMAIL PROTECTED]
Re: Opening a new window with t:jscookMenu and javaScript
Hi Greg, still waiting for an answer? I had the same problem, and modified the javascript sources of jscookmenu to get this feature. Let me know if you want more details. Timo Lindholm, Greg schrieb: I'm using the t:jscookMenu and very happy with it but would like to do something different for the Help MenuItem. I the user clicks on our Help MenuItem in the t:jscookMenu I would like to pop open a new Window. I know how to do this with JavaScript but I can't figure out how to hook it up with the t:jscookMenu. Does anybody know how to do this? I don't want to navigate away to another view as the user most likely wants help on this page. Is there someone to trigger a JavaScript function following a do nothing action? Any suggestions? P.S. I'm not interested in using the original javascript version of jscookmenu as I need the action support for all the other menu items. I'm all so not interested in the jenia stuff.
RE: Opening a new window with t:jscookMenu and javaScript
Yes, still waiting. We've done a work-around (stuck a clickable cell beside the menu and styled it to look like it's part of the menu) but would like a better solution. Greg -Original Message- From: Timo Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 6:10 AM To: MyFaces Discussion Subject: Re: Opening a new window with t:jscookMenu and javaScript Hi Greg, still waiting for an answer? I had the same problem, and modified the javascript sources of jscookmenu to get this feature. Let me know if you want more details. Timo Lindholm, Greg schrieb: I'm using the t:jscookMenu and very happy with it but would like to do something different for the Help MenuItem. I the user clicks on our Help MenuItem in the t:jscookMenu I would like to pop open a new Window. I know how to do this with JavaScript but I can't figure out how to hook it up with the t:jscookMenu. Does anybody know how to do this? I don't want to navigate away to another view as the user most likely wants help on this page. Is there someone to trigger a JavaScript function following a do nothing action? Any suggestions? P.S. I'm not interested in using the original javascript version of jscookmenu as I need the action support for all the other menu items. I'm all so not interested in the jenia stuff.
Re: Opening a new window
I dont think this tag opens a new browser window as the _javascript_ function window.open('url',...) would (correct me if I'm wrong and if there is a way to do it with this tag without modifying it)... I nevertheless use the popup tag to display info that is temporary in the same way as in the popup example. On 8/26/05, Dennis Byrne [EMAIL PROTECTED] wrote: This one might help.http://myfaces.apache.org/tlddoc/tomahawk/t/popup.html Original message Date: Fri, 26 Aug 2005 17:53:04 +0200 From: Emmanuel Jay [EMAIL PROTECTED]Subject: Opening a new windowTo: MyFaces Discussion users@myfaces.apache.org Hi, I would like to know if there are any solution to open a new (sub) window with MyFaces.I have a button on my main page and on user clicc I would like to open a new window and display some data in it. Are there any other solutions than using _javascript_? Can the JSF navigation system handle that, and if yes how is it do-able? Thanks for your help, Emmanuel Dennis Byrne
Re: Opening a new window
This one might help. http://myfaces.apache.org/tlddoc/tomahawk/t/popup.html Original message Date: Fri, 26 Aug 2005 17:53:04 +0200 From: Emmanuel Jay [EMAIL PROTECTED] Subject: Opening a new window To: MyFaces Discussion users@myfaces.apache.org Hi, I would like to know if there are any solution to open a new (sub) window with MyFaces. I have a button on my main page and on user clicc I would like to open a new window and display some data in it. Are there any other solutions than using javascript? Can the JSF navigation system handle that, and if yes how is it do-able? Thanks for your help, Emmanuel Dennis Byrne
RE: Opening a new window
Title: Message See the book Core JavaServer Faces (Geary, Horstman), pp. 587 - 595 (in the section: "How do I generate a popup window"). - Brendan -Original Message-From: Emmanuel Jay [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 10:53 AMTo: MyFaces DiscussionSubject: Opening a new windowHi, I would like to know if there are any solution to open a new (sub) window with MyFaces. I have a button on my main page and on user clicc I would like to open a new window and display some data in it. Are there any other solutions than using _javascript_? Can the JSF navigation system handle that, and if yes how is it do-able?Thanks for your help,Emmanuel
RE: Opening a new window
Title: Message Also, as Mike Kienenberger pointed out in a previous thread on this topic: http://www.jsftutorials.net/interface/jsf-popup.html - Brendan -Original Message-From: CONNER, BRENDAN (SBCSI) Sent: Friday, August 26, 2005 11:43 AMTo: 'MyFaces Discussion'Subject: RE: Opening a new window See the book Core JavaServer Faces (Geary, Horstman), pp. 587 - 595 (in the section: "How do I generate a popup window"). - Brendan -Original Message-From: Emmanuel Jay [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 10:53 AMTo: MyFaces DiscussionSubject: Opening a new windowHi, I would like to know if there are any solution to open a new (sub) window with MyFaces. I have a button on my main page and on user clicc I would like to open a new window and display some data in it. Are there any other solutions than using _javascript_? Can the JSF navigation system handle that, and if yes how is it do-able?Thanks for your help,Emmanuel
Re: Opening a new window
Thanks for your help Brendan!On 8/26/05, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote: Also, as Mike Kienenberger pointed out in a previous thread on this topic: http://www.jsftutorials.net/interface/jsf-popup.html - Brendan -Original Message-From: CONNER, BRENDAN (SBCSI) Sent: Friday, August 26, 2005 11:43 AMTo: 'MyFaces Discussion'Subject: RE: Opening a new window See the book Core JavaServer Faces (Geary, Horstman), pp. 587 - 595 (in the section: How do I generate a popup window). - Brendan -Original Message-From: Emmanuel Jay [mailto:[EMAIL PROTECTED]] Sent: Friday, August 26, 2005 10:53 AMTo: MyFaces DiscussionSubject: Opening a new windowHi, I would like to know if there are any solution to open a new (sub) window with MyFaces. I have a button on my main page and on user clicc I would like to open a new window and display some data in it. Are there any other solutions than using _javascript_? Can the JSF navigation system handle that, and if yes how is it do-able?Thanks for your help,Emmanuel