Questions tagged as 'primefaces'

1
answer

Upload image after selected item

In my application, the user defines a root directory. After defining the root there is a listing of files in the directory. When the file is selected there is another directory where an image with the same file name exists. I want that when sele...
asked by 02.02.2017 / 18:45
1
answer

How to disable a button during the ajax request with primefaces?

How to disable a button during the ajax request with primefaces using p: ajaxStatus. I wanted to do this in a generic way, ex: all buttons will be disabled during the ajax request;     
asked by 10.10.2016 / 16:31
1
answer

How do I make my image appear inside the ui: repeat tag?

I have a question. I'm using JSF and PrimeFaces to make a website for ebooks and I need to display the ebooks that are stored in the database. I can register the ebook normally, but at the time of displaying, the cover image of the ebook does no...
asked by 19.08.2016 / 02:23
1
answer

Feed Array PrimeFaces

Good afternoon, folks, I have 2 related table, one of orders and another of items of the order, so I thought to feed an array with the information of the order items and on the same screen put order information and when I click the save order...
asked by 23.12.2015 / 18:35
2
answers

I can not generate a pdf file

Personal how to generate PDF file using ITEXT with JSF. The problem is the following, when I ask to generate the PDF file in a class having only the MAIN method, it generates normally, but when I ask to generate the XHTML page by BUTTON it does...
asked by 27.11.2015 / 20:27
0
answers

use p: contextMenu with p: editor

I tried to use contextMenu of Primefaces with the Editor component, but it does not work. The menu only appears if you right-click on the toolbars. The body of the Editor component gets the name of the id concatenated with _input I tr...
asked by 31.08.2015 / 22:55
1
answer

Return value processed in Javascript for the managed bean

Return value processed in Javascript for the managed bean is it possible? What's different about this process is that I run the JS method on the bean, like this: RequestContext.getCurrentInstance().execute("getResult()");     
asked by 18.09.2015 / 21:37
1
answer

CommandButton - Error Calling Method

I'm a beginner with JSF , web development, and I'm having a problem using the Dialog component, PrimeFaces , within DataTable . The idea was this: We have a gift list for a bridal shower, the party guest chooses the p...
asked by 02.11.2015 / 21:30
0
answers

p: dialog does not work

I'm following the showcase example but it does not work. It was to appear an icon and after I clicked on this icon it opened the Dialog but when I open the page it is already this way: Thisisthecode:<body><h:form><h:outputLinkv...
asked by 10.06.2015 / 15:47
1
answer

Action on center text button

Someone could help me as I could do so when when I type any text into an input, there I have a button on top of my input where I want to center that typed text. Could someone help me how can I do it? Here's the button I want you to do the act...
asked by 15.06.2015 / 20:19