Questions tagged as 'jsf'

0
answers

I am trying to list the requests of a client but have a DAO error which I can not identify

Button that calls the page that lists the requests: <p:commandButton value="Avançar" id="avancar" action="#{clienteMB.avancarPedido(pedido)}" styleClass="ui-priority-primary" ajax="false"/> Next Request Method in Manageable Bean:...
asked by 18.09.2018 / 17:25
1
answer

How to count how many occurrences of an attribute in a list are equal to a value? JSF

I need to count how many statuses are equal to '1'. I used this to count how many objects I had on the list and it worked. Now I can not count only those with status equal to 1. <h:outputText value="#{fn:length(cur.listaProdutosManutencao)}...
asked by 12.09.2018 / 16:35
0
answers

Dynamic DataTable with Primefaces 6 + Display Objects on the same line

Good afternoon. Guys, I looked at the primefaces showcase and I did not find a solution. My question is the following I have a list of open accounts and I would like to click open a page showing the open accounts, but next to each other in the D...
asked by 11.09.2018 / 21:55
0
answers

JSF with PrimeFaces - Dynamic DataModel

I'm trying to make a screen in JSF that has a DataTable that references a DataModel dynamic, I'll show the code to exemplify: <p:datatable value="#{bean.dataModel(id)}" var="i"> <column (resto do código com colunas e...
asked by 10.09.2018 / 06:12
0
answers

Use Update for HIbernate in a form Primefaces

I have an Xhtml page with a DataTable and within that Datatable has a list with the result of items that came from the Database, one of the columns has a button called edit where it opens a form with input'se that inputs are filled with the data...
asked by 15.09.2018 / 04:42
1
answer

PrimeFaces 6.2 onCellEdit - getNewValue () nn is receiving the new value

I'm doing a project with PrimeFaces and on a screen I use a DataTable with cellEdit and I followed the showcase example right and tals however the getNewValue and the getOldValue are coming null and this is breaking my application,...
asked by 09.09.2018 / 06:11
0
answers

JSF web.xml error

I have a problem on the first line of my web.xml , on web-app . Below is the body of xml. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://...
asked by 07.09.2018 / 04:26
2
answers

HTTP Error 500 in JSF

I'm having problems with HTTP error 500. I have already changed the application of Eclipse Kepler to Neon, already gave a clean in the project. I circled the project on the server with no open browser and nothing. I tried searching for the...
asked by 07.09.2018 / 16:05
0
answers

Retrieve PDF from the Database and display it on the screen

I have a WEB application, using JSF and Primefaces and MYSQL. It has a product registration screen and in it I need to select a PDF, I was able to attach this PDF and an "insert" in the Bank as "BLOB", but at the time of listing, I can not. I...
asked by 05.09.2018 / 19:21
1
answer

Error while trying to list employees on the project sale screen

I have the following error accessing the sales completion screen, it does not show the registered employees, but the clients show. Screenshot: View:<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...
asked by 02.09.2018 / 07:14