Questions tagged as 'jsf'

1
answer

error update label with selectOneMenu java jsf + primfaces

Good I am trying to print in label the name when selecting an item in a selectOneMenu but I do not capture it the menu works well shows me all the cedulas available in my tables so my selectOneMenu is defined %: <p:selectOneM...
asked by 30.06.2017 / 17:24
1
answer

I have an error when making a query with hibernate in JSF in a log with relational tables

Errors that catch my attention but I do not know how to solve them Initial SessionFactory creation failed.org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister 11-Jun-2017 21:43...
asked by 12.06.2017 / 03:09
0
answers

ManagedBean, the attribute change does not persist

Greetings. I call a method of a bean to add an element to a private arrayList . It is added correctly, but when I call it again (ajax) to add a second element the arrayList is empty. It changes but does not persist. I guess it...
asked by 02.06.2017 / 13:01
1
answer

The action of the jsf commanButton does nothing

I have a web application and when you click on the save button it does not do anything ... Here is the code: <!-- Aqui se crean los elementos que seran utilizados por el usuario --> <div class="container" id="formu"> <h:form...
asked by 04.06.2017 / 19:18
0
answers

Problems with datatable

I have a datatable that collects all the data stored in a database table, this table of the database has 2 foreign keys and which are associated by their respective ID, the point is that when running the What I want is not to see the ID of the f...
asked by 18.05.2017 / 23:47
1
answer

Show modal while downloading file

I have a button whose function is to download a file, however this process is sometimes very long and the ideal is to show a message of "loading" while the file is generated, but when using ajax = "false I can not use the functions onStar...
asked by 12.05.2017 / 23:24
1
answer

How can I request two dates in JSF with PrimeFaces and Java

I want to receive two dates, so far I have this: In the xhtml: <h:form id="form"> <h:panelGrid columns="5" cellpadding="5" > <p:outputLabel for="fechaInicio" value="Fecha Inicial:" /> <p:calendar...
asked by 06.05.2017 / 01:06
1
answer

Problem with the url in JSF and richfaces [closed]

I'm doing a project with JSF and richfaces and I have the following problem: When I advance the page with the "action", the page changes (everything ok), but the url does not. But if you give it back to the same button (because for example it...
asked by 01.05.2017 / 21:18
1
answer

Error in JSF, error in the p: commandButton

<h:form id="form"> <p:dataTable id="tblUB" var="infoUT" value="#{sdiacMB.listaUbicacionTecnica}" resizableColumns="true" paginator="true" paginatorPosition="bottom" &g...
asked by 29.04.2017 / 20:28
1
answer

How to Use Variables in JSF

My question is how to declare a variable to be able to do a total sub, and then perform a counter in JSF As you investigate, this could be done: <ui:param name="sub" value="#{item.canProductos * item.ideProducto.preProducto}" />...
asked by 17.04.2017 / 01:56