Hi,
I am using KeyFilter like:
<p:inputText id="price" value="#{productTpBean.product.price}" required="true" llabel="price">
<pe:keyFilter mask="money" />
</p:inputText>
It work well in the normal page, but if this page is dynamically included like:
<ui:include src="#{controller.mainArea}" />
Then this page display errors on javaScript , and at the same time disable functions inside of page, if I refresh this page, then everything is working normally.
Can anyone figure out what happened for me?
Thanks
page is frozen with primefaces ext
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
i think it's because:
the only pe component you include, it with dynamic includes. Right?
So, include the primefaces-extensions.js manually in your page:
<h:outputScript library="primefaces-extensions" name="primefaces-extensions.js" />
the only pe component you include, it with dynamic includes. Right?
So, include the primefaces-extensions.js manually in your page:
<h:outputScript library="primefaces-extensions" name="primefaces-extensions.js" />
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
Hi,
As I said this is the same limitation as in PrimeFaces. If you have no PrimeFaces Extensions components in the main page, dynamic includes will not work. As workaround you have to include primefaces-extensions.js in the man page (somewhere in h:head).
This should work. Can you try this please and report here?
As I said this is the same limitation as in PrimeFaces. If you have no PrimeFaces Extensions components in the main page, dynamic includes will not work. As workaround you have to include primefaces-extensions.js in the man page (somewhere in h:head).
Code: Select all
<h:outputScript library="primefaces-extensions" name="primefaces-extensions.js"/>
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests