Java chat closing when the page looses focus
I just got a mac about two weeks ago, switching from being a lifelong NT/2000/XP user. So far I love it, but there is one thing really bugging me.
I am a regular in an online chat for a radio station I listen too. They don't use irc, just some java based chat software. Whenever I switch to another safari window or tab, the chat room's connection seems to close, and I have to log back in.
Anyone know what is causing this, or how to fix it?
Still need help with this issue!
Similar Messages
-
My automated test involves navigating to a webpage on a remote system (via Selenium Firefox Driver) which runs a Java Plug-in to launch an embedded Java Applet. When the test first ran, I connected to the remote system (via Remote Desktop) and manually selected "Allow and Remember" as the plug-in was trying to run. However, this only addressed that first instance; it didn't address subsequent instances where I wanted to run the same test, same server (same plug-in).
Hey I got an awesome tip about this from the #addons channel Archaeopteryx
You can [http://www.ghacks.net/2013/07/31/manage-your-firefox-click-to-play-whitelist/ Manage your Firefox Click To Play Whitelist].
Post back with the results :-) -
How do I invoke an ActionListener on a page when the page initially loads?
How do I invoke an ActionListener on a page when the page initially loads?
Page 1: A user clicks on a h:commandButton and is navigated to Page 2.
Page 2: When the page loads and goes through RESTORE_VIEW, APPLY_REQUESTS and RENDER_RESPONSE, I need to call an ActionListener in the managed bean for Page 2.
However, if the user comes in from any other page than Page 1, the ActionListener cannot be invoked intially when the page loads. The user has a choice to click on the h:commandButton on Page2 to invoke the ActionListener.
What is an example of invoking a method with the ActionListener signature in Java code?
Where would I put the code to invoke the ActionListener, in a beforePhase or afterPhase, constructor?
Thanks,
--ToddInteresting. You're right. It doesn't happen when I click away from this site and then return. Maybe I'm barking up the wrong tree. Maybe it's the specific website I was thinking of and not Firefox. Unfortunately, I have to use that site all the time for work. I'll try contacting their webmaster. Thanks for your help.
-
ADF how can i execute a query with parameters when the page renders
hi
i am using ADF web 11g
i need to execute a query with parameters when the page renders
thankshello,
I'm a fan of Java code, I really am.
But when you use ADF, you decided to move to a more declarative environment.
So why not do it declarative, the adf way?
In your pagedef insert a action binding.
This can be anything, a call to the application module, a call on the iterator(Like executeWithparams, etc.)
Create an invokeAction in your pagedef and set the condition.
This example refreshes(Action 2 is execute query) the data.
First the method binding:
<action IterBinding="PersoonIterator" id="Execute" InstanceName="LSAppModuleDataControl.Persoon"
DataControl="LSAppModuleDataControl" RequiresUpdateModel="true" Action="2"/>And the invoke action
<invokeAction Binds="Execute" id="refreshData"/>This always refreshes the data on page entry, but anything is possible, you can set condictions for the invokeAction.
-Anton
PS Yes I know that pagedefs become backing beans in the end and yes that is Java code, but if you wanna play the ADF way, the goal is the reduction of Java code and the increased performance of declarative programming. -
When the page onload the query must run.
I put bind variables in a view objects. When the page onload the query must run. i added ExecuteWithParams , invokeaction in page definition. And i added in java bean follow codes. And then i added this code in Page definition like this
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="10.1.3.40.66" id="evrakPageDef"
Package="view.pageDefs" ControllerClass="#{evrak}">
evrak java code :
String evr= "20070002362";
String krm= "02030000";
String prt= "B";
String prs= "60711630";
AdfFacesContext faces= AdfFacesContext.getCurrentInstance();
faces.getProcessScope().put("evrak",evr);
faces.getProcessScope().put("kurumcode",krm);
faces.getProcessScope().put("pertur",prt);
faces.getProcessScope().put("sicil",prs);
When the *.jspx page onload , the query is not running. the items are empty.
What can i do anymore?
ThanksHi,
- create the binding fro the ExecuteWithParams
- go to the binding and expand it
- select the argument items and use EL to provide the values (if not they are static)
- create a invokeAction in the executable section of the binding
- point the invoke action to the execute with params method
- run the page
Frank -
How do I stop a query from running when the page is loaded
Hi All,
I'm using JDeveloper 10.1.3.4. I have a JSPX page that is used to collect search parameters and then when a button is clicked uses those values to run a query and then populate a table on the same page. The problem is that when the page is loaded the system attempts to run the query. The query is a method in a session bean. I can keep the method from running the query code by wrapping it in an 'if' statement and checking the parameters for null (or other value). Once the parameters are collected the query is invoked but it looks like the method is running twice, once with the parameters (here I've checked that the result actually has rows in the list) and then again where the parameters are null and the method returns null.
What is the best way to do what I want here? From the buttons action method I am called the session beam method and returning null to stay on the same page. I think that is why the method is running the second time and returning null.
TIA,
DaveHave a look at these screen casts from Steve Muench and see if one of these techniques works for you, or gives you the clue you need.
Creating Three Simple Search Pages with ADF Business Components and ADF Faces (JSF)
Part 1: Web-Style Search Form
Part 2: Oracle Forms-Style EnterQuery/ExecuteQuery Mode Page
Part 3: Search Form Using View Object with Named Bind Parameters
I had trouble viewing these with Firefox, but they worked in Internet Explorer. -
Why the menu to move from one page to another is not seen when the page is online?
On my web, I have different pages like 'Homepage' or 'Contact' but when I publish my web I can not see the menu.
why the menu to move from one page to another is not seen when the page is online?
Thank you,
Roger.Where are you publishing and how are you uploading the files?
-
Cascading LOV not working when the page is public
Hi ,
I have a cascading LOV in a tabular form which I have built using Denes Kubicek example from
http://apex.oracle.com/pls/otn/f?p=31517:176:2702932664861989:::::
Thanks to this wonderful examle I was able to make my cascading lov work.
However when I make the page public , the second lov(which is based on the first one) does not work.
Inorder to debug i changed get.get('XML') to get.get() and put an alert on it; to check if the select list string is being returned correctly by the application process - it returns null. The same alert returns the select list string when I put the authentication back on the page.
Also I noticed when the page is public the application item (TAB_CASCADING_ITEM) is not getting populated with the value of the first select list.
has anybody encountered the same issue ?
Appreciate any suggestions?
Thanks,
DippyOne of the parameters in the htmldb_get is the page the process runs on. You should change that to the current page or make page 0 public as well.
-
Fireforx cannot find web page when the page address is correct
How do I solve the message that Firefox cannot find the page when the page address is correct?
Do you want to do a Google search instead?
You can check the <b>keyword.enabled</b> on the <b>about:config</b> page and if necessary then you can toggle this pref to true via a double-click.
*https://support.mozilla.org/kb/Location+bar+search
See also:
*http://kb.mozillazine.org/Error_loading_websites -
View any report by presing button not when the page rendered by default
hi all,
i am new in apex and i need in help to solve the below issue:
the reports in apex are shown when the page called by default,
i want that the report will show only when i press any button to show it not when the page requested.
hope i can get some solutions here.
regards
adnanPosition the button ("Go", for example) in a region that always appear by default.
Your report should be in a different region, but conditionally renders only when button Go is pressed (aka, request triggered by the button is activated)... or only when some parameter is not blank, whatever the condition you want to create.
Edited by: Kleber M on Oct 7, 2011 7:33 AM -
Itunes closed when the two movies I purchased were being downloaded. When I reopened Itunes, my money remained the same after I purchased them, but the movies were gone. How do I get them back without having to rebuy them?
If they did not download, then clikc Store>Check for Available Downloads
-
How to prevent applet from InterruptedException when the page is refreshed
Hi Guys,
Is there a way we can prevent an applet from being interrupted when the user navigates away or refreshes the page ?
I am getting the below error whenever the user invokes the applet and navigates away or refreshes the frame.
My requirement is the make the applet complete it action before it is destroyed or stopped.
I am not sure if this problem is due to new java life cycle. I tried setting the legacy_lifetime=true and I got the same error or java.io.IOException when legacy_lifecycle=true
java.lang.NullPointerException
at java.awt.EventQueue.isDispatchThread(EventQueue.java:1005)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.runOnEDT(Unknown Source)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:780)
Ignored exception: java.lang.NullPointerException
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:196)
at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
at sun.plugin2.message.Pipe$2.run(Unknown Source)
at com.sun.deploy.util.Waiter$1.wait(Unknown Source)
at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
at sun.plugin2.message.Pipe.receive(Unknown Source)
at sun.plugin2.main.client.MessagePassingExecutionContext.doCookieOp(Unknown Source)
at sun.plugin2.main.client.MessagePassingExecutionContext.getCookie(Unknown Source)
at sun.plugin2.main.client.PluginCookieSelector.getCookieFromBrowser(Unknown Source)
at com.sun.deploy.net.cookie.DeployCookieSelector.getCookieInfo(Unknown Source)
at com.sun.deploy.net.cookie.DeployCookieSelector.get(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.setCookieHeader(HttpURLConnection.java:1192)
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:624)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1332)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
at com.sun.deploy.cache.DeployCacheHandler.get(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:888)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:861)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:280)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:217)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:83)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:95)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:135)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:102)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:280)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:280)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:314)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:689)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:780)
Thanks
Sunny
Edited by: user10728422 on Feb 26, 2013 1:42 AMAn applet cannot access the client's filesystem. So there's no worry. All the .class files come from the server, unless you're using a ClassLoader to explicitly load from a certain location in clients hd with all the necessary security permissions.
-
Anyone know how to keep a child Process from closing when the main Applicaiton is closed
I have a Web based application that needs to use an older version of Java to run it properly . I have been able to sequence this and use a shortcut to call on Iexplorer.exe to open the browser in bubble and have the old version of Java run in the
same bubble. This part is working as needed but the issue I have ran into is when a end user opens up a word document from a link and "check's it out" to modify it and closes the browser it immediately closes the word document along
with it. So the Question I have, Is there a way to keep a child process open when the main Application is closed . Anyone run into anything similar or any documentation on a way to keep the process alive until the end user closes it?Hi There,
I don't believe there is a way to handle this currently within App-V...Other virtualization products do have the ability to exclude processes and force to run outside or the bubble or exclude them from terminating on shutdown.
It would be a great feature request for a future release. You can easily request it here:
http://appv.uservoice.com/forums/280448-microsoft-application-virtualization
PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
rorymon.com Twitter: @Rorymon -
When I switch on my computer I get the desktop then I try to click on Mozilla Firefox but get the message, 'Firefox is already running but not responding. To open a new window you must first close the existing Firefox process or resart your system.' I looked up how to close but I need to click on 'file' then 'exit'. How can I do that when I can't see the page yet? IE is working fine.
See also [[Firefox is already running but is not responding]]
-
Is there a way to make the audio continue when the page is turned?
Can I make the audio continue while a reader turns pages in iBook? With everything I've tried the music shuts off as soon as the page is turned. Thanks for any insight.
a1fosterLatest: Working in Pages actually seems to work for this! Place the audio file in Pages (drag and drop works just fine), make sure the audio is inline (not floating) export Pages to ePub and run the Book Proofer . . . once you click to start the audio, the audio plays until the end, regardless of where you are in the book, it keeps playing. Minor victory because you loose a bit of the layout features that iBook Author has, but the audio now functions the way I was hoping.
Maybe you are looking for
-
ICI - How to display custom error messages in SAP CRM
Hello, we are working on a custom Contact Center which interfaces with SAP CRM Version 7 with Enhancement Package over ICI. The basic call functions like accepting, hanging up, holding and retrieving are fully implemented and are working already. Our
-
Get an Exception while running a Java Comm Application...
Hello, I am rakesh.Recently i have downloaded an example for JavaCommAPI.[ BlackBox applet].When i try to run this application it is giving an error that it cannt find the class SerialPort EventListener.I am using java1.3 and java1.4.1 versions. Exce
-
I'm working on a website right now, and I've run across a particular style of photo gallery that I'd like to duplicate. This is the page: http://www.reubenrogers.com/photos.htm There are thumbnail images that you click on to view the larger image, an
-
I accidently did not save the passwords to some sites I would like to have the password remembered. I went in to try to maybe reset it so that the pop up window would come up again. but it won't let me do it again. How do I get the password to be rem
-
How do I get my ipad to recognise my airprinter so that I can print?
Anyone know how to get my ipad to recognise my new air printer?