Category "jsf"

Problems with the attribute "placeholder" of an <p:inputText tag when the value of the inputText is empty

I am using JSF Mojarra 2.3.9.SP02 with PrimeFaces 7.0 running on Wildfly 17 with the PrimeFaces's own Sapphire template. I have a severe problem with one <p

ClassCastException for <h:selectManyCheckbox> with validation on ajax update when INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL is active

I have a <h:selectManyCheckbox> that has a required-validation on. If I submit the form, I get a validation error when nothing is selected. So far, this i

When nesting another datatable in rowexpansion, splitbutton stops working when 2 or more main rows are loaded

So I'm trying to nest a datatable within another datatable in the rowexpansion tag as follows: <h:form> <p:dataTable var="item" v

Table truncated when a zoom is applicated

I have with this code a problem that is when I increase the zoom of navigator the table is truncated and the add, edit,search, save buttons disappear. So how to

Why selected items is always empty in the Bean for Primefaces selectCheckboxMenu

I am using selectCheckboxMenu from Primefaces in a JSF project, the problem is that the "selectedDepartments" object in the Bean is always empty. Here is the co

Argument bean must not be null after upgrading my faces from 2.2.14 to 2.3.0

org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument bean must not be null at org.jboss.weld.util.Preconditions.checkArgumentNotNull(Precon

JSF DocumentViewer fails to display PDF in @ViewScope

I am relatively new to JSF thus need some help. Problem: I have webpage that displays a PDF. Thus I created a xhtml as follow <p:panel rendered="#{mainAppVie

PrimeFlex not applied on PrimeFaces

I tried to setup PrimeFlex (3.0.1) for PrimeFaces (10.0.0). I used css files as provided in dist folder of PrimeFlex repo. Also I followed the instructions give

Disable/ Enable for Next and Back button in PrimeFaces Wizard

I am new to JSF Primefaces I am using Primeface wizard, where I need to disable/ enable the Next/ Back button in the wizard using java. I have tried with below

JSF and primefaces suggestions in vscode

How can I get suggestions/autocomplete for JSF syntax and primefaces components in VScode? I'm developing a java web application and trying to migrate my work

Is there any reason to use stateful EJB in a CDI session scoped bean

I am experimenting with Jakarta EE and Jakarta Faces (JSF). I just made a CDI named session scoped bean (as JSF managedBean's are deprecated now), and was wonde

How do I set the min attribute for <input type="date"> via h:inputText?

I have the following HTML calendar: <h:inputText t:type="date" value="#{data.dueDate}"> <f:convertDateTime pattern="yyyy-MM-dd"/> </h:inputTe

Use SortedSetDocValuesField to sort multiple fields - Error: unexpected docvalues type SORTED_SET for field

I am just implementing a search with Lucene 5.5.0 for a JSF web application. In the application, several user can edit documents and very simple (only date and

(JSF UI:PARAM) java.lang.IllegalArgumentException: can't parse argument number

When i use <ui:include src="File.xhtml"> <ui:param name="anexoTarefaBeanEspecializado" value="#{myBean}"/> </ui:include> And this c

Adding a value to an empty dataTable results in javax.el.PropertyNotFoundException

I got a dataTable and I am trying to add entries to the backing ArrayList of the given table. SelectedStep is null after the component is loaded. All Getters an

Primefaces 5.1 start ajaxStatus during preRenderView

In primefaces is possible start "ajax status" from a method of a backing beans? I have the following view: <ui:composition xmlns="http://www.w3.org/1999/xhtm

Can not update component without a attached renderer. Component class: "class org.primefaces.component.menuitem.UIMenuItem"

I have an warning on my page that is: Can not update component without a attached renderer. Component class: "class org.primefaces.component.menuitem.UIMenuIte

Will PrimeFaces Dialog Framework break view scope as compared to p:dialog?

I'm using PrimeFaces 5. I would like to open a dialog when a button is pressed. <p:commandButton value="add upload" actionListener="#{theForm.openUpload}"

How to place a JSF flow in a subfolder?

I'm introducing a JSF Faces flow into my application. This works, following the oracle documentation. But, only in the root folder. Is it possible to place the

PrimeFaces uploadFile, trying to upload multiple files and stopping at one

So basically, I have a fileUploader that I want to do multiple files at a time. When I click upload with 2 or more files, it runs the event handler once, and t