Questions tagged as 'jsf'

1
answer

Floodfill with primefaces. Get click coordinate in p: graphicImage

I want to make an image painting application using java. As it is for the web environment I chose primefaces as a framework for the vast documentation that exists about it. In the meantime I did not find any component that was useful in this...
asked by 21.07.2014 / 19:14
1
answer

File structure and deployment of JSF applications with JBoss EAP in Debian 8

I would like to know how to configure JBoss EAP to deploy Java applications (JSF, Hibernate, PrimeFaces, Maven) in the /var/www/ folder. The structure of the /var/www folder is as follows: /var/www /php /java /...
asked by 27.01.2018 / 23:10
1
answer

Selectonemenu Field (Primefaces) does not save on the bank

I come to ask for your help again, because I need to finish my CBT. I have dialog that has multiple fields, one of them is <p:selectOneMenu> . When I pre-select all the fields and save, the fields are all saved, except the...
asked by 28.11.2017 / 05:44
1
answer

How to merge columns h: column in JSF?

How can I merge columns or rows in JSF 2.0? Code<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http:/...
asked by 29.09.2017 / 17:01
1
answer

Illegal attempt to map a non collection as a @OneToMany, @ManyToMany or @CollectionOfElements

Good Night. I have the following error in Hibernate:    org.hibernate.AnnotationException: Illegal attempt to map a non collection as a @OneToMany, @ManyToMany or @CollectionOfElements: bestroute.modelo.Peca.grupoPeca I can not display on...
asked by 01.10.2017 / 03:17
1
answer

JSF REQUIREMENTS

If I make a Request for my bean and this bean will make a query in a list. A list of cpf for example. Can I update the client of this request with every result of this loop made in the bean? I ask this because often this list can be extensive...
asked by 14.08.2017 / 07:57
2
answers

JSF Redirect

I want to redirect the main page to login page so I configured faces-config.xml together with the main page below my code for you to see Code faces-config.xml <?xml version='1.0' encoding='UTF-8'?> xmlns:xsi="http://www.w3.or...
asked by 20.06.2017 / 20:32
1
answer

After request AJAX input does not return value to ManagedBean?

I am building an address registration form and I have implemented the combos for State and City respectively. They work in the usual way, with the combo of the city being filled according to the value selected by the state combo. I have read...
asked by 04.04.2017 / 03:13
2
answers

pass several parameters in ireport

I have the following problem: I created in Java a selectcheckbox , where the person will select several objects; when I send to managed bean , I get these objects listed. Now I want to send as a parameter to ireport to generat...
asked by 16.06.2017 / 20:33
1
answer

Modularising registration forms in JSF is possible?

The question is this ... although the problem does not involve JPA / ORM I find it interesting to contextualize. My project has an @Entity Address and as the name suggests it is an entity responsible for storing data related to the real est...
asked by 21.03.2017 / 04:20