Questions tagged as 'primefaces'

1
answer

.properties file in java code

My JSF application I'm using a .properties file to store the texts, etc. I already use calling the keys inside the .xhtml file. How do I call the keys in the .java code? My Util Class: package br.com.pokemax.util; import java.util.Locale;...
asked by 21.09.2016 / 02:33
1
answer

Servlet Faces - Error in context with path

Good morning, As I said in another topic, it's not my web area but I'm trying to kkkk ... After adding a responsive template with Prologue name I get the following error. GRAVE: Servlet.service() for servlet [Faces Servlet] in context with...
asked by 15.12.2015 / 12:31
2
answers

Class not serializable

Next, I'm studying a project involving javaWeb, with jsf + primefaces . I'm using apache tomcat 7 . The problem is happening when starting the apache service and then testing my application, in which the error I identified was...
asked by 25.02.2016 / 19:01
1
answer

How to leave the PrimeFaces MegaMenu in Vertical

I have a problem with the PrimeFaces MegaMenu, I can not leave it upright. I am making a code to test, which follows below: <p:megaMenu orientation="vertical" style="margin-top:20px"> <p:submenu label="MENU" icon="ui-icon-check">...
asked by 03.02.2016 / 13:54
2
answers

How to integrate Theme Spark - primefaces with Maven

Can anyone help me with my problem? I'm trying to integrate Theme Spark with maven to raise the theme. However, I'm having a lot of difficulties. link I looked in the documentation and did not have any instructions teaching how to perfor...
asked by 08.11.2015 / 19:56
1
answer

How to display a list of images with path saved in the JSF2.2 + Primefaces 4 database

I'm having difficulty displaying images in a dataGrid using both the img and graphicImage passing the tags to the database path. Could someone help? I'm using tomcat 8. The last way I tried was this: No Bean: public StreamedContent ge...
asked by 26.10.2015 / 17:47
1
answer

How to display Questions retrieved from a DAO on the same JSF page

Good afternoon. I have a page called simulate.xhtml where I get some parameters (Filter) to query the database according to the filter. It's all working, what I wanted was to get this query and display the questions on the same page, that i...
asked by 13.10.2015 / 19:42
1
answer

How do I access a "List" on the screen?

I'm trying to access a list of values in my code from the JSF screen, but the screen does not find the method that lists the values, can anyone help me? I want to access the values of method listaNatures in f:selectItens . Fol...
asked by 08.10.2015 / 16:49
1
answer

CommandButton Primefaces does not call method

My commandbutton shows no error when clicking, but does not execute the method either. Commandbutton code: p:commandButton action="#{clienteMB.cliente.Salvar}" value="Incluir"/ Method code: public void Salvar(){ Syst...
asked by 29.08.2015 / 14:50
2
answers

Error in Course Design primeFaces AlgaWorks

I am doing a PrimeFaces Workshop by the company AlgaWorks , but this error is appearing in the project in the pom.xml file. Thecompletecodeforthefilepom.xmlprojectxmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:...
asked by 27.07.2015 / 20:51