Questions tagged as 'jsf'

0
answers

How do I show an already selected item in a jsf datatab that was previously edited

I'm trying to see these items that I selected on the include screen also selected on the editing screen and I'm not getting: this is my inclusion jsf: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
asked by 15.11.2016 / 14:22
1
answer

Problem for application reading xlsx file in centos error: libgcc_s.so.1: wrong ELF class: ELFCLASS64

I have a big problem and I can not solve it I tried to look for some tips on the internet but it did not work. So here I am and would like to know if anyone can help me. I have a web application that is hosted in a VM CENTS. One of the functi...
asked by 15.11.2016 / 02:00
0
answers

FileUpload java saves files in an improper folder

I found an example of fileupload on the internet and added it to my project. However, it uploads the files to a folder inside the glashfish server. This folder is named /config , and all the way I put it to create it, it creates only withi...
asked by 21.01.2017 / 16:21
1
answer

Domain configuration in tomcat- jsf applications

I have a jsf application running on the company server, using Tomcat 8.5. Currently I make the ip address of the server through the service of the site noip.com configured in my router. Only recently the service is failing. I would like to know...
asked by 20.10.2016 / 14:13
0
answers

Making a data filter

I have a page where I get data from a table in my database. In it, a field and a form, to filter data from the table. The following code is used to make the filter: <p:panel header="#{language['tela.cadastro.pedido.filtro']}" rendered="#...
asked by 17.10.2016 / 18:39
2
answers

View External Image to Server p: graphicImage

I'm using it this way: XHTML: <p:graphicImage value="#{emitenteBean.myImage}" Bean: private StreamedContent myImage; try { FileInputStream fileInputStream = new FileInputStream("/Users/user/files/minhaImg.jpg"); myImage = new De...
asked by 18.10.2016 / 21:29
0
answers

JSF + DDD: Is it correct to use the domain entities within the managed bean?

1 - Is DDD correct to let domain objects be fed by JSF through EL? // classe da camada de dominio public class Cliente { private String nome; // getters e setters; } // bean ligado diretamente ao objeto de dominio...
asked by 04.11.2016 / 18:53
0
answers

Dynamic menu with JSF and Primefaces, when it gets responsive it does not work

I have a dynamic menu on my site, which is brought through categories previously registered in the database. Within each category, you have a list of subcategories. When I click on a subcategory, it would have to bring me the related stores t...
asked by 05.10.2016 / 15:59
1
answer

How do I search for the ID's in the bank and display the names on the screen?

In my JSF + Primefaces project, I have the following entities: @Entity @Table(name = "geracao") public class Geracao { @Getter @Setter @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Getter...
asked by 23.11.2016 / 16:51
0
answers

java.lang.IllegalStateException: Can not create a session after the response has been committed [closed]

Good morning guys, I have a strange problem in my application only after I generate War and send to Integrator, the application does not even open the Login screen, this error is returned: INFO: Exception when handling error trying to reset...
asked by 03.10.2016 / 19:23