Questions tagged as 'jsf'

1
answer

JXL generate excel sheet with decimal value in Brazilian standard

I'm using Java and Jsf on my system and there's a screen where you have the option to generate an excel spreadsheet. The generation of the worksheet is ok. The problem I'm encountering is in columns that have numeric values of type Double. For e...
asked by 26.10.2018 / 19:16
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

Vision layer is not updating

I want to get my user to check the Pause to change his status from Available to Rest. In the bank it arrows the status but in the Vision it continues as available even giving me refresh. I've tried countless ways but I can not. I realized tha...
asked by 06.10.2018 / 20:30
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
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
0
answers

Project maven with JSF 1.2 does not publish in glassfish 4.1.2

I have a maven application that uses JSF 1.2, RichFaces 3.3.3, Hibernate 3.2.0, Glassfish 4.1.2, generated in eclipse mars. However when trying to upload the application to the server it gives the following error: com.sun.faces.config.Configur...
asked by 01.10.2018 / 19:38
0
answers

Two lists in the same dataTable to work the data

<rich:dataTable border="0" id="listaMateriais" value="#{atendimentoManutencaoMaterialAction.requisicaoManutencaoDetalhe.listaProdutosManutencao}" var="cur" styleClass="table table-striped table-bordered table-condensed" rows="10" > Supp...
asked by 24.09.2018 / 23:07
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
0
answers

I can not pass data from the xhtml pro managed bean

Screen that has parameters <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://ww...
asked by 21.09.2018 / 01:38
0
answers

How to load a chart after the selected date? I'm using JSF with PrimeFaces Chart

I want to load the chart as soon as the date is selected, but I can not get the date value. NOTE: The date is null, giving NPE (Null Pointer Excpetion) And my buttomCommand is only working as a test, to see if it enters the method XHTML: &l...
asked by 21.09.2018 / 17:32