Questions tagged as 'primefaces'

0
answers

JPA (hibernate) automatically update entities [closed]

I have the following question: I realized that when I use JPA (Hibernate) + Spring in a JSF application (PrimeFaces) my entities are not updated immediately when registering, for example, I have a User when doing the same everything happens norm...
asked by 10.02.2015 / 20:41
0
answers

Null Parameters in JSF Request

I'm trying to send a parameter to a Spring bean but I can not, the map is always empty. Here is my code below: XHTML: <h:dataTable columns="2" value="#{tipoMaquinaView.objectSelecionado.imagens}" var="anexoImg" > <p:column...
asked by 13.10.2014 / 18:05
0
answers

Primefaces and Eclipse ctrl + click does not work [closed]

In jsf buttons of type h: commandButton and h: commandLink navigation by ctrl + click works perfectly. <h:commandButton value="Edit" action="#{bean.edit}" /> But when I use the tags in the firstfaces p: commandButton and p: command...
asked by 08.07.2014 / 02:51
3
answers

Replace javascript alert

The system form I develop is full of alerts to warn the user that he can not leave that field unfilled and such. The problem is that the alerts are very annoying, and so I wanted to replace only with a color change in the input that he clicked,...
asked by 29.01.2018 / 22:49
2
answers

JSF - Loading bar while executing a Java method

Good morning, I have a login screen, and when the user clicks the Enter button, I want to be an incone showing "loading" while the java method is executed. Follow my xhtml code: <?xml version="1.0" encoding="UTF-8"?> <title &g...
asked by 27.05.2016 / 14:26
1
answer

Difference between process and immediate

In JSF, what is the difference between immediate and process attributes? To my point of view both seem to have similar functions.     
asked by 09.09.2016 / 23:56
2
answers

Replace jquery with pure javascript

I have a jquery script to remove a class from a div automatically if browser javascript is enabled. <script type="text/javascript"> $("#scriptT").removeClass("noscript"); </script> But for this I need to import jquer...
asked by 29.01.2018 / 00:30
1
answer

How to change a dynamic content of a template when the user clicks a button?

I would like the middle of the page to be changed when the user clicks "login" or "registry". Can someone explain to me how I can do this? If you know tutorials that teach how to log in and if you can leave the links, I would appreciate it....
asked by 01.09.2015 / 18:31
1
answer

Problems with if not managedbean

I have a login form with the registration and password fields. I'm trying to validate this login where only the registration "92018" can log in the system, but when the logar method is called, it does not pass through if, even if I typed the cor...
asked by 13.10.2018 / 04:08
1
answer

Method being called several times in the change event of a p: ajax

I have a table with a p:inputText with a p:ajax inside, it has the change event, when I fill that inputText with a value a query and some validations are performed. The problem is that when I put a value inside that...
asked by 10.05.2017 / 17:00