Questions tagged as 'jsf-2.2'

1
answer

Doubt Converter and CDI

I am testing a few hours trying to understand why this code here is not working and I am getting a NullPointerExcepetion . Can anyone notice something wrong? import javax.enterprise.context.RequestScoped; import javax.faces.appli...
asked by 07.11.2017 / 21:22
2
answers

JSF Redirect

I want to redirect the main page to login page so I configured faces-config.xml together with the main page below my code for you to see Code faces-config.xml <?xml version='1.0' encoding='UTF-8'?> xmlns:xsi="http://www.w3.or...
asked by 20.06.2017 / 20:32
1
answer

Problem with JSF

I have a screen and would like each product added, could choose a quantity and then calculate that quantity by multiplying by the value of the product. However, I have no idea how to do this, because every time I add a new product the quantity i...
asked by 04.01.2017 / 19:20
1
answer

export to pdf from a web application, error: org / apache / poi / ss / usermodel / Workbook

Good evening. I am trying to export to PDF from a Web application with JSF and am having the following error: Stack Trace: java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/Workbook at org.primefaces.component.export.Expo...
asked by 15.11.2016 / 02:27
1
answer

Adding JSF in java project

I created a Maven project in IntelliJ IDEA 2016.2, defined it as a Web Application, and later installed JSF. Before installing JSF, the framework added index.jsp, which works normally, after adding JSF I created a new file called index.xhtml,...
asked by 06.11.2016 / 14:13
1
answer

Get row reference in table with JSF (Primefaces)

I have a scenario that presents something strange and I did not understand the reason for this behavior. Using JSF with Primefaces, I have a Datatable with some (many) values that come from the Database and are displayed in the columns. My s...
asked by 23.09.2016 / 17:00
2
answers

How to block access to an application by the user's IP?

How do I block access to a web java application by the user's IP. The application will be hosted outside of the company environment, but it needs to be accessed by a certain profile from outside. I have in the user profile the profile of e...
asked by 23.10.2015 / 11:01
2
answers

Doubt of how to submit a form in JSF using p: confirmDialog

I would like to know how I can send a Form using p:comfirmdialog . The idea is to get the message tem certeza ? , with the options sim or não . If you click sim , then it sends the form. <p:commandButton v...
asked by 21.10.2015 / 13:22
1
answer

How to break to the end of the line checkBox

The courses are going out without formatting, there are more courses and they are not appearing on the registration screen. HowtobreakthisintoXHTML?Code:<h:panelGridcolumns="2" cellpadding="5"> <p:outputLabel value="Cursos" for="cur...
asked by 12.11.2015 / 19:25
1
answer

problem with validation in Java

I'm implementing validationBean in my project, and I'm having a hard time validating a field, but apparently everything is fine in the settings I made in my project as you can see: Package: <dependency> <groupId>org.hibernat...
asked by 22.09.2015 / 17:17