RequestContext.getCurrentInstance() gives null
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
RequestContext is available to ajax requests only.
-
- Posts: 2
- Joined: 06 Dec 2012, 17:23
Hello,
I dig out this topic because I observed the same behavior but only with IE8.
Sometimes it work, and sometimes not.
And as the previous comment, I can observe that Ajax request is sent twice.
The first sent in fact works correctly, but the second have the RequestContext null.
Is there a fix for this problem?
Regards,
Michmich974
I dig out this topic because I observed the same behavior but only with IE8.
Sometimes it work, and sometimes not.
And as the previous comment, I can observe that Ajax request is sent twice.
The first sent in fact works correctly, but the second have the RequestContext null.
Is there a fix for this problem?
Regards,
Michmich974
Regards,
Michmich974
PF v3.2, PF ext v0.5.1, Tomcat 6.0.35
Michmich974
PF v3.2, PF ext v0.5.1, Tomcat 6.0.35
- andyba
- Expert Member
- Posts: 2473
- Joined: 31 Mar 2011, 16:27
- Location: Steinfeld, near Bremen/Osnabrück, DE
- Contact:
At the bottom of this reply you will see 2 links. Follow the first one, read the Rules you find there and learn them.Michmich974 wrote:Hello,
I dig out this topic because I observed the same behavior but only with IE8.
Sometimes it work, and sometimes not.
And as the previous comment, I can observe that Ajax request is sent twice.
The first sent in fact works correctly, but the second have the RequestContext null.
Is there a fix for this problem?
Regards,
Michmich974
Take any and all appropriate actions regarding your signature.
Your question also has no Request Context but not because it is not an AJAX request but because you broke the rules and provided no information which could possibly lead to a solution. Post any question you have in its own thread and don't forget to do what the rules tell you to.
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests