primefaces-extensions

How to hide “ln” and “v” implementation/version related parameters for PrimeFaces resources

Deadly 提交于 2019-12-02 05:40:40
I'm using primefaces and primefaces-extensions in my application. For each and every resources like .css and .js files there's also an "ln" and "v" query parameters in the GET request for that resource, like below: primefaces-extensions.js?ln=primefaces-extension&v=6.1 validation.js?ln=primefaces&v=6.1 As a security concern, since these parameters shows the exact version of the framework I'm using, how can I hide them? Hiding the 'ln' is kind of useless since with a very small amount of effort, you can get the same information from the javascript files and the source of the page too ('PF() is

PrimeFaces Extensions pe:sheet component live scroll

送分小仙女□ 提交于 2019-12-02 02:08:25
Is live scroll possible in pe:sheet component primefaces. For datatable I had performed live scroll and it was working. Any work around for live scroll in pe:sheet? I am the author of the component and I can answer that there is no LiveScroll of the sheet. That being said...The sheet was meant to handle a large volume of data and when you make edits it only submits the single cell you edited, unlike the PF DataTable which submits the whole form. I would say give it a try to see if it meets your needs. How many rows are you trying to load? 来源: https://stackoverflow.com/questions/51878258

PrimeFaces Extensions pe:sheet component live scroll

一曲冷凌霜 提交于 2019-12-02 01:51:15
问题 Is live scroll possible in pe:sheet component primefaces. For datatable I had performed live scroll and it was working. Any work around for live scroll in pe:sheet? 回答1: I am the author of the component and I can answer that there is no LiveScroll of the sheet. That being said...The sheet was meant to handle a large volume of data and when you make edits it only submits the single cell you edited, unlike the PF DataTable which submits the whole form. I would say give it a try to see if it

Using ckeditor in jsf page

两盒软妹~` 提交于 2019-12-02 00:30:28
How do I use a custom CKEditor in a jsf page ? I'm having lots of trouble trying to implement it. What I did: I made a custom CKEditor with the ckEditor builder Downloaded and placed it in my webcontent folder. test.xhtml page: <script src="/ckeditor/ckeditor.js"></script> <form> <textarea name="editor1" id="editor1" rows="10" cols="80"/> <script> CKEDITOR.replace( 'editor1'); </script> </form> Not working, just had a standard textarea. So I changed the src to: <script src="ckeditor/ckeditor.js"></script> It's was working but it wasn't my custom CKEditor build it was the vanilla one. So I used

using primefaces extensions (inputNumber)

落花浮王杯 提交于 2019-11-30 14:33:11
i'm new in primefaces word , and i need to use primefaces extensions ( inputNumber ) in the XHTML file I add the taglib : xmlns:pe="http://primefaces.org/ui/extensions" when adding the jar : primefaces-extensions-0.6.3; I have an error : La ressource demandée n'est pas disponible. When removing it, the application works but the inputNember doesn't show and I get this error: Warning: This page calls for XML namespace http://primefaces.org/ui/extensions declared with prefix pe but no taglibrary exists for that namespace. Ghizlane La To work with primefaces extensions i should add to the XHTML

p:dataExporter selected rows only

随声附和 提交于 2019-11-29 16:19:32
I have a <p:dataTable> with the multiple selection checkbox. I want to export only some rows to my pdf. Right now when I try to export based on the selected rows it gives me only the rows from the top. For example if I have 10 rows in my datatable and I select 1,4,7,9 to be exported to my PDF. I always get rows 1,2,3,4 in my pdf. I am using the PrimeFaces 5.1 jar. I tried it with 5.2 jar also, Still same issue. <p:dataTable id="dataall" var="cars" value="#{carsEntry.carssUser}" rows="10" rowIndexVar="rowId" paginator="true" rowKey="#{cars}" paginatorTemplate="{CurrentPageReport} {FirstPageLink