Primefaces extension code mirror is not working as expected.
Loaded primefaces 6.1 and its supporting jar's. commons-lang3-3.1,gson-2.2.4,primefaces-extensions-6.1.0
primefaces-extensions-6.1.0- doesn't have resources.primefaces.extensions.codemirror and got the below error
WARNING [org.primefaces.util.ResourceUtils] (default task-58) Resource not
found, ignore it. Name: codemirror/codemirror.js, Library: primefaces-
extensions
. I added those css and js manually. Now completemethod is not firing and got the below exception in browser.
Uncaught SyntaxError: Unexpected token <
at eval (<anonymous>)
at jquery.js.xhtml?ln=primefaces&v=6.1:14
at Function.globalEval (jquery.js.xhtml?ln=primefaces&v=6.1:14)
at text script (jquery.js.xhtml?ln=primefaces&v=6.1:25)
at af (jquery.js.xhtml?ln=primefaces&v=6.1:25)
at cf (jquery.js.xhtml?ln=primefaces&v=6.1:25)
at i (jquery.js.xhtml?ln=primefaces&v=6.1:25)
at Object.send (jquery.js.xhtml?ln=primefaces&v=6.1:25)
at Function.ajax (jquery.js.xhtml?ln=primefaces&v=6.1:25)
at Function.bH._evalUrl (jquery.js.xhtml?ln=primefaces&v=6.1:25)
link of jar files used:
https://files.fm/u/ak23jeht
primefaces extension codemirror
It looks like you are using PF 6.1.14. If so please see this thread for a custom patch version of PFE that goes with it...
See: viewtopic.php?f=14&t=52458
See: viewtopic.php?f=14&t=52458
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests