Questions tagged as 'jsf'

0
answers

Record student's frequency in the database [closed]

I have a school management system, where I plan to add a choice of teachers to add the student's frequency. I am thinking of creating a transaction, where, each teacher accesses, the page that will have: A field for the teacher to inform the CPF...
asked by 31.05.2017 / 17:11
1
answer

Jasper + JSF- java.lang.NullPointerException

I need to generate a report here with Jasper but it is giving error, I did this: Java: public void getRelatorioNotas(List < T > lista) { try { FacesContext facesContext = FacesContext.getCurrentInstance(); Servle...
asked by 06.06.2017 / 01:24
1
answer

Compare dates and validate only the same year

In my component p:calendar there are two date ranges dtInicial and dtFinal in the managed bean I need to compare only the years and validate. If it is the same year, show the message "ok". Otherwise, "different years." pr...
asked by 27.06.2017 / 19:27
1
answer

Put dynamic theme PrimeFaces [closed]

I have two templates in my web project. I want to use a different PrimeFaces theme for each template. How do I do this? No web.xml , when I put the theme of PrimeFaces it changes to all templates, but I want each template to have a t...
asked by 08.05.2017 / 19:56
0
answers

Passing data from one view to another

I'm trying to implement the following function, when the user clicks the edit button, it would send to the "create" page only that populated. but when I try to do this, it sends but nothing. In my xhtml is like this <p:commandButton valu...
asked by 16.05.2017 / 16:36
0
answers

A boolean button and dynamic menu with jsf Programming java html primefaces jsf

Hello, I need to make a boolean button with jsf (primefaces) and html and a dynamic menu that one button calls another, but I have no idea how to do it. Can someone help me? I started doing something, these are the codes     tests    ...
asked by 03.04.2017 / 15:48
0
answers

how to get the selected value in the combobox (h: SelectOneMenu)?

<h:form> <div class="form-group"> <label>Categoria de Produto</label> <h:selectOneMenu value="#{produtoController.produto.categoriaProduto}" styleClass="form-control" style="width: auto"> <...
asked by 28.05.2017 / 19:02
1
answer

Change Dialog is not displaying the data

I have a maven project that is using jsf, jpa and primefaces in which there is a dialog that is being used to update the data, except that the inputText is empty when it is called instead of appear the data in it (which is defined in the managed...
asked by 01.04.2017 / 18:49
0
answers

JSF Runtime Error with Google Maps

I'm doing a project and I came across an unpleasant situation. Well, I did a little test using HTML5 in a notepad using Google Maps worked fine. Only that was to use the code in my project that uses JSF + Glassfish. When I run the page the map a...
asked by 23.04.2017 / 02:31
1
answer

Update dialog component

I have the following dialog : <p:dialog header="#{encomendaController.objeto.id == null ? msg['cadastrando'] : msg['atualizando']} Encomenda" widgetVar="cadastroEdicao" minHeight="80" id="dialog"> <h:panelGrid id...
asked by 29.03.2017 / 18:10