Questions tagged as 'jsf'

1
answer

problems using inputFile in JSF 2.1

I'm using the JSF 2.1 version with this artifact below; <dependency> <groupId>org.glassfish</groupId> <artifactId>javax.faces</artifactId> <version>2.1.21</version> <scope>compile...
asked by 14.12.2015 / 15:53
1
answer

Clear a Bean variable from the JSF page

I have a page with some iteration loops inside my JSF page and here I would like to know how I can clean up this page attribute after each loop. To be clearer, I know that when rendering a page sometimes a method is called a few times,...
asked by 08.12.2015 / 11:02
1
answer

Refresh dialog form without closing it

How can I do to update my form dialog without closing it? In other words, I need to get the address by the zip code, and I'll throw it on the form, but I can not. Here is the code I'm using.: View: customer registration <?xml v...
asked by 21.05.2015 / 19:46
1
answer

Load values from a SelectItem already saved on the screen

I'm having a problem loading the selected value into <f:selectItem> by the user when rendering looks like this: <option value="320">Coordenador Desenvolvimento</option> I wanted to set the attribute selec...
asked by 23.01.2015 / 13:41
2
answers

Primefaces + Bootstrap Admin LTE Conflict jQuery

I've been working with Primefaces since 2.1 and am currently creating a project in version 5 using AdminLTE ( link ) which is a administrative panel using the bootstrap base. My problem is this: I created the template with ui: decorate and st...
asked by 05.08.2014 / 17:09
2
answers

Handling Objects in Session

I'm working with legacy systems in JSF 1.2 and noticed that developers make an absurd use of the session to store all kinds of objects, ranging from user-supplied filters to collections. As you can imagine, this is not treated properly. Many...
asked by 31.01.2014 / 14:24
1
answer

How to reduce JSF application CPU consumption

From time to time, my application started to have a very large CPU consumption. I installed JProfiler, and from what I understand of it, there is a problem with hibernate's c3p0. I'm using hibernate 4.3, jsf2.2.10 + primefaces 5.2, use ehcache a...
asked by 29.08.2018 / 00:24
1
answer

Problems with selectOneMenu

I have a table and in this table I have the option to edit. Clicking on the edit option opens the dialog and all the fields (columns) of the current line I want to edit are populated. A list is loaded into selectOnMenu but it does...
asked by 06.10.2014 / 03:19
1
answer

Error "Transaction is required to perform this operation" when inserting, editing or deleting - Wildfly

So folks, I've been breaking my head with this mistake for some time and I can not figure out how to fix it ... The situation is as follows, I had this project running on Tomcat and now it was necessary to migrate to WildFly, the migration was a...
asked by 16.09.2014 / 15:01
1
answer

Check if there is a file in a certain folder rendered jsf

Personal I'm saving image to a particular project folder and I need to check if this file exists in the folder. I was using a command as below: rendered="Fotos/#{consultaFuncionariosBean.pessoaModel.codigo != null}.png" But it did not work....
asked by 05.07.2017 / 15:50