primefaces-extensions

Primefaces javascript defer parsing

£可爱£侵袭症+ 提交于 2019-12-24 14:36:13
问题 Primefaces 4.0 is generating lots of overhead during page loading as seen from PageSpeed Insights: **605.3KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.** http://localhost:8888/.../primefaces.js.xhtml?... (219.5KiB) http://localhost:8888/.../jquery-plugins.js.xhtml?... (191.8KiB) http://localhost:8888/.../jquery.js.xhtml?... (95.3KiB) http://localhost:8888/.../tooltip.js.xhtml?... (34.5KiB) http://localhost:8888/.../jsf.js

pe:ckEditor doesn't work anymore after adding CombinedResourceHandler

我与影子孤独终老i 提交于 2019-12-20 02:11:22
问题 I added OmniFaces to use the CombinedResourceHandler. But now the PrimeFaces Extensions <pe:ckEditor> doesn´t work anymore. Is there any workaround for this issue? 回答1: Unfortunately, this is a known issue caused by the way how PrimeFaces Extensions loads and manages its JS resources. This was already ever reported as an issue on old Google Code host and is mentioned in the current OmniFaces known issues wiki as follows: PrimeFaces Extensions <=0.7.1-4.0.0 (and probably future versions)

using primefaces extensions (inputNumber)

假如想象 提交于 2019-12-18 16:52:06
问题 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

p:dataExporter selected rows only

天涯浪子 提交于 2019-12-18 09:11:42
问题 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"

Is it possible to print QR Code generated by primefaces extensions with p:printer (or other method)

匆匆过客 提交于 2019-12-13 02:03:39
问题 I'm unable to print a QR Code generated by pe:qrCode using p:printer tag. When I set renderMethod to img or div, it doesn't render to the screen at all. I don't see any documentation on how to use that attribute. I've seen various posts about needing other jars but it looks like that was for the older p:bacode functionality. When I print directly from the browser it will print but I am printing to labels so don't want to be printing the whole page. Since it is generated by jQuery on the

How to target entire JSF page to be blocked by p:blockUI / pe:blockUI?

雨燕双飞 提交于 2019-12-12 12:06:02
问题 The example demonstrates blocking of <h:form> by <pe:blockUI>. <h:form id="form" prependId="true"> <pe:blockUI target="form" widgetVar="blockBodyUIWidget"> <h:panelGrid columns="2"> <h:graphicImage library="default" name="images/ajax-loader1.gif" class="block-ui-image"/> <h:outputText value="#{messages['blockui.panel.message']}" class="block-ui-text"/> </h:panelGrid> </pe:blockUI> <p:commandButton id="btnSubmit" onstart="PF('blockBodyUIWidget').block()" oncomplete="PF('blockBodyUIWidget')

How to display Parent and Child ( two different objects ) in treetable primefaces?

旧街凉风 提交于 2019-12-12 10:02:52
问题 I am using Treetable component to display parent and child objects. I can able to display the parent content by using this tutorial. In my case, I am using two different objects to display the contents in the TreeTable component. Those objects are following. University Detail - It is my parent Object. It contains (Id and Name of each university) as well as child colleges. College Detail - It is my child Object. It contains (Id and Name) of each college. UniversityDetail Class public class

How to ignore validation in HDIV when integrating with primefaces datatable component

给你一囗甜甜゛ 提交于 2019-12-11 07:28:47
问题 I am using Primefaces Datatable component. This data table component creates a hidden field dynamically on the browser. <input type="hidden" id="formId:activitydescription_selection" name="formId:activitydescription_selection" autocomplete="off" value="" /> The Primefaces datatable code is as follows <p:dataTable id="activitydescription" var="type" value="#{activityBean.activityList}" rows="#{activityBean.rowNo}" rowKey="#{type.activitySchemeId}" selection="#{activityBean.activityDTO}"

Error adding CKEditor of Primefaces Extensions

旧巷老猫 提交于 2019-12-11 05:49:39
问题 I am trying to incorporate CKEditor (Primefaces Extensions) to my project to replace p:editor. The problem is that when loading the page shows the following error in the browser console: Error: [CKEDITOR.resourceManager.load] Resource name "default" was not found at "http://localhost:8080/proyecto/javax.faces.resource/ckeditor/styles.js.2.xhtml?ln=primefaces-extensions&v=6.2&v=6.2". Should be: http://localhost:8080/proyecto/javax.faces.resource/ckeditor/styles.js.xhtml?ln=primefaces

Primefaces:dialog minimizable option not working with modal

一世执手 提交于 2019-12-11 02:59:06
问题 While enable the minimize option in dialog box with modal as true, then by clicking the minimize, background modal[grey bg] not getting removed. And also, i cannot able to maximize the dialog, which is minimized at the left bottom corner. I tried using appendtobody, and its not working. Note:I am using PF 3.4.2 Thanks, 回答1: It was resolved by adding higher z-index to ".ui-dialog-docking-zone". 回答2: I don't think that it is a good idea to minimize modal dialogues just because of their nature.