The documentation states the attribute "readOnly":http://www.primefaces.org/showcase-ext/ ... Number.jsf
but in fact - since it is inherited from HtmlInputText - it should be "readonly" without a capital "O".
Wrong documentation: inputNumber readOnly
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
Feel free to create a pull request
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
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
code-wise it's fine. (even the inputNumber-renderer uses "readonly") - just the documentation on the website doesn't match.
(Have no idea if it's auto-generated or where it is located unfortunately - taglib file?)
edit: jupp, just the taglib is wrong.
(Have no idea if it's auto-generated or where it is located unfortunately - taglib file?)
edit: jupp, just the taglib is wrong.
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
done
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
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
-
- Posts: 9
- Joined: 04 Mar 2013, 20:50
Steps to correct this problem:
1. Open primefaces-extensions
2. Extract primefaces-extensions.taglib
3. Modify primefaces-extensions.taglib, you need to replace all tags "readOnly" with "readonly"
4. Overwrite file primefaces-extensions.taglib from primefaces-extensions with this modified file
Now your IDE will show this tag correctly.
1. Open primefaces-extensions
2. Extract primefaces-extensions.taglib
3. Modify primefaces-extensions.taglib, you need to replace all tags "readOnly" with "readonly"
4. Overwrite file primefaces-extensions.taglib from primefaces-extensions with this modified file
Now your IDE will show this tag correctly.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 23 guests