Questions tagged as 'jsf'

1
answer

Why does? with-faces-redirect = true change the value?

Good, the issue is that when entering the name in the login.xhtml the attribute "user" takes the value that I enter in the inputText, but when opening the "welcome.xhtml" it changes to null. For me to pass the value correctly I had to remove "?...
asked by 06.04.2017 / 09:23
1
answer

p: graphicImage shows the same image always

I have a WS (Rest) that returns an object of type SERVIDOR and depends on an Id that happens to it. @GET @Path("emps") @Produces("application/xml") public List <SERVIDOR> sendFoto(@QueryParam("a") String a) and from another app...
asked by 27.03.2017 / 06:06
1
answer

Problems searching for a data by ID in jpa

Good afternoon everyone, I am working on a practice project to increase my skills in JAVA EE, the fact is that I am doing a billing system, using JSF, JPA and PrimeFaces, I have a billing page and within this I have a page that takes the client...
asked by 17.02.2017 / 22:07
1
answer

How to use documentViewer and ckEditor in primeFaces?

I have created a pdf file with iText and the javascript plugin ckEditor, later when I try to show it in the document viewer of primefaces it sends me the following error:    ckeditor.js: 94 GET    link   404 (Not Found) As far as I can s...
asked by 14.03.2017 / 05:28
1
answer

RequestContext runs twice

I want to send a function of Js from a Jsf bean with RequestContext, but for some strange reason the function is executed twice. This is the code of my xhtml: <h:form > <p:commandButton class="btn" value="Llamar js Fun...
asked by 23.01.2017 / 18:54
1
answer

Problem with the time when editing a java web application record using ejb + jsf?

I'm using Glassfish server 4.1.1, java EE7 web, jdk 1.8 and jsf 2.2 When editing or keeping a record the time or good date also differ between what is stored in the bdd (which is correct) and what the datatable shows (which is incorrect). The...
asked by 26.01.2017 / 22:36
1
answer

Problem with JSF, Spring and Hibernate driver

I am developing with JSF, Spring and hibernate and I can not create a Controller with my own methods to be able to call them from the xhtml, this is my code HomeController.java @ManagedBean public class HomeController implements Serializabl...
asked by 26.01.2017 / 21:26
4
answers

How to upload a web application on a free server? [closed]

I am developing an application in JavaWeb (jdk 1.7) with ICEFACES and connection to a mySQL database. I've been testing it locally with GlassFish and Tomcat and everything works perfect, but I tried to upload it to free servers like 260mb.net an...
asked by 11.01.2017 / 21:46
2
answers

The p value is not updated: rating id="total" /

I'm trying to take the value of a rating and show it in another rating: <h:form id="frmVerCalificacionDetalle"> <div id="VerCalificacionDetalle" class="cssBarra ui-dialog" style="display: none; max-width: 400px !important;"&g...
asked by 02.01.2017 / 03:54
1
answer

Styles for commandButton

I have a problem putting styles to an h: commandbutton: -my css to which I refer can not be modified. -my commandbutton has as input type="submit" and inherits the styles of the text boxes (input) -the style for my button are for button tags -to...
asked by 20.04.2017 / 00:03