SetCookie Javascript call from applet pops up the launcher browser window
Hi,
With Jre 1.5 we started seeing a strange problem.
From our applet code at the end of loading the applet we call a setcookie on our parent browser window (Browser window used to access our html/applet page).
Once we make this call the browser window comes on top of our applet window.
This was working fine earlier, with jre 1.5 we started seeing this issue. Any thoughts?
A workaround is to call the toFront() function on the applet window's mainframe and set it in the front again. I was wondering if any one have seen similar problem.
It happens only with IE on windows, no issue on netscape/mozilla.
Thanks
RT
this is now resolved. My call to the transaction was slightly incorrect. This is now the working code:
CONCATENATE 'http'
'://' host ':' port
'/sap/bc/gui/sap/its/webgui/?~transaction=*MIR4 RBKP-BELNR=5105600751' ';DYNP_OKCODE=SHOW'
into url.
Similar Messages
-
Calling javascript function from applet
Can anyone pl help me with the syntax for calling a javascript function from applet.
Thanx.Try this url:
http://www.inquiry.com/techtips/java_pro/10MinuteSolutions/callingJavaScript.asp
It also provides some examples. -
I have 3 different apple devices (iPod Touch, iPad and MacBook Pro) using the same Apple ID and would like to use FaceTime to call from one device to the other. Do I need a different Apple ID for one of the devices in order to do that?
I found this on a related question in the Community:
Yes you can do it. I do it with 4 different devices all using the same Apple ID.
You need to associate different email addresses for each device in order to use those email addresses as the "contact at" email address. The reason the calls are dropping on you now is that what you are trying to do is like calling yourself on your own phone.
You can also create new iCloud accounts on each device simply to use for FaceTime, but I'm guessing that the users of the other two devices have their own email addresses which will make this work for you quite easily.
Take a look at this for more information.
The seems to go against what Gail said and the issue you raised about buying dup apps was my first concern. If this other post is correct, how to I set a different "contact at" in the iPod Touch?
Goose -
if i used the same apple id and email to set up both my ipad and ipod what can i do to be able to use face time to call from one device to the other
They can share an Apple ID, but each device must use a different email address when setting up FaceTime. Create a gmail email (or hotmail, or ...) address and use that on one of the devices when you setup FaceTime.
You don't actually have to use the 'new' email address, it is probably just used as an index to reference the correct device when initiating a call via the FaceTime server. -
using Shading Dictionary to perform shading in pdf,before that the shading dictionary call from Pattern Dictionary.In the Pattern Dictionary there is an Matrix based on the matrix value location the shading operation is perform,So i dont know how to calculate value of pattern Dictionary matrix value.
10 0 obj
<< /Type /Pattern
/PatternType 2
/Shading 11 0 R
/Matrix [1.00 .00 .00 1.00 54.00 53.00] // the matrix value how to calculate
>>
11 0 obj
<<
/ColorSpace /DeviceRGB
/Function 12 0 R
/ShadingType 2
/Coords [109.2726 69.00 109.2726 .00]
/Extend [true true]
>>
12 0 obj
<<
/FunctionType 0
/Domain [.00 1.00]
/Range [.00 1.00 .00 1.00 .00 1.00]
/Size [1002]
/BitsPerSample 8
/Length 3006
>>
stream
here is an stream of colors
endstream
endobj
Can anybody help me please.
Regards, Sasi kumar sekar.Hi, Sasi -
The Matrix maps coordinates in your shading dictionary into User Space. That is, the Matrix entry in the Pattern dictionary specifies a coordinate transformation that will be applied to coordinates specified in the shading dictionary.
To take your example, you have an axial shading extending from (rounding off) 109,69 to 109,0. Your Pattern dictionary specifies the Matrix
[ 1 0 0 1 54 53 ]
This transformation matrix corresponds to a scale of 1,1 (that is, no change in scale) and a translation of 54,53. Thus, the actual endpoints for the axial shading will be the User Space positions 163,122 and 163,53 (assuming I’ve added correctly).
As to what values to use for your Matrix, it depends on how you’ve set up your Shading dictionary. If the coordinates you’ve specified are actually where you want the gradient to go, then just use an identity matrix
[ 1 0 0 1 0 0 ]
By the way, are you sure that the Pattern dictionary includes a Matrix entry? I seem to remember (it's been a while since I've looked at Patterns) that the matrix is supplied as an argument to the makepattern operator:
<<patternDict>> [ 1 0 0 1 0 0 ] makepattern
Hope that helps.
- John Deubert
Acumen Training
PostScript and PDF
Training & Consulting -
Revision: 13127
Revision: 13127
Author: [email protected]
Date: 2009-12-21 13:42:09 -0800 (Mon, 21 Dec 2009)
Log Message:
SystemManager was supposed to call ChildManager to finish initializing the top level window. LoaderConfig was not getting initialized otherwise.
QE Notes: None
Doc Notes: None
Bugs: SDK-24625
Reviewer: Peter F
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/components/DataGrid
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24625
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.a sThis girl here found the fix:
How to Manually Fix Updates on Adobe Photoshop CS6 (from 13.0.3 to 13.0.6) on Mac with Retina Display |
Basically, all you have to do is update the Application Manager (if your installation was like mine, I was still on v.6... it's up to v.9 now. Go here for the update: Adobe - Adobe Application Manager : For Macintosh : Adobe Application Manager and run it... when done, launch Photoshop and check for updates.
This is amazingly idiotic, I must add -- how does App Manager NOT update itself through the update process??? -
This is going to sound dumb but I just got a call from someone claiming to be with Microsoft Windows tech dept. Apparently something malicious attacking my computer. I hung up because Mac doesn't use Microsoft Window Operating System - right? I have Mac OS X. I have loaded Microsoft Office 2011. Can that allow something malicious or is this guy a scammer and I was right to hang up???
Actually you can install Windows on your MBP via Bootcamp.
You should have kept the individual on the phone for as long as you can tolerate. The time he wastes with you is time he cannot spend scamming an innocent victim.
You can always politely ask the caller to hold while you 'answer the front door' or the like and just set down the phone and go about your business. The caller will eventually hang up.
But your analysis was 100% correct.
Ciao. -
Will whatsapp be removed from iPhone 4 after the launch of iPhone 6?
Will whatsapp be removed from iPhone 4 after the launch of iPhone 6?
The release of a new product does not necessarily affect existing apps.
It is common for developers to redesign/update their apps when a new version of iOS is released, and this can mean a particular app is no longer compatible with a certain phone if that phone can't run a new enough version of iOS.
When iOS 7 was released, many apps were redesigned for iOS 7 and were only available if you had iOS 7 on your device. This left the iPhone 3GS and older iPhones in the dust, if you will.
The existence of the next iPhone will not necessarily mean existing apps will stop working/be pulled.
~Lyssa -
How can I open the Wndows Browse window from forms..
I am using forms 5.0 and at run time I want to open the
MSWINDOWS "BROWSE" window.Can any body help me?.I found this example in a book, which is useful for retrieving an
image file from a local drive and inserting it into a table.
I hope you find this helpful.
DECLARE
v_dirname VARCHAR2(255);
v_filename VARCHAR2(255);
BEGIN
v_dirname := 'C:\';
v_filename := get_file_name(v_dirname, NULL,
'Bitmap file (*.bmp)|*.bmp|' ||
'JPEG file (*.jpg)|*.jpg|' );
IF v_filename IS NOT NULL THEN
read_image_file(v_filename, 'ANY', 'av_data_image.blob_data');
END IF;
END; -
Generated JNLP and closing the original browser window
Hi All, This is my first post so bear with me. Here is my problem.
I am using Web Start for an application.
I need to check to see if web start is installed or not.
If it is NOT I need to auto-install
if it is I need to call a servlet that dynamically generates the jnlp with the user that I passed in as <arguments/> maybe other arguments in the future also
I need to shut the original browser window
I will use this servlet in multiple web apps
I have it working like this but I don't think it is clean enough
I call a servlet with the syntax checkJREServlet?USER=username
this servlet writes out:
<html>
<body>
<h1>Installing Java Runtime</h1>
<OBJECT
CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="0" height="0"
codebase="http://<myservler>/<plugins folder>/j2re-1_4_2-windows-i586.exe#Version=1,4,2,0">
<PARAM NAME="code" VALUE="redirectAndClose.class"> //my applet class
<PARAM NAME="archive" VALUE="RedirectUtil.jar"> //the jar where my applet class is stored
<PARAM NAME="archive_cache" VALUE="RedirectUtil.jar">
<PARAM NAME="type" VALUE="application/x-java-applet">
<PARAM NAME="where_to_next" VALUE="http://<myservler>/<mywebapp>/openAppServlet?USER=username">
You did not install Java.
<p>Please use the <b>Back</b> button to return to the previous page.
</OBJECT>
</body>
</html>
I have redirectAndClose which is:
import java.applet.Applet;
import java.net.URL;
import java.net.MalformedURLException;
import netscape.javascript.*;
public class redirectAndClose
extends Applet
java.util.Timer timer = null;
int seconds = 5;
public void start()
try
getAppletContext().showDocument(
new URL(getCodeBase(), getParameter("where_to_next")), "_blank");
//now we have to close ourselves in 5 seconds
timer = new java.util.Timer();
timer.schedule(new java.util.TimerTask()
public void run()
timer.cancel(); //Terminate the timer thread
destroy();
, seconds * 1000);
catch(MalformedURLException e)
throw new RuntimeException(e);
public void destroy()
super.destroy();
//close this window because we don't need it
JSObject win = (JSObject)JSObject.getWindow(this);
win.eval("window.opener=self;self.close();");
If try to close without a timer my entier session gets killed, including my webstart app that the openAppServlet wrote out the jnlp for
I hate this because it is not definite. I want to DEFINITELY know when my webstart app is open and I can close this original window. Like a whenWindowExists then close me but I have no clue how to do this.
The "where_to_next" location is a servlet that will dynamically build a jnlp file specific for each web app building it from parameters in web.xml for each individual web app. Basically I will have to store the actual name of the class, the jar href's I will be needing, title, vendor, description, basically everything that can be different.
So what I need is some kind of library so I can include it in multiple web apps EASILY. I don't want to have to write a document on how to include this thing. It should be self explainatory. I originally just mapped to the first servlet in my web.xml and then included the jar file but it appears to be non-existent in my project. Maybe some suggestions on what others would do may help me.
Thanx in advanceI don't want to use a timer because who knows if the servlet that writes out the dynamic jnlp will get hung up for a little while or any number of other reasons. If that did happen the timer would kick off and close my web start app. I cannot have this.
-
How do I find the current browser window width in pixels?
I'm writing a PHP script that will use the current browser
window width
and height, but I don't know how to find that. Is there some
way to
capture the width and height of the current window in pixels?
TIAThanks Micha, you certainly may ask why.
I posted a message some time ago in the appdev forum about
the Recordset
Paging server behavior being geared toward use with tables. I
was
frustrated because I wanted to do something with repeated
div's in a
liquid site. But the Recordset Paging s.b. locks the number
of records
per page to a fixed number. I'm trying to figure out how to
make the
records per page a variable that's determined by the window
width. I've
created a liquid site with a products page that contains both
text and
thumbnail product images. The text occupies 2/3 of the width
of the
window, and the div container that holds the floated div
thumbnails I
want to account for the other third. The thumbnail div's are
produced by
a WHILE statement and I want them to be paged based on the
number of
div's that will fit within a container that occupies a
percent of the
browser window width. Here's what I've got so:
$window_size_wide = ; // Current browser window width in px
$window_size_tall = ; // Current browser window height in px
$thumb_cont_wide = $window_size_wide * .3; // 30% of window
width incl.
padding in px
$thumb_cont_tall = $window_size_tall * .4; // 40% of window
height incl.
padding in px
$thumb_size_wide = 100; // thumbnail div width incl. margins
in px
$thumb_size_tall = 100; // thumbnail div height incl. margins
in px
$no_thumbs_wide =
ceil(($thumb_cont_wide/$thumb_size_wide)-1);
$no_thumbs_tall =
ceil(($thumb_cont_tall/$thumb_size_tall)-1);
$records_per_page = ($no_thumbs_wide * $no_thumbs_tall);
$offset = ($thispage - 1) * $records_per_page;
$total_pages = ceil($total_records/$records_per_page);
etc.
What I don't know is how to find the current window width or
height. I
would also like to know if the $thumb_cont_wide and the
$thumb_cont_tall
can be determined in some way based on the div size generated
through my
CSS. In other words, I don't want to declare the percent of
height and
width in this script, I want to declare it only in my CSS and
have it
determined by the browser window width and height. The only
element I
want to hard code is the size of the thumbnails as they will
always be
the same. It seems to me that something like this could be
done to make
recordset paging scalable to match a scalable web page.
So the question is, can I define a PHP variable based on a
Javascript
variable? If so, how? If not, how can I accomplish this? Is
this just
not possible?
Thanks for your help. -
Drill to link - How can integrate the new browser window inside the report
Hi, I'm using Discoverer Plus/Viewer 10.1.2.48.18 and I just created successfully a "Drill to Link to an Internet Page" related to my field "Ticket Id"
So, when, from Viewer, I select the link, a new tab from a new browser session is opend and I see all the details related to the Ticket Id chosen.
This is right because on the manual is written:
Discoverer behaves as follows: if you drill out to an Internet page, Discoverer displays the Internet page in a new browser window.
Now my question is this: is there a way or a workaround to integrate the new browser window's content inside my report ?
In other words, instead to see the all the Ticket id details (graphs included) in a new browser window, my customer asked me to see these details inside the same report, just below the field with the link.
Any help will be appreciated
Thanks
AlexHi, I'm using Discoverer Plus/Viewer 10.1.2.48.18 and I just created successfully a "Drill to Link to an Internet Page" related to my field "Ticket Id"
So, when, from Viewer, I select the link, a new tab from a new browser session is opend and I see all the details related to the Ticket Id chosen.
This is right because on the manual is written:
Discoverer behaves as follows: if you drill out to an Internet page, Discoverer displays the Internet page in a new browser window.
Now my question is this: is there a way or a workaround to integrate the new browser window's content inside my report ?
In other words, instead to see the all the Ticket id details (graphs included) in a new browser window, my customer asked me to see these details inside the same report, just below the field with the link.
Any help will be appreciated
Thanks
Alex -
i've tried playing zuma blitz and bejeweled blitz in the firefox browser window and the play is very jerky and slow.
Just had the same thing happen AGAIN. Suddenly - a blank iPlayer Desktop which failed to download new programmes. All previous programmes were still in the repository folder. This time the sequence I outlined previously didn't work.
What eventually got things working this time was to reinstall Adobe Air as part of the BBC iPlayer Desktop installation process - and not separately.
So:
a) Move iPlayer to trash.
b) Find and delete the following folder: Users/Yourname/Library/Preferences/BBCiPlayerDesktop.61DB7A798358575D6A969CCD73DDBBD 723A6DA9D.1
c) Find and delete the following folder:
Users/Yourname/Library/Application Support/Adobe/AIR/ELS/BBCiPlayerDesktop.61DB7A798358575D6A969CCD73DDB BD723A6DA9D.1
d) Find and delete the following folder:
Users/Yourname/Movies/BBC iPlayer/repository/cache
e) Find and run: Applications/Utilities/Adobe AIR Uninstaller
f) Empty the Trash. I found that bits and pieces of BBC iPlayer were still running despite having been quit and dumped in the trash - and so it wouldn't allow me to complete this part. Restarted the computer, then empty the trash.
g) Find the folder: Users/Yourname/Movies/BBC iPlayer/repository and rename it repository2
h) Reinstall iPlayer. It will tell you that you have no programmes to view. Quit the programme.
i) Find and delete the folder: Users/Yourname/Movies/BBC iPlayer/repository
j) Find the folder: Users/Yourname/Movies/BBC iPlayer/repository2 and rename it to repository.
k) Relaunch iPlayer
It would be terribly nice if the BBC or Adobe stopped buggering about with this . . . -
using FF 35 on MacBook Pro
Thank you for your response -- It seems the "classic theme restorer" add-on is the problem. With that enabled I cannot move tabs. With it disabled I can. I've used that add-on for years without issue on Mac and PC. The PC is still fine, just the Mac is problematic since the FF update about a week ago.
So I guess that's the answer unless anyone knows of some other trick or setting to change so FF is able to have tabs below the address bar AND be able to move tabs left to right within the same browser window! -
Opening hyperlinks in the same browser window
Hey Gang!
How does one create a hyperlink such that it opens in the
same browser window and doesn't keep opening a new window each
time?
Cheers!
GregoryDo you meant that you want to "open the hyperlinks of your flash file in the same browser window"
You flash file will be put on the internet and I think you have to configure your brower to achieve this goal.
We all know that IE can be configured to open the hyperlinks in the same window.
Thus if you want your flash file achieve this feature you need to write a code to control your brower.
This code can be a simple JS code. You can just google this to find out the answer.
good luck
I love using flash quiz generator
Maybe you are looking for
-
Exception while invoking webservice
I have created a client jar containing stub and port classe, deployment descritor and deployed webservices. Webservices are working fine but while invoking webservice with client code i am getting Exception, can somebody please help me to resolve it
-
OS 10.2 Font size on Z10
I recently upgraded to 10.2.1.537 & the largest font size, 18, now is unreadable. All my contacts are chopped in half, in height, making them extremely difficult to read. Is there a fix for this, other than using a smaller font? Seems like every time
-
Moving iTunes Library from iPod mini to new computer (old hard drive dead)
Hi all, I own a 2nd gen (I believe) iPod mini with all of my music from my iTunes library on it. Last weekend, my computer began freezing/crashing while loading my desktop, and a diagnostic confirmed that the read/write head on my hard drive was bad.
-
How do I change the order of blog entries?
How can I change the order of my blog entries? I want to add some extra items with an earlier date but iWeb won't let me drag the entries around and insists they must stay in the order of the creation date. What do I do? Dual 2 GHz PowerPC G5 Mac O
-
Yep Nokia have just announced some new Symbian phones and the new Belle OS. The 701 is the most interesting as it is basically a C7 with a few improvements, including Belle OS, IPS LCD with clearblack and gorilla glass and finally a faster processor