Questions tagged as 'jsf-2.2'

0
answers

Form with null values

My vies are coming with just one form null, while others are with the correct values here is my view: <h:head> <title>Novo Cliente</title> </h:head> <h:body> <ui:composition template="templateAdmin.x...
asked by 26.03.2015 / 14:40
2
answers

Display an image that is outside the JSF project

Hello, I have a screen that uploads a file and saves it to a folder in a computer's directory, and saves the full image path in the database, now I want to display the image in a table, for example I did the example of the firstfaces but I can n...
asked by 26.09.2014 / 19:46
0
answers

Are there any restrictions on jsf 2.2.5 with the Collection interface?

I'm running an application with jsf 2.2.5 . I used the h:dataTable component to display an object collection on the screen. I added to this component two h:commandLink , one that must perform one edit method and one remove method...
asked by 30.09.2014 / 03:16
1
answer

Error loading JSF project: URL changing by itself

When I run my project in netbeans, my project is being loaded in the http://localhost:8080/loogix// URL when it should actually load http://localhost:8080/loogix/faces/index.xhtml . The Log to run is: Listening for transport dt...
asked by 01.12.2017 / 02:18
2
answers

Edit with Radio button in jsf

Well, I'm starting to develop with JSF and I'm having a question about how to do it for my method. edit receive the right object from the radio button, the way it's implemented it always takes the first one from the table and not the one selecte...
asked by 20.01.2018 / 15:02
1
answer

File Upload in JSF with ajax

I'm trying to upload a file of any kind through the jsf h: inputFile element, and I try to do this with ajax, but when I try to upload this error appears in the browser console. .. Uncaught TypeError: Cannot read property 'getAttribute' of u...
asked by 16.01.2018 / 20:30
1
answer

My application does not recognize my Bean

Look closely at the figure; SeehowmyBeanclassispackagebr.com.terezinha.adm.controller;importjava.io.Serializable;importjavax.faces.bean.ViewScoped;importjavax.inject.Named;importbr.com.terezinha.adm.model.Modelo;@Named@ViewScopedpublicclassC...
asked by 22.09.2015 / 16:36
1
answer

Problem with JSF2 + CDI + Tomcat

Personal speech, I'm working with JSF and I've packed here. I have a simple project for now, with a page with a form that has an enum attribute on it, ie when the page loads it has a selectItems there that should come loaded from the enum. Home...
asked by 22.10.2018 / 21:22
1
answer

Connection is not associated with a managed

One of our systems is displaying the error below: Connection is not associated with a managed connection.org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6@437f90c8 This error has happened a lot, but we can not figure out why. Search...
asked by 21.05.2016 / 16:14
1
answer

Is it possible to return a value using RemoteCommand?

I would like to know if just like it is possible to pass parameters to a function of a "remoteCommand" if it is possible to receive the return? Like the example: Xhtml: <p:remoteCommand name="myRemoteCommand" actionListener="#{testBean....
asked by 08.10.2015 / 15:07