Questions tagged as 'jsf'

2
answers

JSF panelGrid does not work

The code below should show a simple screen split between names and input areas, but panelGrid is not working, what's wrong? When running, nothing appears. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http:...
asked by 06.11.2016 / 05:32
1
answer

How to change page after inserting object in database?

I created a JSF page with a client form, after saving client by pressing the button register. The object persisted in the DB, and consequently I would like you to switch pages by going to index.xhtml or clearing the form fields to continu...
asked by 09.11.2014 / 20:36
2
answers

Validation with JSF

I want to validate the form displayed in the image in a different way than the framework imposes on me. Validation would be something like an alert, meaning the user would be informed that they can only add data if they select a combo option. Th...
asked by 23.07.2014 / 15:10
1
answer

JavaWeb with xhtml

How can I make a menu to enter the date of birth to register a new registration? My code looks like this: <!-- Nome --> <h:outputText value="Nome" /> <h:inputText value="#{CadastroDados.nome}" /> <br /&g...
asked by 12.05.2014 / 23:36
1
answer

FileUpload does not load the listener in JSF 2.2

I am migrating a project to JEE7 from PrimeFaces 3.5 to 5.0 and I have a problem with FileUpload. It does not load the file in the JSF 2.2 event listener. Follow the xhtml code: <p:fileUpload id="import" value="#{fileBean.file}" mode="si...
asked by 08.05.2017 / 22:21
2
answers

Freeze background when calling Popup?

What would be the best way to freeze background processing when a popup is called? <h:link onclick="showModalPopUp(); return false;">link </h:link> The best way to pause screen processing while the popup is running, when closed,...
asked by 27.04.2016 / 18:02
1
answer

p: selectOneMenu not listed

I am in the fight trying to populate a selectOneMenu with data of a Enum , but when I gave up and put the static data with f:selectItem I realized that even then the field is empty. Even with the value filled with #{clie...
asked by 21.09.2015 / 18:56
1
answer

Error when trying to update in a dialog PrimeFaces

I have a button that stays inside a column in a dataTable, this button opens a dialog that contains a table with some data. But when I try to give a update=":frmPrin:dialogParecer" of the following error on the page:    Can not...
asked by 19.08.2015 / 18:34
1
answer

How to assign new value from SelectOneMenu to entity?

I have a table with several columns, among them I have one that is a SelectOneMenu , the table is loaded with a list of Inscricao . In the subscription status column I have a SelectOneMenu with the statuses: {"Solicitada...
asked by 06.07.2015 / 02:14
2
answers

Tooltip or Hint in rowEditor in Primefaces

I'm having a problem, I wanted to add a tooltip or hint by hovering over the edit, confirm, and cancel icon for roweditor and celleditor of Primefaces . I've researched and tried to use css but it did not wor...
asked by 23.08.2014 / 16:00