Questions tagged as 'jsf'

1
answer

Centralize components of a dataTable that is editing the data in the Primefaces

How can I centralize the components of this datatable . When I click to edit the data of the same I realize that the components of data entry are not centralized, but when using a certain tests with css I managed to get to the side but not...
asked by 03.08.2014 / 23:47
1
answer

JSF Project Image Servlet "Locking" the Application Server

I have the following code that gives my portal the images that are in the database @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { String id = req.getParameter...
asked by 21.03.2014 / 13:09
1
answer

Session expiring in IE

I have a system in JSF2 where I use JAAS for access control. Everything is working fine in Chrome, but for a change in IE there is a problem. Basically I have a form with login and password fields: <form action="j_security_check...
asked by 31.03.2014 / 23:57
1
answer

java.lang.NullPointerException on chat system

I'm doing a HelpDesk chat project with JSF 2.0 and Primefaces, but an error is thrown when I try to connect the Attendant or user in the chat. In atendente.xhtml and index.xhtml has a form that sends the information to...
asked by 08.02.2014 / 16:59
0
answers

I can not display files in a new tab

I have a page with a list of attached files that when clicked should open in a new browser tab. But when clicking on the file a new tab is opened and Error 404 appears. The file is being saved in a folder and only your reference is saved in the...
asked by 26.12.2018 / 15:31
1
answer

Bug in simple example JSF + Primefaces

I tried to run a simple example with JSF and Primefaces but I believe it is something related to some incorrect configuration. The application is running on Tomcat 9.0.13, below the project settings below: <build> <plugins>...
asked by 12.12.2018 / 15:43
1
answer

Method not called when using the command button

I have two methods in two different dialogs: adicionarRelato and RetificarRelato . adicionarRelato perfectly executes the command button click on the first dialog. But the retificarRelato of the second dialog...
asked by 10.12.2018 / 00:19
0
answers

java.sql.SQLFeatureNotSupportedException error attempting to retrieve data from a table

I'm having this difficulty retrieving data from a table. The recovery code I'm doing on my own because I do not find any examples to try to follow, but I've been breaking my head for a long time and I can not seem to get out of the way. Does any...
asked by 15.12.2018 / 23:42
0
answers

Attribute rendered is not working in p: dialog

I need to render a form that is inside a panel in p: dialog and after I save the data, I want to hide it and render a p: fileUpload in p: dialog. But I can not do this, I do not know what's wrong. The methods I call do not simply do not change t...
asked by 16.12.2018 / 13:06
0
answers

Problem with an AdminFaces component library

I'm using Maven to manage the dependencies of my project, but when I actually started creating XHTML pages, my project does not seem to have imported the dependencies needed to use the AdminFaces tags. <ui:composition xmlns="http://www.w3.o...
asked by 30.11.2018 / 21:13