Questions tagged as 'jsf'

1
answer

Pages of JPA queries

I am changing the code of a query because it will return a lot of data when the database is well populated. I'm paging the query. The problem is that when they implemented it, they did the following: You get a string, and you make all possibl...
asked by 03.02.2014 / 12:25
1
answer

Clear Target in JSF + JPA + Richfaces Projects

How can I clean Targets generated from the project when we deploy deploy to JBoss?     
asked by 05.02.2014 / 18:26
1
answer

I can not update my dialog via commandLink in a datatable

My goal is to display the selected element in the datatable in the dialog, but I can not give the update in my dialog via commandLink, whenever I try, the application screen gets all messed up and this error happens: Advertência: StandardWrapp...
asked by 14.11.2018 / 15:43
1
answer

Find out which Primefaces component performed an action using jQuery function

I want to make a refactoring in my code, and for this I need to get the id of a component that has undergone an action. My target would be that I have two datatables , and wanted to get id from them and from id defi...
asked by 08.10.2014 / 20:11
0
answers

localhost has redirected you too many times

Good afternoon, I'm trying to direct a system user to an error page if something goes wrong with the session or if the user has denied access to a particular page etc ... I'm using Spring Security for this. in my applicationContext.xml cla...
asked by 08.11.2018 / 22:44
2
answers

deleting an object from the database with jpa 2 and jsf 2

Well I'm trying to make an exclusion using jpa with jsf but I'm not having success. I have my table. <p:dataTable value="#{mbProduto.produtos}" var="produtos" paginator="true" rows="10" pagina...
asked by 17.07.2014 / 03:22
1
answer

How to execute a Bean method when clicking on the Save button of the rich: Editor using RichFaces4?

Hello, I'm using RichFaces4 and my project includes the tag This presents a Save (Disket) button and my intention is to call a method on my Bean and run my code to save.    I do not want to add a new button because I would like to follow the...
asked by 21.02.2014 / 21:23
2
answers

How to load a jQuery function when loading a page that uses JSF and Primefaces

I'm using a function to check if all the checkboxes are checked to perform the load of an already filled register. So I wanted to know how to call the function. function selectAllCheckbox() { var booleanArray = new Array(); var allChec...
asked by 31.03.2014 / 19:52
0
answers

block second tab from the same user session with JSF

I have a problem. How do I not allow two-tab access in the same session using JSF. I have a web system where each user has their profile. And the profile is used to generate custom forms. After confirming the profile I no longer allow the nam...
asked by 29.01.2018 / 14:15
2
answers

Problems using SelectOneMenu primefaces

I have a problem updating the data of a SelectOneMenu in primefaces, as the code below suggests, I have a button that when clicked, brings data from a WebService and stores it in a Devices variable on the back end and shortly after , it only thr...
asked by 21.09.2017 / 15:48