Questions tagged as 'jsf'

1
answer

User to see only Items of the Operational unit that is in your register

I have a vehicle management system. The company in which I work has several business units, so the user can only see the cars of the unit on which he works. This I was able to do, but whenever someone logs in the system it replaces the data of t...
asked by 14.09.2016 / 18:57
2
answers

Load objects from other classes

I have selectOneMenu that will serve to list all Generations (data in the database). These data must be listed at the time of registering a Nature object. My selectOneMenu looks like this: <h:outputLabel value="#{msg['geracao'...
asked by 21.10.2016 / 22:24
2
answers

InputText returns null

Talk to people, I have a problem that I do not know what else to do. My idea was to have a checkbox that when dialing would show a field and unmark would hide this field, for this I used rendered and ajax, but when I mark this checkbox even if I...
asked by 29.09.2016 / 22:12
1
answer

JSF property not found (javax.el.PropertyNotFoundException: Target Unreachable)

I'm starting an application in PrimeFaces. I made a small project that has only one model class. I created a repository class where I put an arraylist of that class. I developed a small CRUD page with three functionalities: ArrayList Search,...
asked by 17.09.2016 / 14:25
0
answers

Eclipse / runtime only refreshes HTML after reboot

Good evening! I do not know if anyone can help me, but it's good to try. I have a JSF project in Eclipse for years, whenever I update a XHTML the change was reflected in the browser. From yesterday to today the changes in XHT...
asked by 31.08.2016 / 04:08
0
answers

Page updating automatically, JSF

I have a method called by a poll, it is called every 20 seconds but it takes about 1 minute to finish running. So far so good, but I need my jsf screen updated every 10-15 seconds, without having to wait for my 1-minute method to finish. In s...
asked by 08.08.2016 / 13:13
1
answer

p: dialog being called by several buttons in the system

Personnel I have a dialog (of primefaces ) that confirms the number of CEP and after the user to inform the number of the residence in this dialog the fields address, neighborhood, cep, city and uf have to be filled in the form . Th...
asked by 01.09.2016 / 06:10
1
answer

Application - throwing this message - javax.el.PropertyNotWritableException - not writable on type

Hello, this is the following, I am not able to delete the selected fields, and my application is playing the message - javax.el.PropertyNotWritableException: /listarFuncionario.xhtml @ 29,32 selection="# {ControlerBean.FunctionSelected}": S...
asked by 02.08.2016 / 15:49
1
answer

Popular datatable jsf

I'm new to JSF, I'd like a tip, how can I populate a datatable through a selection of a combobox that brings a list of items from the database.     
asked by 02.08.2016 / 15:04
2
answers

JSF tags are not being converted to HTML

I created a Maven project in Eclipse to use JSF and made all the settings the material requested. However, when I created an XHTML file and circled it in the browser, the source code of the page was not converted to regular HTML, that is, it con...
asked by 18.08.2016 / 20:14