CodeMirror code completion not working

Community Driven Extensions Project
Post Reply
joelconv
Posts: 11
Joined: 26 Mar 2013, 19:18
Location: Newcastle, UK

15 Nov 2016, 13:36

Hi there,

I am trying to use the code completion functionality of the pe:codeMirror component, but it's not working. The demo on the extension showcase isn't working either, with the same error, so it's not my scenario :-)

http://www.primefaces.org/showcase-ext/ ... letion.jsf

Anyone had any success with this using a complete method on the managed bean?

I'm getting the following javascript error, after the managed bean suggest method is called (so it does get that far)

TypeError: Cannot read property 'getSuggestions' of undefined

P.S > This is version 6.0.0 and not what my footer says.
PrimeFaces 7.0.15
Spring Boot 2.3.1 (Embedded Tomcat)
JSF 2.2 (Mojarra)
Hibernate + MySQL

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

15 Nov 2016, 13:58

Its fixed in trunk but we not do a release until PF 6.1.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

joelconv
Posts: 11
Joined: 26 Mar 2013, 19:18
Location: Newcastle, UK

15 Nov 2016, 15:01

OK, thanks. Much appreciated for the quick response.
PrimeFaces 7.0.15
Spring Boot 2.3.1 (Embedded Tomcat)
JSF 2.2 (Mojarra)
Hibernate + MySQL

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests