Questions tagged as 'xhtml'

2
answers

Update in datatable after updating data [closed]

Speak, I'm having a problem updating a column in my datatable after an edit. Use a dialog to edit the data you want. Everything is saving in the database, the problem is when updating the table, the fields are being updated with the new values,...
asked by 16.06.2017 / 13:56
2
answers

id problem already exists in view

Hello everyone. I am having an .xhtml file that is giving an id error already encountered in the preview. The error itself is GRAVE: JSF1007: Duplicate component id frmSearch: id found in preview. I searched the internet for this error b...
asked by 31.08.2016 / 02:23
2
answers

Prohibit duplicate registration

Hello everyone. I have a program that works with user registration. In this program I would like to implement a function that prohibits cpf or email registration that already exists in the database. As a database I'm using postgreSQL and Java...
asked by 24.08.2016 / 06:27
2
answers

DataTable with jsf

I'm having a hard time using the primefaces datatable along with jsf, I've tried to implement it in a way: <p:tabView> <p:tab title="Alterar Usuarios"> <h:form prependId="false"> <h:panelGrid c...
asked by 18.02.2016 / 16:38
1
answer

Problems with p: poll that does not find Id

Folks, I have a div that needs to be refreshed in 5s periods, but it is giving error that ID is not found. <h:form id="form"> <br /> <center><h:outputLabel value="Visão Geral" class="titlePrincipal" /></c...
asked by 27.10.2015 / 16:09
1
answer

Rendered does not work on dataTable

Good afternoon. I have a simple problem. However, I have difficulty solving it. I have these 2 methods to control my Rendered from dataTable : // Filtra o simulado.. @Transactional public void gerarSimulado() { this.qu...
asked by 09.11.2015 / 21:26
1
answer

Create style and not stylize xhtml css

Live, I'm trying to create a title from type: Shopping .com I want ".com" to be in bold but I do not want to use "em" because it is not a paragraph. Do you know how to do this?     
asked by 26.07.2014 / 17:18
0
answers

InputText dento fe OverlayPanel with Null value

I have a datatable with a button column that says "Edit" when clicking, it opens an OverlayPanel with InputText, in this input I type and I click save, however the value when arriving in the method arrives as Null. XHTML Page <!DOCTYPE ht...
asked by 07.10.2018 / 23:23
1
answer

JSF and JavaScript

I have the following question: How does JSF work with JavaScript? I'll be more specific. I'm working on a project with JSF (primefaces), but I can not seem to do something simple with JavaScript, which would be a var btnCarregaAnexo = docum...
asked by 03.10.2018 / 21:27
0
answers

How to load a chart after the selected date? I'm using JSF with PrimeFaces Chart

I want to load the chart as soon as the date is selected, but I can not get the date value. NOTE: The date is null, giving NPE (Null Pointer Excpetion) And my buttomCommand is only working as a test, to see if it enters the method XHTML: &l...
asked by 21.09.2018 / 17:32