Questions tagged as 'primefaces'

1
answer

how to update a data table by cleaning the records by clicking on a button?

I have the following code which is inside of a p: fieldset, they are two inputs one for the year and another for the month, and a search button, what it does is filter records according to those two parameters <p:inputText id="anio" s...
asked by 22.03.2018 / 17:23
1
answer

how to show a ui-icon in primefaces when the value of a variable is true or false?

I have the following table, which shows boolean type values and shows them that way <p:dataTable id="horarios" rendered="#{ConsultaPersonasUnidadFisicaComponent.muestraHistorial}" var="consultaHorario" style="max-width:3000px;max-heig...
asked by 28.02.2018 / 17:50
1
answer

Parameters between URL's

Good morning! I can not find the solution to the next problem. I have an Intranet, which consumes another project (Web page) and shows it inside an IFrame. The question is: How can I retrieve the parameters of the URL of the intranet page...
asked by 19.12.2017 / 19:09
1
answer

Problem with columns in Primefaces

I have a CRUD made with Primefaces, it works great except for one incident that I hardly noticed: It works fine, but I noticed an incident, when selecting a column with ColumnToggler: Disappears normally: But if I chan...
asked by 26.06.2017 / 19:07
4
answers

Error Can not convert 2/27/17 12:00 AM of type class java.util.Date to class java.sql.Date

I need Guidance, I have this form xhtml with primefaces and I want to store date and time from the calendar component to my MySql as I resolve the error: javax.el.ELException: /create.xhtml @44,91 value="#{data.kardex_create.fechaingreso}:...
asked by 27.02.2017 / 18:20
1
answer

EL: Illegal syntax. in JSF + primefaces

Please, I would like to know what is wrong with this expression. <p:inputText id="text_url" disabled="#{menuBean.tipoMenu.equalsIgnoreCase('I')?false:true}" value="#{menuBean.tipoMenu.equals('I')?menuBean.menu.formul...
asked by 21.05.2018 / 18:59
1
answer

Maintain a session in several applications

I am using java and jsf I have created some applications each with their own login, now I need to validate session in one applications and when I move to another applications I do not log in again. I have tried saving variables in session and...
asked by 17.03.2017 / 19:32
1
answer

JSF - Pass conditioned checkbox value for Update statement

I have the following problem, I have a datatable in Primefaces that shows me a series of records, to which I can edit them. At the time of editing, it sends me a Modal window that shows me the editable fields between them, a checkbox that is pre...
asked by 01.02.2017 / 17:29
2
answers

I have two selectonemenu in Primefaces. How do I force one or both to be selected?

a query please, I have two selectOneMenu of primefaces in a view, what I need to do is that the user if I do not select either of them select at least one. I set required = true but this makes me have to select both selectOneMenu and the idea...
asked by 03.09.2016 / 01:51
2
answers

Problem session, Prime Faces view could not be restored

I have a JSF application but after a while I close the session but it gives me the following error and does not redirect to the login. public String cerrarSession() { SessionUtils.getSession().invalidate(); return "/login"; } Sessi...
asked by 19.08.2016 / 21:24