codeMirror completion with special chars

Community Driven Extensions Project
Post Reply
dinco
Posts: 5
Joined: 22 Oct 2012, 10:52

22 Oct 2012, 11:19

Hello,

I added Ctrl+Space completion functionality to my codeMirror implementation with type="xml". When i return "<" xml tag from server side, i get "<" as completion output.
Do i need to make some localization to avoid this or is this the way completion works?

Thank you.
PrimeFaces 3.4.1
PF Extensions 0.6.1

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

22 Oct 2012, 11:28

Could you please check (with firebug etc.) what you receive in the http response? "<" or "<"
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

dinco
Posts: 5
Joined: 22 Oct 2012, 10:52

22 Oct 2012, 12:08

Http response has "<" as well.
All my other components work fine, this only happens in codeMirror.
PrimeFaces 3.4.1
PF Extensions 0.6.1

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

22 Oct 2012, 13:07

Please create a issue, i will try to add a flag for encoding.
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

dinco
Posts: 5
Joined: 22 Oct 2012, 10:52

22 Oct 2012, 13:17

PrimeFaces 3.4.1
PF Extensions 0.6.1

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests