Questions tagged as 'primefaces'

0
answers

Primefaces tooltip with image and filter in table

Hello I have the following situation: a users table, and users have photos, I would like to move the mouse over the user name, present a tooltip of the primefaces with the image of the user, which is already happening. The problem arises w...
asked by 25.01.2017 / 18:21
0
answers

View Directory Image

I need to display an image in the application which is in the application's external directory. I am using it as follows, but image is not displayed. It looks as if the path is incorrect. public StreamedContent getImagem() { DefaultStr...
asked by 24.01.2017 / 17:52
0
answers

JSF page call error + Primefaces

I have the following menu: <h:form> <p:menubar style="margin-top: -20px; margin-bottom: 20px"> <p:submenu label="Cadastros"> <p:menuitem value="Pessoa" /> <p:menuitem value="La...
asked by 26.01.2017 / 13:28
1
answer

Problems with background

I'm having trouble filling my background with a specific color in the case, blue. Here is the code for my application: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt...
asked by 29.11.2016 / 18:06
1
answer

Selenium run task to the end

In tests with Selenium, running through Eclipse, when I run several at the same time. The errors happen: First, do not finish running the task open another browser. Begins to run the second test without even finishing the first Problem a...
asked by 25.10.2016 / 18:42
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

Problem with p: dataTable, ajax, ui: include

I'm having a problem, I have a p: dataTable that does not work "sortBy", nor pagination. When I test the code of this table on a simple page it works, however when I use it in my project it does not work. In my project I call the page that has t...
asked by 18.11.2016 / 20:15
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

Update on component created with composite does not work

Staff created a component using composite <composite:implementation> <p:dataTable id="#{cc.attrs.id}" </dataTable> </composite:implementation> But when I call it in my code it works normal but at the t...
asked by 27.09.2016 / 16:32