primefaces-5.0.jar supports which extension jar

Community Driven Extensions Project
Post Reply
priyanka30
Posts: 30
Joined: 15 Jan 2014, 11:06

21 May 2014, 14:09

I have upgraded my application from primefaces 3.4.2 to primefaces-5.0.jar and primefaces-extensions 0.6.0 to primefaces-extensions-1.1.0.jar.I am getting below java script error

SCRIPT5007: Unable to get property 'resolveComponentsAsSelector' of undefined or null reference
tooltip.js.xhtml, line 77 character 193

Please let me know with primefaces - 5.0 jar which version of extension jar should be used?

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

21 May 2014, 14:12

Please use latest primefaces extensions 2.0.0 release which is compatible with PF 5.0.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

dsearles
Posts: 4
Joined: 21 May 2014, 17:38

21 May 2014, 17:53

I'm seeing a Javascript error when I click a p:selectOneMenu with a pe:inputNumber tag on the page from PFE 2.0.0 with PF 5.

If I change the pe:inputNumber tag to p:inputText then no Javascript error occurs. While I understand the error is occurring in PF 5 code, the error does not occur if no PFE tag is being used so there must be some sort of negative interaction between PF 5 and PFE 2.0.0

The stack trace of the Javascript error is shown below:

Code: Select all

Uncaught TypeError: Cannot read property 'msie' of undefined 
PrimeFaces.widget.SelectOneMenu.PrimeFaces.widget.DeferredWidget.extend.show 
(anonymous function) 
jQuery.event.dispatch 
elemData.handle 

dsearles
Posts: 4
Joined: 21 May 2014, 17:38

22 May 2014, 17:34

I found this issue to be caused by a faulty repackaging of the PrimeFaces 5.0 JAR. When the original JAR was used, the issue disappeared. Sorry for the waste of time...

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

26 May 2014, 06:24

why you need to do repacking of pf 5.0 jar when pf 5.0 community release is already avaialable.Might be you used PF 5.0 Snapshot for some critical issues.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

dsearles
Posts: 4
Joined: 21 May 2014, 17:38

27 May 2014, 00:04

We are using PrimeFaces 5 in Liferay and we load jQuery on every portal page already via a Liferay hook (currently the same jQuery 1.11.0 as used in the PF 5 JAR) but we need to control the jQuery version directly without the possibility of a different version being loaded by the PF 5 JAR. We rebuilt the JAR without the embedded jQuery resources but we have not yet done the same with the PF Exetnsions JAR so that could be the source of the strange behavior.

barrychoc
Posts: 11
Joined: 28 Dec 2011, 07:38

18 Aug 2014, 22:46

I have posted a bug to primefaces extensions

<pe:inputNumber> does not fire change or valueChange events with PF5 PE2, but it does work with PF4

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

19 Aug 2014, 09:08

Thanks for reporting.If you find any compatibility issues then please raise them in a separate topic.Is it replicated on showcase as well? Also don't forget to include issue URL.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests