Questions tagged as 'jsf'

0
answers

Validate user login

I am not able to validate the user login. Could someone help me? My Dao: public Login getvalidarLogin(Login login ){ Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction t = session.beginTransaction(...
asked by 13.10.2015 / 09:14
0
answers

How can I use common HTML fields and buttons with JSF?

I'm doing a project with JSF and I'm also using common HTML fields and buttons on some forms. Excerpt from my (X) HTML <div class="clearfix"> <input class="small DDD" type="tel" placeholder="DDD" maxlength="2" name="DDD...
asked by 11.10.2015 / 00:33
1
answer

NullPointException when setting value from Converter

I have an application where I need to calculate data coming from a particular relationship. When usuarioController.view == 3 , Login is set to Usuario and Plano (already persisted) to Login so that in the next...
asked by 08.10.2015 / 02:41
0
answers

Function to unpack xml does not work in Linux

In my application I use a function to zip the xml files to save them in the database. When I unzip it to make the file available for download the xml does not come complete, at the end of the file it comes without a character and without the clo...
asked by 06.11.2015 / 13:38
1
answer

Order By Hibernate in JSF

Hello, good afternoon, I'm a beginner in this web world and I need to order establishments by punctuation (the best rated in the beginning, LOGIC) The error is An Error Occurred: java.lang.NullPointerException Here is my entity, any...
asked by 05.11.2015 / 15:31
0
answers

ERROR when selecting a simulation

I have a subscription problem. I have a screen that retrieves cycles that are open according to the course of the user and for each cycle of this already has a saved simulation, that is, a relationship. BEAN: @PostConstruct private vo...
asked by 05.11.2015 / 16:06
0
answers

Update image after attaching in fileupload

When I insert the image into dialog using fileupload graphicImage does not refresh the image after I click attach. The photo only appears in graphicImage after I save the form. I wanted the photo to already appear after I clicked on the...
asked by 06.11.2015 / 02:21
0
answers

graphicImage does not render: • pfdrid_c = true

I'm trying to display an image with, but it's not appearing in any browser. On my page I'll call the image mode: <p:graphicImage value="/upload/#{desap.foto}" height="140" width="140" /> and when I c...
asked by 09.11.2015 / 17:44
0
answers

Restricting line selection

Guys, I'm having a problem selecting the rows in a datatable I created here. It allows me to select the first two lines, however, the others it does not leave. It does not even have the effect of hover . <p:dataTable var="p"...
asked by 22.10.2015 / 16:06
1
answer

Bean is not reached by View

I'm having a ManagedBean RequestScoped that is not being found by my view. ManagedBean package br.com.hidros.control.beans; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import javax.faces.bean.Man...
asked by 15.10.2015 / 15:44