Questions tagged as 'jsf'

2
answers

NullPointerException error when using JSF EL

When I add this line of code to my XHTML page: <f:param name="pedido" value="#{pedido.id}"/> It generates this error: jun 04, 2015 10:59:42 AM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException GRAVE: E...
asked by 04.06.2015 / 16:03
1
answer

Bookmark does not redirect to login page

I followed the post about authentication and authorization in demoiselle but I can not redirect to the login page, it follows files: frameworkdemoiselle.security.enabled=true frameworkdemoiselle.security.authorizer.class=br.gov.serpro.bookmar...
asked by 02.06.2015 / 15:05
1
answer

Does not write to the database and the console appears as recorded

I have a modal form to record the register, when I insert the data it gives as if it were saved in the Eclipse console, but the same does not happen in the database Message in the console as recording Ok. Hibernate: select empresa0_.id...
asked by 01.04.2015 / 04:55
1
answer

Dynamic Update in component Primefaces through autocomplete

A simple question, is there any easy way to use the autocomplete component of primefaces, and so when selecting any option cause a component (eg a dataScroller) to be updated ??? I tried something through a f: ajax adding a listener to the itemS...
asked by 03.02.2015 / 03:23
1
answer

Redeem values of the selected inputs in the DataTable of primefaces [closed]

I tried to use ajax and the f:attribute option, but I can not redeem the required values, that is, the selected line and the value of input . I'd like some help. Thank you.     
asked by 24.01.2015 / 04:34
1
answer

Date format in select

I have this method: public List<LoteEnvEntity> findallByDate(java.util.Date dataDe, java.util.Date dataAte) { String strQuery = "SELECT L FROM LoteEnvEntity as L WHERE 1=1"; //SimpleDateFormat simpledate = new SimpleDateForma...
asked by 06.11.2014 / 11:37
1
answer

Change the active tab in a p: tabview

How can I change the% active% in a tab component from a p:tabview ? Any ideas?     
asked by 01.10.2014 / 10:56
1
answer

Error while displaying the result of a List using MVC and JSF

I need to return data from the database to JSF but even before I get to JSF I can not show the searched data. I have the following error: Advertência: #{usuarioBean.pesquisa}: java.lang.ClassCastException: java.lang.Class cannot be cast t...
asked by 03.10.2014 / 17:22
1
answer

How to open a dialog passing an object as a parameter in primefaces?

Good evening. I'm having trouble opening a dialog by passing an object as a parameter. Does anyone know how to solve this?     
asked by 16.09.2014 / 04:54
1
answer

Validate rich: calendar with date before another rich: calendar

I have 2 date fields, the second can not be earlier, but I can not validate. Each time you enter validation,% w / o% is ALWAYS% w / o%. From what I saw in the dataInicio lifecycle, it does the first validations for later popular....
asked by 15.09.2014 / 21:47