I have a method that generates a PDF report with Jasper and returns a DefaultStreamedContent . I call the method no <p:fileDownload> this way:
<p:fileDownload value="#{listarReembolsoBean.getSampleReportPDF(reembo...
I use this JavaScript to call a popup on JSF :
function showMyPage() {
window.open('./showMyPage.xhtml','mywindow', 'resizable=no,toolbar=no,scrollbars=yes,height=450,width=530,top=145,left=235');
return true;
}
But,...
I have 4 columns, and I want the last 2 more separated from the first. I can not. anyone help?
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or...
I'm following an Algaworks online course in JEE with PrimeFaces using Eclipse and Tomcat. When I start the application in Tomcat, it gives the following error:
GRAVE: Critical error during deployment:
java.lang.NoClassDefFoundError: javax/ent...
My application is no longer respecting the routes inserted in faces-config.xml, because?
Here's the exception:
Caused by: java.lang.NullPointerException
at com.sun.faces.application.NavigationHandlerImpl.determineViewFromActionOutcome(Navig...
Hello, I'm getting the following error message when I run the project:
java.lang.NoClassDefFoundError: javax/enterprise/context/spi/Contextual
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
a...
Good morning.
I am not able to display a screen because it is said that a certain feature is missing that is not quoted through the console and the error screen. Can someone give me some help?
xhtml
<?xml version="1.0" encoding="ISO-8...
Te a page that receives a param.
<f:metadata>
<f:viewParam name="id" value="#{MyBean.MyObject.id}" />
<f:event type="preRenderView" listener="#{MyBean.exibir}" />
</f:metadata>
<c:set var...
I need to check in the database if the information that the user is trying to insert already exists, for example:
In the registration of a company, I can not allow the same CNPJ for others. I'm doing in JSF 2 with JPA2 Hibernate. I did an exa...
I have a JSF + Primefaces project and I have a css that puts a background:
<h:body
style="background-image: url('../images/textura.jpg');">
When I run the page it works perfectly, but when I give a run in the project the image do...