Questions tagged as 'jsf-2.2'

0
answers

Mask for CPF and Data using p: keyboard Primafaces

I searched several sites on this subject but found nothing that solved my problem. Come on, I have two fields one CPF and the other Birth date both using the keyboard component of Primafaces, so I would like to know if you have how to add masks...
asked by 02.01.2017 / 18:10
0
answers

TestNG FacesContext.getCurrentInstance () return null

I'm running around a test in FacesContext.getCurrentInstance () is returning null. Environment: Spring 4.3 JSF 2.2 Scope view Escope view is custom for Spring This is scope class, it works public class MyClass implements Scope{...
asked by 31.01.2017 / 19:16
0
answers

want to pass my java script function to the bean when loading the page [closed]

I want to pass my java script function to the bean when loading the page, without needing the button click? I'm using the primeface remotCommand, onPoint([{name:'latitude',value:latitude},{name:'longitude',value:longitude}]);     
asked by 19.11.2016 / 19:45
1
answer

Selenium run task to the end

In tests with Selenium, running through Eclipse, when I run several at the same time. The errors happen: First, do not finish running the task open another browser. Begins to run the second test without even finishing the first Problem a...
asked by 25.10.2016 / 18:42
0
answers

Problem with p: dataTable, ajax, ui: include

I'm having a problem, I have a p: dataTable that does not work "sortBy", nor pagination. When I test the code of this table on a simple page it works, however when I use it in my project it does not work. In my project I call the page that has t...
asked by 18.11.2016 / 20:15
0
answers

Update on component created with composite does not work

Staff created a component using composite <composite:implementation> <p:dataTable id="#{cc.attrs.id}" </dataTable> </composite:implementation> But when I call it in my code it works normal but at the t...
asked by 27.09.2016 / 16:32
0
answers

Display dialog with primefaces when clicking on an emptyMessage of a p: autoComplete

Well I'm using Primefaces I have a field p: autoComplete to look for Employees, I would like that when I typed a name and no results were found it would display the message "No employee found, click here to register "(display the message I alre...
asked by 10.09.2016 / 14:53
2
answers

JSF - How to pass a Bean function as an argument to a function in JavaScript?

I would like your help. I am developing a system in JSF, and I have the following need: I would like to pass a bean function as an argument to a function of mine in JS, so that I determined future moment I can call such a function. For example:...
asked by 02.08.2016 / 04:33
1
answer

facebook namespace do not work in JSF?

I'm using personal jsf, I'm trying to make facebook recognize my meta tags: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/j...
asked by 28.01.2016 / 16:40
0
answers

Function Geolocation.getCurrentPosition does not work on Chrome 50.0

I have a system in JSF that asks the user for permission to read their coordinates, this system always worked, but after the last update of Chrome, it stopped working. Someone is going through this with this new version (50.0.2661.75): <scr...
asked by 18.04.2016 / 22:30