Questions tagged as 'jsf'

1
answer

Define Bean dynamically according to the registration screen

I'm starting a project with JSF, but I'm still "crawling" in the Framework, and starting with Java now too. I already work with programming, but not with Java ... hehe In my project, I want to have a standard template for registers, and for e...
asked by 12.06.2016 / 04:44
1
answer

Registration with Validation

Currently my system has Person and Time, a person can already create a Team, defining some attributes (name and passwordTime). Now, I aim to create a "Enter Time" method where any person will enter an existing team by passing the ID and Passw...
asked by 25.07.2016 / 14:02
1
answer

Destroying Session and Session Objects in JSF

I'm using session.invalidate(); to invalidate the session, but when I access the Tomcat manger it shows me that the session still exists. The following code shows me that even after using the invalidate () method I can display informat...
asked by 17.01.2016 / 00:07
1
answer

Select link menu

I am using javascript to select the menu to open the page that I selected, the menu is already getting selected but it is not opening the pages. And the click event is working when I click the menu. $(document).ready(function() { $('ul.form li...
asked by 21.05.2016 / 15:03
2
answers

I can not generate a pdf file

Personal how to generate PDF file using ITEXT with JSF. The problem is the following, when I ask to generate the PDF file in a class having only the MAIN method, it generates normally, but when I ask to generate the XHTML page by BUTTON it does...
asked by 27.11.2015 / 20:27
1
answer

Return value processed in Javascript for the managed bean

Return value processed in Javascript for the managed bean is it possible? What's different about this process is that I run the JS method on the bean, like this: RequestContext.getCurrentInstance().execute("getResult()");     
asked by 18.09.2015 / 21:37
0
answers

What error is this javax.servlet.ServletException: getOutputStream ()? [closed]

I am generating a report, the moment I click to send it and it displays this error. Exception : javax.servlet.ServletException: getOutputStream() has already been called for this response at javax.faces.webapp.FacesServlet.service(Fac...
asked by 29.06.2015 / 15:17
1
answer

CommandButton - Error Calling Method

I'm a beginner with JSF , web development, and I'm having a problem using the Dialog component, PrimeFaces , within DataTable . The idea was this: We have a gift list for a bridal shower, the party guest chooses the p...
asked by 02.11.2015 / 21:30
1
answer

Exception returned null Java Web

Can anyone help solve an exception being thrown in my application? I'm developing a Java web application, I put only a input and a selectonemenu in the application to try to save the data, the moment I click the save button it g...
asked by 11.06.2015 / 17:41
2
answers

How to pass object to another view in JSF?

What is the best way to pass an object to another view in JSF? I have two pages one query and another with the data to edit an object, the query page has a list of objects and each object has the edit button that causes it to redirect to the...
asked by 06.01.2015 / 18:56