Open new browser window from a JApplet
Hi,
I want to open a new browser window from a JApplet.My first thought was to use the Live Connect technology but it worked only with simple applets not with JApplets.Then i tried it by getting the Applet context (getAppletContext() method) but it still didn't work with JApplet...(it worked with Applet).I believe it has something to do with the applet security but i haven't yet figured it out.
For example when i call the getAppletContext() method from a JApplet i get an java.security.AccessControlException ... .Thanks
I must correct myself now :).
The getAppletContext() method does work with JApplets too.Still , i have problems with the Live connection alternative.It seems that it by importing the netscape.javascript package i get the security eror that i mention above...
Similar Messages
-
Open new browser window from Hyperlink in BIP PDF output report?
Hello,
Is there a way to open a new browser window from Hyperlink in PDF report?
Thank you all in advance.
MTDear Friend,
It is not supported for PDF Report. But below links helps you, to accombish this task in PDF report.
[url http://oracleapps4u.blogspot.com/2011/03/open-hyperlink-in-new-browser-window.html]http://oracleapps4u.blogspot.com/2011/03/open-hyperlink-in-new-browser-window.html
Thanks & Regards
Ahamed Rafeeque Cherkala -
Open new browser window from an Applet
I have an applet that needs to initiate a new browser window to open and go to a specified URL. Can anyone help me with this?? Thanks in advance.
http://developer.java.sun.com/developer/qow/archive/48/index.html
-
Opening new browser window from View Library links
On some of the documentation pages, e.g. http://www.oracle.com/technology/documentation/ias.html , a new browser window is opened using target=new_win in the HTML code. This window will be re-used if the user goes back and clicks on another, similar link. It's better to use target=_blank for this purpose, because that would ensure that a new browser window is opened every time.
You would have to a) swap the image, and b) expose a
previously hidden layer
that superimposes the image with a transparent GIF on which
the onClick
behavior has been applied.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"tldesignstudios" <[email protected]> wrote
in message
news:e7vfhm$1hf$[email protected]..
> Hi all, does anyone know if it is possible to set a
swapped image to open
> a new browser window on a click command? Any help woul
dbe much
> appreciated. thank you in advance. :) -
Opening new browser window from image swaps
Hi all, does anyone know if it is possible to set a swapped
image to open a new browser window on a click command? Any help
woul dbe much appreciated. thank you in advance. :)You would have to a) swap the image, and b) expose a
previously hidden layer
that superimposes the image with a transparent GIF on which
the onClick
behavior has been applied.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"tldesignstudios" <[email protected]> wrote
in message
news:e7vfhm$1hf$[email protected]..
> Hi all, does anyone know if it is possible to set a
swapped image to open
> a new browser window on a click command? Any help woul
dbe much
> appreciated. thank you in advance. :) -
Opening new browser window from backing bean
Is it possible to open new window from backing bean?
Regards, Simyquite sure its not possibleIt is possible !! But a fifferent way of doint it!
I assume this is what you want ! on click of a button you want to go to the backing bean and come back with the new page on a new window !!
Do the following! On click of a button, call a javascript method which does the following
window.open('/jsf/somepage.jsf',.....)In the constructor of the backing bean, do the backend processing and set the fields of teh backing bean. And when the page gets rendered its as good as what you want... -
CS4 - Difference in height on "Open New Browser Window" from Safari to IE?
I have put a site together and have some links that are set to "Open New Window" and have given them the appropriate sizing and on Safari Mac they show correctly but on Windows IE they show short. Is there a difference in the height dimension on Windows platform or IE in particular? Any help would be greatly appreciated.
Thanks,
jodmcc49You are going to have to post a link to the page in question. If you set something to be a specific height and width in pixels it will be the same in both screens.
-
How do I open a new browser window from Flash
I wish to open a new browser window from Flash and when the new window closes to return to the location from whence I started.
ThomasChenThe command to open a new window would be the "_blank" part of a command to link to a web page in the code below.
navigateToURL(new URLRequest("http://www.anothersite.com", "_blank"));
As far as the new window closing and getting back to where you were in the original window, I don't understand where that original window might have gone to... You should be wherever you last left it. -
How can I open a new browser window from UIX?
I need to open a new browser window from an event handler. How that can be done? HELP!
Thanks!
Martin PatriciHTML doesn't really let you do this on the server side; the client is in charge
of creating new windows, not the server.
If you know that clicking a certain link/button, etc. will always raise a new window,
then you should use Javascript or "targetFrame" accordingly.
If the decision will only be made on the server side, then you could reload the current
window, only this time use an "onLoad" on the <body> to raise a window. -
How can I open a new browser window from an event handler in UIX?
Thanks in advance,
Martmn PatriciI just tried your suggestion. Unfortunately, it did not work. Here's the UIX code I used:
<tableSelection>
<singleSelection model="${bindings.MPOOrdersView1Iterator}" text="Select">
<primaryClientAction>
<firePartialAction targets="_uixState MplistsView11" source="MPOOrdersView10" event="select"/>
</primaryClientAction>
<contents>
<submitButton formName="mlrhomeform" text="Print Lists" event="print" />
<submitButton text="View Merge Reports" event="mergerpts" formName="mlrhomeform" targetFrame="_blank"/>
</contents>
</singleSelection>
</tableSelection>
The only difference from the original code is the addition of the targetFrame="_blank" in the submitButton.
It had no effect. My redirected page showed up in the same browser window. This left me with an expired page when I press the Back button on the browser.
My assumption is the response.sendRedirect() call wipes out the targetFrame setting.
Does anyone know how the browser (Internet Explorer in this case) actually gets notified to open a new window? There's got to be something that the targetFrame="_blank" sets up to cause it.
I know that Netscape supports a "Window-target:" header, but unfortunately IE doesn't. Is there some "standard" header that I can put in a response.addHeader() call that would tell all browsers to open a new window?
Of course, a UIX solution would be preferrable!
Any other ideas? -
Open new browser window in ADF Task Flow
Hello to everyone,
I have a question for those who have an experience in this area.
So, I use ADF Task Flow model and my question is how can I open a new browser window from the task flow model?
A know to use the abbreviation "dialog:" in navigation rules, but it opens just modal dialog.
Thanks in advance.
Dimitar SaykovHi Frank,
Thanks for your responce. I appreciated it.
I've made what you told me to do and it works perfectly with unbounded task flow. But when I try to use bounded task flow in runtime i've had this error:
oracle.adf.controller.ControllerException: ADFC-02001: ADF Controller cannot find '/WEB-INF/response-flow-definition'.
at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:448)
at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:358)
at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:170)
at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:214)
Here is my code:
HashMap<String, Object> params = new HashMap<String, Object>();
String taskflowId="RespEntity";
String taskflowDocument="WEB-INF/response-flow-definition";
String taskflowURL = ControllerContext.getInstance().getTaskFlowURL(false,new TaskFlowId(taskflowDocument,taskflowId), params);
launchWindow(taskflowURL,true);
So, do you know where I should put or register the definition of my bounded task flow "response-flow-definition.xml" ?
Regards,
Dimitar Saykov
Edited by: saykov on Dec 4, 2008 7:55 PM
Edited by: saykov on Dec 4, 2008 7:55 PM -
Open new browser window without bookmark
when i open a new browser window (from a bookmark or using cnt N) it opens with the list of my bookmarks along the left side of the screen forcing me to x out of the bookmark list so i can have a full browser window page.
how can i get new pages to open without the list of bookmarks on the left side of the screen?
thanks,
toddYou can create a javascript to window.open having toobar, menubar or statusbar=0. The page content can be customized per need. Call this javascript from a link or button click using javascript:popup_window();
For example,
<script language="JavaScript" type="text/javascript">
function popup_window()
w = window.open("", "Window", "width=320,height=400,status=0,toolbar=0,menubar=0");
w.document.write('<html><head><title>Help Window</title>');
w.document.write('</head><body>');
w.document.write('<div><font face="Arial" size="2">This is help page.');
w.document.write('</font></div><p>');
w.document.write('<div><font face="Arial" size="1"><a href="javascript:window.close();">Close This Window</a></font></div><p>');
w.document.write('</body></html>');
</script>Ittichai -
Hi,
this piece of code use to work for opening a new browser, but now it has problem in opening browser window. There is no exception thrown, can anyone has suggestion whats wrong in this. I am using JRE1.3. I have a feeling that something is conflicting with IE (I tried on 5.0,5.5,6.0)
thanks
Syed
try
URL url = new URL(urlString);
applet.getAppletContext().showDocument(url, "_blank");
} // End of Try
catch(MalformedURLException e)
logs("Exception in opening new browser window: " + e);
} // End of CatchSame here.
Worked fine under IE5.x to IE6, JRE 1.3.x to 1.4. OS used were W2k and WinXP, no prob here.
Now on some PCs the windows don't pop up anymore. No exception, no indicator of what's going wrong.
Any hints?
J�rgen -
Any way to open new browser window without using image maps?
Is there any way to open new browser window without using image maps? My code works fine in Firefox, but not in IE. There are 2 problems in IE: 1st is that the thumbnail images move up within their own borders & 2nd that when you click on an image it does open up a new browser window, but also redirects to the index page (in this case it's just a placeholder index page - the new one I've called index_new.html for the time being).
Here is the link:
http://www.susieharperdesigns.com/gallery_beads.html
Any help is greatly appreciated.Your missing a value on the HREF. In your code you have this:
<area shape="rect" coords="-24,-9,106,144" href=" " onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
</map></div>
and it should be this:
<area shape="rect" coords="-24,-9,106,144" href="javascript:void()" onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
</map></div>
If you fix the code on all your beads, it should work.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
How to open a new browser window from a JSP page?
Hi,
I am picking up records from the database and displaying each record in a seperate text area field using the JSP code. I should be able to display the content ( available in the text area) in a seperate window if the user clicks on one icon.
Is it possible to open a new browser window using JSP? If yes, how can I write information on the new browser window?
Thanks in advance.Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.
Maybe you are looking for
-
Apple cost of replacing water damaged iphone 4s
I recently dropped my iphone 4s 16gb in the toilet and is now destroyed. Will apple do an out of warranty exchange and for how much
-
Posting iweb to an external site--slide show
My wife is considering switching from a pc to a mac. She already has a web hosting site where she maintains a web site. We understand that we can use iweb to create and post the her html to this domain, but, without the enhanced slide show functional
-
In which table it will store SavedSearchPortletPrefs?
In which table it will store SavedSearchPortletPrefs?
-
Bummer - Bose headphones don't seat in the earphone jack
Neither my noise canceling earphones or my good ear bud ones.... Somebody is going to make a bunch of $$ making an adaptor...
-
Hello everyone, I need some help and advice please. I've recently moved to a 1960s house, and I'm getting broadband speeds of around 1MB. All the phone sockets seem to have old non-NTE5 faceplates, fed from an old brown oval Bakelite box in the loft.