Questions tagged as 'jsf'

1
answer

Prevent web portal from skipping the login

I have a portal created with JSF + Primefaces + Hibernate, I have my login screen and when checking credentials redirect you to a datatable. When I logout to the portal, it directs me to the login (so far so good) but if I click the back butt...
asked by 14.06.2017 / 23:34
1
answer

The MySQL database call does not work for me JSF Hibernate

I get this error when executing a query that should connect to the database when making a log: Hibernate: select this_.username as username1_0_0_, this_.password as password2_0_0_, this_.name as name3_0_0_, this_.lastname as last...
asked by 11.06.2017 / 00:56
1
answer

HTTP State 404 - / applicationWEB / the resource is not available

I'm following a tutorial to create a dynamic web project with eclipse, when running the application on the server I get a message "HTTP Status 404 - / aplicacionWEB /" these are my current files index.xhtml <!DOCTYPE html PUBLIC...
asked by 15.05.2017 / 09:58
1
answer

Reload div from the parent window with Javascript from a pop-up window

I have a page ( parent window ) that opens a pop-up window ( daughter ) with JavaScript , and by clicking a button from the window daughter, it closes, and I need to update a div of the parent window. I tried with parent.location.r...
asked by 12.03.2017 / 13:47
1
answer

FacesContext.getExternalContext (). getRequestHeaderMap (); error mark

I'm trying to get a parameter of the URL with FacesContext.getExternalContext().getRequestHeaderMap(); But in that part of the code I get the following error: non static method cannot be referenced from a static context What would be t...
asked by 24.02.2017 / 23:16
2
answers

Update datatable when changing a p: inputText

Good morning I'm trying to make a loan system in which by typing an ID number inside a p: InputText through ajax it performs a search in the database and it gives me a Client idea is that when I look for this client I return a list of loans...
asked by 20.03.2017 / 16:34
1
answer

I can not download tables as excel

The thing is simple, I want to export a table of primefaces to .xlsx however at the moment of pressing the button that should do it, I get the following exception: java.lang.ClassNotFoundException: org.apache.poi.ss.usermodel.RichTextString...
asked by 11.01.2017 / 20:21
1
answer

Enable an inputText when selecting a selectItem [closed]

With the tag selectOneRadio I can nest several selectItem as your options. How can I make a inputText that is previously disabled by selecting one of the options? Or how can I do so that, instead of using a inputTex...
asked by 23.01.2017 / 01:32
1
answer

GlassFish StandAlone does not load images, elements of the JSF into the primefaces elements and CSS

I have a project in netbeans that works perfectly. But, I post .war in my glassfish standalone 4.1 (This version is the same as the netbeans version) I do the default .war of netbeans (clean and build) In the project deployed in GFish Stan...
asked by 25.11.2016 / 08:02
1
answer

how to change the state of a boolean in mysql jsf

How can I change the status of the seller, what I want to do is change the status by just clicking on the link, and change it in the database this is my managedbean @ManagedBean @SessionScoped public class VendedorManagedBean { private Ven...
asked by 08.11.2016 / 23:10