Questions tagged as 'primefaces'

0
answers

Dynamic menu with c: foreach and bootstrap

I'm having trouble implementing the menu using c:foreach . The menu appears only that it does not load the submenus. My parent list loads all data from the menu table with the null parent field. And the todosFilhos list loads all...
asked by 23.10.2018 / 20:58
3
answers

Component Autocomplete Primefaces "disappears from the screen" after update on ManagedBean

Good afternoon, I'm trying to insert a product automatically after reading the code and update the components in the managedBean . However, the autocomplete component disappears from the screen after I do the context.update (panelGroup) N...
asked by 17.10.2018 / 23:20
0
answers

LazyDaModel with PrimeFaces DataTable

Personal I have an application developed in Java with primeFaces, Hibernate and MySql database. I developed a method to update my dataTable page by page (Lazy loading). It is a page of Nota Fiscal that loads in the rowExpendive the items of the...
asked by 12.10.2018 / 17:51
0
answers

Menu accordion with primeNG adjusting to screen size

Good afternoon, I'm studying PrimeNG with Spring and I want to do something similar to what's on the site. In the primengSite , when the screen dims, the left side menu disappears and creates an upper button. I'm lousy with front-end and I want...
asked by 08.10.2018 / 22:09
0
answers

InputText dento fe OverlayPanel with Null value

I have a datatable with a button column that says "Edit" when clicking, it opens an OverlayPanel with InputText, in this input I type and I click save, however the value when arriving in the method arrives as Null. XHTML Page <!DOCTYPE ht...
asked by 07.10.2018 / 23:23
0
answers

Changing the font size of the title of a LineChartModel graphic

I need to change the font size of the chart title, so far I have this: <script type="text/javascript"> function alterarLegend() { this.cfg.highlighter = { tooltipAxes : 'y'...
asked by 02.10.2018 / 15:01
1
answer

How to change the legend of a Primefaces line chart?

I'm looking to change the font size and legend square of a Primefaces chart via JavaScript. My code: <script type="text/javascript"> function alterarGrafico() { this.cfg.highlighter = { tooltipAxes : 'y'...
asked by 27.09.2018 / 15:44
1
answer

JSF and JavaScript

I have the following question: How does JSF work with JavaScript? I'll be more specific. I'm working on a project with JSF (primefaces), but I can not seem to do something simple with JavaScript, which would be a var btnCarregaAnexo = docum...
asked by 03.10.2018 / 21:27
0
answers

Use of the component label

The components of primefaces have the label attribute. But by default when we are going to create a component like autoComplete we first use outputLabel and make the association through for . As in the example: <p...
asked by 02.10.2018 / 19:35
1
answer

Error 500 when trying to read a PDF

In the view it looks like this: <p:media cache="false" value="#{documents.readPDF()}" width="640px" height="480px" player="pdf" /> No bean looks like this: public StreamedContent readPDF() { FileModel pdfModel = getDocumentP...
asked by 22.09.2018 / 03:16