Trinidad2.0.1 not working with IE11 - jsf-2

I am using trinindad-2.0.1 with JSF2.0 and it is working fine with IE8 browser. I tried to use same application in IE11 but I am getting following exception when try to use the application:
java.lang.NullPointerException at
org.apache.myfaces.trinidadinternal.ui.RootRenderingContext.getRendererManager.
There is an open and unresolved query in Trinidad for this:
https://issues.apache.org/jira/browse/TRINIDAD-2451
Can any one let me know which version of trinidad and JSF combination should be used for IE11?

There are some workarounds to make version 2.0.1 to work with IE9+, implementing a custom filter for example:
http://jonasdegraaff.blogspot.com.es/2013/11/how-to-run-your-adf-111x-application.html
But the latest stable version (2.1.0+) works with IE9+. The official download page is finally updated with it:
https://myfaces.apache.org/trinidad/download.html
You can also download it from here:
http://mvnrepository.com/artifact/org.apache.myfaces.trinidad/

Related

Upgrade Umbraco existing project from version 4.11.8 to version 7.5.4

I have successfully upgraded version 4.8.1 to 4.11.8 (I'm trying to upgrade to each minor versions incrementally step by step) but when i'm trying to upgrade the version 4.11.8 to 6.0.0, then templates, macros, and all others loading perfectly at backend side except content and document types, Please help to get rid of this issue.. Thanks in advance :)Check here - Error Displayed in Firebug in Firefox Console windowCheck here - "ajax" XHR request and response coming from the source trying to pull content
try and load this up with firebug or chrome dev tools (or similar) - you should see an "ajax" XHR request and response coming from the source trying to pull content. Inspecting the response from this should give you some more information.

Orbeon 4.7 $.browser is undefined

I have upgraded my application from orbeon 4.4 to orbeon 4.7. On loading forms, in the browser console I'm getting $.browser is undefined.
On debugging I found that orbeon 4.7 is using jQuery v1.11.0 and $.browser is removed from jQuery v1.9.
Any idea why it is still using removed/deprecated $.browser??
How to solve this??
Per the jQuery documentation, "This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin. Please try to use feature detection instead.". So you could:
Add the JavaScript for jquery-migrate to your project.
Change your code to check whether the feature you want to use is available, rather than rely on knowing in which browser it is available. (Most front-end developers would recommend you try to use this first.)

Cannot use primefaces extensions with Liferay 6.2

I'm trying to use the Primefaces-Extensions library in a Liferay JSF Portlet that is already using primefaces 4.0.
When I include any pe component, e.g a <pe:timer>, I get this error:
javax.faces.view.facelets.TagException: /html/editDoc/myProjects.xhtml #32,39 <pe:timer> Tag Library supports namespace: http://primefaces.org/ui/extensions, but no tag was defined for name: timer
at com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:304)
at com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:255)
at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:423)
at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:399)
at com.sun.faces.facelets.compiler.Compiler.compile(Compiler.java:124)
The only component I've managed to use without crashing is pe:ckEditor, which is however rendering as an inputTextarea (no toolbox etc)
I probably did something wrong setting up the primefaces-extensions library, but I don't know where to look.
I'm using:
Liferay 6.2.2 ce
primefaces 4.0
primefaces-extensions 1.2.1 (I guess this is the proper version to work with pf 4.0)
About the steps I followed: (I had a perfectly working pf 4.0 setup)
Added libs in [portlet docroot]/WEB-INF/lib/ :
primefaces-extensions-1.2.1.jar
resources-ckeditor-1.2.1.jar
commons-lang3-3.1.jar
gson-2.2.4.jar
Added xmlns:pe="http://primefaces.org/ui/extensions in xhtml file's namespaces
I had the same problem
to solve it, you should have 3 jars:
commons-lang3-3.1.jar
gson-2.2.4.jar
primefaces-extensions-2.1.0.jar
!!! you can find in the internet other version of PFE 3..., don't use it, because it's not compatible with the other jars

Help with PrimeFaces

I am working slowly through the PrimeFaces showcase, I am using NetBeans 7.0, JDK1.6, PrimeFaces 2.2.1, GlassFish 3.1, JSF 2.0, Win XP Prof
Some of the examples work fine, others don't work and then I get errors that a component doesnt exist in the library or the component doesn't have a specific attribute. I have not done any configuration and the purchased very lacking PrimeFaces Manual seemed to suggest I didn't need to
I keep reading about snapshots and am wondering, should I be using a snapshot:
1) Do I need to use this snapshot to get everything to work, if so HOW do I use it?
2) Is there any more documentation / tuts / examples/ books ... of using PrimeFaces components with the above requirements that I have, that have been tested and work.
I have tried other forums but get no response, I would like to eventually develop some apps using PrimeFaces, but can't get the answers or help I need.
On the Primefaces web page there is a "Showcase 2.2.1" and a "Labs Showcase 3.0". Maybe you tried some features of the Labs Showcase with your 2.2.1 installation?
If not, please give an example of a not working component.

ViewExpiredException after upgrading to JBoss AS 7 [duplicate]

We have JSF 2.0 Richfaces 4.0 application working perfectly fine on Jboss 6.0 and we are trying migrate it to Jboss 7.0 AS.
We are experiencing ViewExpiredException in firefox and IE for any link we click on the page. In google chrome it is working fine. Note sure what is the problem. I don't have any clue how to debug this.
Please let me know anybody experienced similar issue.
Thanks,
Mahesh
Mahesh you are experiencing https://issues.jboss.org/browse/AS7-1283
Pass -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false when you start AS 7 or add the property to your config by following https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-SystemProperties

Resources