JSF 2.0 with Primefaces 4.0 BPM/IE Ajax rendring issue - ajax

I am using JSF2.0 with Primefaces4.0 for now i had Ajax's rendering trouble on each application i developed with using this technology.
The problem is, when Deploy my application on actual server (not localhost), IBM Process Server v8.5. Any of the component is not rendering itself against any event (only in IE) with Google chrome and Mozilla Firefox it works fine.
This problem is still unresolved for now. If any one experienced that, please share
For quick recovery and use Ajax in my application i am thinking to shift on RichFaces. any one experience on RichFaces and Ajax's behavior on IE?

Related

Empty AJAX Response when debugging with Eclipse

I am using Eclipse 3.7.2 for PHP web app development.
When using the debugger (which I have setup to launch the application in Firefox), AJAX calls that are fired quickly contain a blank response when inspected with Firebug. This is not a cross-domain problem as the AJAX calls are all to the same server.
If I use Firebug to set a breakpoint just before the AJAX call in the JavaScript code, and then resume the execution, then the AJAX response will be loaded correctly.
It seems this problem may be due to Eclipse not being able to handle simultaneous requests. Is there any way to change Eclipse's settings to allow more requests?
Issue was due to using Zend Debugger. Switching to XDebug solved the issue. Also posted here - Using Eclipse PDT for debugging Ajax pages with concurrent requests

MVC3 to MVC4 upgrade issue

I've updated my MVC3 site to use MVC4 today and have come across a problem. When navigating to a particular url (the url for an MVC area) I get this messaage in Firefox
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This used to work with MVC4. Chrome still does work with MVC4.
Any ideas?

Internet Explorer7 sending 2 requests but Firefox and other only one?

I'm using Internet Explorer 7 and Firefox/15.0.1. I developed a web application in J2EE.
In application,if i click any hyperlink it is sending only one request in Firefox,chrome.
I checked it using Firebug and the logs also.
The same way i tested in IE7,It is showing 2 times logs for a single request.
Is it a bug in IE7? How to fix it?
Every time IE7 sending two requests.. Any tool to track the HTTP request?
You can install IE Developer Toolbar to debug JavaScript in IE
Mainly the problem with two forms i'm using...
that is a form with in other form. which caused IE to show exotic behaviour.
HTML is not well formatted. I changed it. it is working as expected.

CefSharp - How to handle "This page has insecure content." message?

I am using the CefSharp .Net wrapper for the Chromium Embedded Framework as a simple wrapper around a web application. In my web application, I make a JSONP AJAX call out to another domain to get some data and display it. The URL to that domain is not using SSL. Because of that, when doing this in the Chrome browser, I get the following message, to which the end user would simply click "Load Anyway", allowing the JSONP request to fire and the data to be retrieved...
The app using CefSharp simply starts up the main URL to my web application when it runs. When I try and make the same call in my this application using CefSharp, however, it doesn't get that same prompt. Instead, the AJAX request just times out (the same behavior that happens when the end user never clicks a button in the yellow bar that appears in Chrome).
Does anyone know if CefSharp has a way for me to catch this security message and either...
Prompt the end user to click "Load anyway", similar to the behavior of the Chrome browser, or
Programmatically bypass the security warning altogether?
If not, does the Chromium Framework itself support dealing with this situation?
After posting to CefSharp and CEF projects, it looks like CEF does not currently support this situation. magreenblatt suggested a couple of approaches to add it to CEF. Now I just need to try and find the time to add support for it. :-)

Why is primefaces Fileupload not Visible?

The fileupload Control for is not visible in the browser(rendered though).
When I viewed the source code from the browser, it was rendered like this..
<script type="text/javascript">
jQuery(function() {widget_exeupload1 = new PrimeFaces.widget.Uploader('exeupload1', {uploader:'/jsfscrb/javax.faces.resource/fileupload/uploadify.swf.xhtml?ln=primefaces&v=2.2.1',script:'/jsfscrb/home.xhtml',cancelImg:'/jsfscrb/javax.faces.resource/fileupload/cancel.png.xhtml?ln=primefaces&v=2.2.1',formId:'j_idt225',fileDataName:'exeupload1_file',multi:false,auto:true,inputFileId:'exeupload1_file',jsessionid:'f99f510153df31f57a310fb8de8e',update:'dlist1 resmsg',fileDesc:'Resource Files'});});
</script>
I use the Fedora Core 3, NetBeans 6.8, Mojarra 2.0.4 with glassfish server v3. Above said behavior was observed with Firefox 2.0.0.20 and also with Opera 10.11.
I am wondering where might the problem be and honestly couldn't guess it. Every little help to identify and/or solve the problem is very welcome please!!!
Where could the problem be?
FedoraCore 3 graphic packages
Primefaces
Firefox or Opera
PrimeFaces 2.2.x fileupload uses flash so depending on flash plugin, it might have issues. Try 3.0's new fileupload which uses HTML5 with graceful degradation. No flash is required with 3.0.
http://www.primefaces.org/showcase/ui/file/upload/basic.xhtml

Resources