Questions tagged as 'jsf'

0
answers

How to make a for loop inside a h: dataTable in JSF

I'm making a list with a table in JSF, it's really easy to do it with the <h:dataTable> tag, but I need to loop inside the table to be able to filter certain data from another list. My code follows the following structure. <...
asked by 04.01.2018 / 15:23
0
answers

how can I solve the java.lang.ClassCastException problem

I have a class for a login and when I login I get this:    com.logic.Teaching can not be converted to com.logic.Docente I have tried to assign a variable to the session, however I get this error, I always have to restart the server and I'...
asked by 09.12.2017 / 19:04
1
answer

Help with NullPointerException in jsf?

I have a combo that shows a list of a catalog that is in the database <h:outputText value="#{datospersonalesmsgs['datospersonales.descuento.title']}:" /> <p:selectOneMenu id="catBeneficio" value="#{DatosPersonalesComponent.soli...
asked by 30.11.2017 / 20:48
0
answers

ManagedBean does not save data in setters

I am working with a JSF project in which we use several ManagedBean (1 for user login, another for user pre-registration and the last one for employee registration) The problem is that my login ManagedBean serves perfectly (it recognizes if ther...
asked by 23.11.2017 / 08:03
0
answers

Does not show the primefaces tags when entered by facelets templates

<h:body> <ui:composition template="./../WEB-INF/templates/plantilla.xhtml"> <ui:define name="content"> <center> <h:form> <h2>Registrar usuario</h2&...
asked by 14.11.2017 / 22:45
1
answer

I'm doing a page with JSF but it does not show the components "u:"

I'm making a simple page (I'll leave the code below) but it does not show me the components. <body> <h2>h:inputText example</h2> <hr/> <h:form> <h3>Read-Only input text box</h3> <h:inputText...
asked by 08.11.2017 / 22:59
0
answers

Calculation of the user's age from JSF form

For a form of user data I need to record the age either by date of birth or by age, using two fields, one of date of birth and one of age, validating that at least one of them is entered by the user . I'm working with JSF 2.2 and primefaces 6.1...
asked by 10.11.2017 / 01:41
1
answer

Problems with entity classes in netbeans

I'm doing a job with JSf in netbeans; I brought my work project and I tried to edit it in linux Netbeans. The problem is that I eliminate an entity class for a table in my database which is related to other entities ... Despite having made a ref...
asked by 05.11.2017 / 18:54
1
answer

Why do you only call a default method on the page ??? JSF

Hi, I'm working on a project using Jsf. The problem is that when calling a method of a Bean for example #{pruebaBean.test()} only returns the result correctly on the first page that executes the project, that is, the default page set i...
asked by 07.11.2017 / 16:23
1
answer

java, log4j problem with hsqldb

I am using JSF with HSQLDB 2.3.4 as the database. When executing the search for an element, it throws the following error log4j:WARN No appenders could be found for logger (hsqldb.db..ENGINE). log4j:WARN Please initialize the log4j system prop...
asked by 16.09.2017 / 23:47