New Browser Window for SWG File
If you go to my page at
http://community-kitchen.org/News_Letters/2005winter/index.html
And try and open the new browser button for the Flash Paper
document it will not load.
Does anyone have the answer to this?
Check the RRI_DISPLAY_TARGET property of the web template. make sure you do not have this set to open in the QA window.
Thanks.
Similar Messages
-
Opening New Browser window for click event on an image
hi all,
I want someone to help me out solving the problem of opening
a new browser window on the mouse click event of an image or a
button etc.... The new window would contain the datagrid details
from the main window, but in an expanded form. If at all there is a
solution, I even want to know whether there is anyway for sizing
the poped up window,because I dont want the new poped up window to
cover the entire screen.
For getting better idea of my problem, the best example I
could give is the popup window that appears when we click on the
preview button while posting the message to the forum.
Someone please do help me out in this regard.
Thanks,
amar.I'd definitely try to use a Flex popup... but the
flash.net.navigateToURL method is a simple way to open a popup
window in a new browser. You can pass any data needed by the new
page using the URLRequest and/or URLVariables. The URL you navigate
to could, of course, be another Flex application if necessary. I
use this only when I need to open a popup window on another site,
or an HTML formatter report or something similar.
Concerning yourself with the size of the popup window may be
a bad design choice also. I, for example, have my browser
configured to open all popups in a new tab regardless of sizing
constraints imposed by the designer. If it is absolutely necessary
for you to have control over the size of your popup window, you
should follow the advice given by others and use a Flex
popup. -
New browser window for Jump Query
Hi SAPGuru,
I have main Query with three jumps Query (QA, QB, QC). I created web template with main query and three other web templates for jump query. All are working fine. When I am running main query template and trying to jump from main query to QA web template. Its open a new browse window thats fine. So now I have total two browsers are open. Now when I try to jump from main query to QB that web template is showing in the browser window which is shown by QA. Means its overwrite QA query with QB query in browser.
I need to open a new browser window when I jump from main query to child query. In short I like to open one browser for main query and three another browsers (QA, QB, QC) to jump query so, I can compare all query with different browser window.
Am I missing something in web template side or IEs option side?
Thanks in advance...Check the RRI_DISPLAY_TARGET property of the web template. make sure you do not have this set to open in the QA window.
Thanks. -
New browser window from single movie frame?
Sorry but I am a total newbie>
I have a 4 frame movie imported into one layer and want to
specify a different URL to be opened in a separate window for each
frame. So I have made each frame a keyframe and added from the
behaviors a geturl event for each frame. When this is published it
loops the movie and opens a new browser window for every frame for
every loop, resulting in dozens of browser windows. How can I make
this a mouse clickable event so only when I click on a frame will
the new browser window launch?
I am trying to use onrelease, but I am not sure how this
should work as I can't find a good example.1) you can't 'click on a frame' in the SWF file when it's
running, you must click on a 'button' or 'movieclip' instance the
you construct ON a particular frame, or all in the same frame with
different buttons on theStage.
2) you need to add a 'stop()' action to your actions layer to
stop the SWF from 'playing' which is why it continues to open more
windows, MovieClip timelines play and loop by default.
3) more information that you will ever need is located in the
Flash Help files(F1) along with many tutorials to learn the basic
concepts, open them and go to 'Getting Started in Flash' to learn
some basics. -
PDF viewer into new browser window
Hello,
I use following code to open new browser window with PDF file. The URL passed to the method is link to SICF service which returns the PDF in the request with content-type = 'application/pdf'. New window is open with correct URL, but the content is not displayed - Refresh or Go button has to be pressed to display it. Don't you experience similar problem? Is this WD error or some IE security setting?
Thank you and best regards,
Ludek
lr_window = lr_w_manager->create_external_window(
url = ld_url
title = ''
modal = abap_false
has_menubar = abap_true
is_resizable = abap_true
has_scrollbars = abap_true
has_statusbar = abap_true
has_toolbar = abap_true ).
lr_window->open( ).Hi Ludek,
Probably a compression problem. Have you turned off gzip compression for the pdf?
Btw, an alternate solution without having a separate handler is to use the cl_wd_runtime_services=>attach_file_to_response() method.
Best regards,
Thomas -
Want to open a new browser window and display the html file in locale disk.
Hi,
I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
Note:
The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
<html>
<body >
<applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
<param name="path" value="file://c:/open.html" />
</applet>
</body>
</html>
-------------OpenFile.java in server(Tomcat)--------------------------------------------
public class OpenFile extends Applet implements ActionListener{
String path = "";
fileopen.FileOpen open = null;
Button b = null;
public void init(){
path = getParameter("path");
b = new Button("Open");
b.addActionListener(this);
add(b);
public void actionPerformed(ActionEvent ae){
try
open = new fileopen.FileOpen(this,path);
catch (Exception e){
e.printStackTrace();
-------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
package fileopen;
public class FileOpen
AppletContext context = null;
URL url = null;
public FileOpen(Applet applet,String path)
try
if(null != applet){
context = applet.getAppletContext();
if (null != path)
url = new URL(path);
context.showDocument(url, "_blank");
}catch(Exception ex)
ex.printStackTrace();
Please help to solve this issue very urgent.
Thanks in advance.
By,
Saravanan.K.zzsara wrote:
I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
* The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
I suggest a couple of things.
- Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
- A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
Edit 1:
..and please figure out how to use the CODE tags.
Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM -
Opening a new browser window always puts a flv-file (0bytes of a youtube vid viewed earlier) on desktop. Firefox 18.02
viewed the yuotube vid yesterday. deleted all the flv-files on the desktop.
same thing today, a new window always puts the same empty file from yesterday.
any suggestions?You can check the home page setting:
*Tools > Options > General > Startup: Home page
*https://support.mozilla.org/kb/How+to+set+the+home+page
You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder
*http://kb.mozillazine.org/Profile_folder_-_Firefox
Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
*http://kb.mozillazine.org/Multiple_profile_files_created -
Open file in new browser window
Hello,
The contents of file is stored as a blob object in database. The filename(.pdf, .csv, .txt) is displayed as a commandlink in a page. On click of the commandlink I would like to display the contents of the file in a new browser window. How do i do it.
Thanks in advance for your help.
KalpanaThanks for the reply. I tried opening a pdf file from the local drive and it works fine.
My requirement is the outputlink displays a list of files in a datatable. On click of the link I need to read the file from the database. The file resides in the database as a blob.
Now issue is on click of the outputlink i am not able to get the name of the file. Is there any way to get the name of the file.
Thanks in advance for the help.
Kalpana -
JavaScript for opening a new browser window.
Hi all,
Let me start by saying that I'm not JavaScript savvy at all.
I have two buttons on a slide and I want each to open a new browser window.
I Googled for a script and found this:
window.open ('URL')
I tried in my project and it worked fine but the browser window that my project was running in also changed.
I've attached a .gif image of what happens to my project window when either of the two buttons is clicked.
Can anyone help??You can check the home page setting:
*Tools > Options > General > Startup: Home page
*https://support.mozilla.org/kb/How+to+set+the+home+page
You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder
*http://kb.mozillazine.org/Profile_folder_-_Firefox
Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
*http://kb.mozillazine.org/Multiple_profile_files_created -
Suddenly firefox has started opening a new, separate browser window for every link and thing I open. It used to just open a new tab in the current browser. I must have closed down 15 browsers when trying to get back to a previous web page - the back button doesn't work when each click leads to a new window opening! I went into options and my settings have not changed, they still say "open new tab" for links. This just started happening out of the blue today. What's up?
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
* Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
* Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") -
File Open Issues - document library pdf file to open in new browser window
Hi
I have a requirement to open the document library containing pdf file to open in new browser window. So far I have tried following steps but could not get it to work.
1. Changing Document library advance setting to open the document in browser (have tried others as well).
2. SharePoint web application setting changed as Permissive instead of Strict. Here the pdf file opens in browser but redirect from document library instead of new window(Also tried adding Target=”_blank” and no change).
3. Executed the powershell script to adding MIME type to see if it works but no change.
$webApp = Get-SPWebApplication http://SharePointSite
If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf")
Write-Host -ForegroundColor White "Adding PDF MIME Type..."
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
$webApp.Update()
Write-Host -ForegroundColor White "Added and saved."
Else
Write-Host -ForegroundColor White "PDF MIME type is already added."
4. Open the Doc library and modified ALLItems.aspx to add Target= “_blank”
5. I have already tried solutions suggested in the link:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/530e2ea1-d77d-491c-935f-04f536e439a5/open-a-pdf-document-to-a-new-browser-in-the-document-library-web-part?forum=sharepointadminlegacy
http://mindsharpblogs.com/todd/archive/2005/08/16/654.html
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/7b6091df-4657-4799-ba02-259ebd7e4b7c/pdf-doesnt-open-in-document-library?forum=sharepointadminlegacy
Appreciate if there are any working solution from any of you. Many ThanksI found a solution which works only in the development. No idea when I compared, Browser MIME type is enabled, STRICT browser type is configured for web application. on the document library advance setting, default to open in new browser. Both configurations
are identical but I am able to open pdf file in new window in my developing using jquery script
http://blog.ithinksharepoint.com/2011/02/21/open-pdf-files-from-a-document-library-in-a-new-window/ but the same does not work on production server :(
Any help experts?
Thanks -
Opening New Window for the file
Hi Everyone,
I have a requirement, where in the client has policy file, which is made to display when clicked on a link.
But the problem is, the pdf policy file opens in the same window. If the user closes the pdf policy file window, the connection to the application will be lost and the data that is entered in the previous page is also lost.
For the above reason, the client wants the file to open in a new window instead of in the same window. So that the connection to the application is not lost, even if the Policy file window is closed.
Can anyone help me in accomplishing the above with list possible customization.
Thanks in Advance.
Regards,
PavanHi!
I have the same problem. I'm using a commandButton on af:table row that opens the file, stored in a column of that row.
<af:column>
<af:commandButton text="Show attachment"
actionListener="#{backing_FileUpload.downloadFile}"/>
</af:column>
The code I'm using is:
response.setHeader("Content-Disposition",
"attachement; filename=\"" + lsFilename + "\"");
response.setContentLength((int) length.intValue());
response.setContentType("application/x-download");
try {
InputStream in = loBlob.getBinaryStream();
OutputStream out = response.getOutputStream();
byte[] buf = new byte[1024];
int count;
while ((count = in.read(buf)) >= 0) {
out.write(buf, 0, count);
in.close();
out.flush();
out.close();
loFC.responseComplete();
} catch (IOException ex) {
System.out.println(ex.getMessage());
ex.printStackTrace();
}This gets the file opened in the same window on the same jspx page. Ehat I would like to do is to open this file in a pop-up or a new browser window so the user can simply get back to the page from where he opened the file.
I'm thinking about creating another empty jspx page just for showing files and send the file to this page but I would like to know if there is a better and more simple way to do that.
Thank you!
BB -
Open QT In New Browser Window - Followup Q For Quicktime Kirk
Quicktime Kirk:
I found a thread a few months ago (now archived) where you explained how to open a QT movie in a new browser window at specified dimensions. The example you gave was your page:
http://homepage.mac.com/kkirkster/bushbashquiz/
So I've got it all working and it looks great in Safari and Fireworks (thanks very much!), BUT unfortunately it does not work in Explorer. What happens in Explorer is that the window basically targets "_.self" (i.e. the parent window goes away), and when you click the "Close Window" button it closes the window and you're left with nothing.
I know that Explorer has all kinds of bugs, but unfortunately it's popular -- esp. with the PC crowd whom I need to allow for. Do you or anyone know how to get this functionality working in Explorer???
Thanks again.Yep. I just checked the link using IE for Mac. The "pop-up" window replaces the source window (not supposed to do that). Another reason to no longer use IE on a Mac.
The javascript is valid in every other Mac browser. Just not IE, it seems.
My PC is down (I think it really died this time) so I can't test its implementation of javascripts on a PC platform.
And, you're correct. It doesn't work as it should when opened using IE on a Mac.
I "borrowed" the javascript and it must contain errors that are not so obvious on the Mac OS.
I'll look for the cause but can't promise a solution. Thank you for pointing this out. I try very hard to accommodate all browsers and OS's. This one skipped by me (no IE use in years on my Mac).
Maybe a javascript guru can "fix" my (or IE's) sloppy page code. -
Cache problem for servlet opening new browser window
Requirement:
I have JSP page say summary.jsp with link "print account summary"
When user clicks on this link, new browser open with PDF document of summary.jsp
This new browser window should not have address bar and toolbar.
Solution:
Servlet called PrintSummary which sets contenttype=application/pdf and sends the data to outputstream.
href of link is
Java script function is:
function openWindow(url){
window.open(url,'blank','toolbar=no')
Problem:
Since the URL of this new window is
http:// host:portnumber/PrintSummary
Even if I click the "Print summary" link for account2,
being the same URL (http:// host:portnumber/PrintSummary) it accesses the existing page in the cache which is created for account 1.
In href if I just use servlet url as
I get the expected behaviour but then I don't have control on browser appearance and browser window will be with address bar and toolbar.
The only option I could think of was changing URL as follows:
<% String url ="javascript:openWindow('PrintSummary? var1="+ Math.random()+"')";
So that URL is different all the time
Is there any way to solve this problem?
Thanks in advance
M.I'd definitely try to use a Flex popup... but the
flash.net.navigateToURL method is a simple way to open a popup
window in a new browser. You can pass any data needed by the new
page using the URLRequest and/or URLVariables. The URL you navigate
to could, of course, be another Flex application if necessary. I
use this only when I need to open a popup window on another site,
or an HTML formatter report or something similar.
Concerning yourself with the size of the popup window may be
a bad design choice also. I, for example, have my browser
configured to open all popups in a new tab regardless of sizing
constraints imposed by the designer. If it is absolutely necessary
for you to have control over the size of your popup window, you
should follow the advice given by others and use a Flex
popup. -
Hi All,
I am working on 'Managed Attachments' integration of Oracle E-Business Suite with Oracle WebCenter Content and I am very new to EBS.
As per the customer requirement, we needed to enable the Managed Attachments on an SIT page (Employee Self Service --> Special Information-> and click on 'Add' for any of the 'Special Information' section) and the values they fill on these pages need to be passed to webcenter content. As you know these segment data will not be inserted into the database until the user clicks on 'Submit' button from the review page,
But the customer wants to save it on the 'Special Information' add page itself.
Managed Attachments is an out of the box feature offered by Oracle WebCenter Content to replace FND Attachments functionality. Instead of storing the attachments in EBS, it will store to WebCenter Content.
My requirements are as follows
1) Enable the managed attachments on he special information 'add' page (e.g Company Property, Disabilities etc),- I am able to do this
2) The data user fills in these fields , when user clicks on 'Managed Attachments' button , these values should be passed to the URL for managed attachments(which is already set on the button through processRequest() method when the page gets loaded) and thus pass to webcenter content
With these requirements, the challenges i am facing are
1) Since the user clicks on 'Managed Attachments' before even he/she clicks on 'Apply' button, how do I capture these values? can pageContext.getParameter('id') can get these?
(i have already tried to do this in processFormRequest() method and i found that it is working for LOV fields but not for text fields)
2) if i can get the values in processFormRequest(), how can i open a browser/window for the new URL()
e.g, i wanted to write something like this and the finalURL is what i wanted to open in a new browser or window as the actionEvent
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) {
super.processFormRequest(pageContext, webBean);
String param1 = pageContext.getParameter(“Param1”);
String param2 = pageContext.getParameter(“param2”);
String redirectURL = “http://rstnssiovm0072.us.oracle.com:8000/OA_HTML/OA.jsp?page=/oracle/apps/ak/ucm/axf/webui/RedirectToAxfPG&bypassPageCounterIncr=Y&retainAM=Y”;
String paramURL = “&Parameter1=”+ param1+”&Parameter2=”+ param2;
String finalURL = redirectURL+paramURL;
Code part to open the url in a new browser/window
If anybody can help me with these part, it will be a great help
thanks a lot in advance
Regards
PoornimaHi Poornima ,
Has your prob resolved ? Have you made Managed attachment working via standard adapter as per UCM Admin guide ?
Configuring the Managed Attachments Solution - 11g Release 1 (11.1.1)
1. You have first store in some VO if you want to pass this metadata to UCM page , other wise it will not work .Take temp table /VO to store first then same can passed to UCM page as input parameters
2.What needs to be passed , please refer webcenter guide with key examples given
Once it is configured properly automatically params will be associated with URL which actually will open UCM page with metadata ( params) being passed.
Thanks,
Ashish
Maybe you are looking for
-
Is it RAW or is it JPEG?
I have been shooting in RAW format for quite a while now. I have a Canon 20D that I use with a vertical shutter/battery grip. I used to think that the shutter battery grip might have caused the camera to record a JPEG (instead of the RAW format it sh
-
How to include "& " in the label attribute?
I will always get error when I include "&" in the label attribule ? do you have an ideal to fix that. Thanks M
-
How to circumvent mandatory registration of Photoshop Elements 12
Our tech team are having an issue with packaging Photoshop Elements 12 for SCCM deployment. During their initial, manual install to 'discover' what the .msi delivers, it's become apparent that product registration with an 'Adobe ID' has become mandat
-
Mysterious error message when syncing
Whenever I sync my iPhone I always see the following message: "Duke Ellington" was not copied to the iPhone "John's iPhone" because it could not be found. I am puzzled by this message because I don't know what "Duke Ellington" is. I have searched my
-
Just below the tools bar is a "verified by digicert inc." which takes me to a security lock, which I assume is my photo album that somehow never got to facebook. I cannot unlock it. Facebook help section suggested I go to tools options, click excepti