Questions tagged as 'jsf'

2
answers

I can not make the LIST page work in JSF

I have the following code that I'm developing with JAVA JSF, primefaces, postgre, cdi, tomcat: BUSCARBEAN package controller; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.annotation.PostCons...
asked by 10.07.2018 / 21:03
0
answers

Error while showing a list of images that were retrieved from DB

Images are retrieved normally but are not displayed in the gallery. NOTE: If I take an image from the list and play in a p:graphicImage it works normal. MBean: package org.salomao.bean; import java.io.Serializable; import java.time....
asked by 26.06.2018 / 17:54
0
answers

How to change an image using the commandButton in Java JSF?

0 vote against favorite Good afternoon, I'm developing a naval battle game in JAVA using Primefaces to make the front end. I would like a help to mount a commandButton that when clicked, trigger a function that will return if the house selected...
asked by 17.06.2018 / 16:55
0
answers

Local error does not occur: Uncaught TypeError: Can not read property 'getAttribute' of undefined

I'm having trouble loading a combo, location works, but in the development environment it gives the following error ... Uncaught TypeError: Can not read property 'getAttribute' of undefined                                                   ...
asked by 12.06.2018 / 16:03
0
answers

Dynamic PanelGrid JSF

I have an application that needs to have a dynamic panel, I was able to create and display the screen and put the values from the database, but I can not get the values of the inputnumber if the user modifies, my question is how do I get these v...
asked by 15.06.2018 / 22:05
0
answers

How to do a JSF Login

Friends once again around here, I'm doing a college job, that the teacher wants a login page. To start I have done all the part that saves the user, with screens in xhtml, the system will have two more types of users the fiscal and the genera...
asked by 02.06.2018 / 00:46
0
answers

UI Conditional Test: Repeat

I have a UI repeat and need to check if a variable is null to properly fill a TD, if I remove the conditionals the variable is displayed correctly but for this verification situation I am not getting any way to make the when test does it work co...
asked by 01.06.2018 / 01:06
1
answer

Call method in bean if condition is true

I created this confirm: <script type="text/javascript" language="javascript"> function salvarAntes(){ var r=confirm("Deseja confirmar?"); if(r){ return true; } e...
asked by 29.05.2018 / 17:29
0
answers

Many To Many JSF and JPA

Dear friends, I ask you to help me solve the following question: I have two entities in a many-to-many relationship @Entity public class Livro implements Serializable { private static final long serialVersionUID = 1L; @Id @Genera...
asked by 01.06.2018 / 11:11
0
answers

Java CkEditor Plugin

I build the plugin customizable by the ckeditor Builder, play within the library folder and generate the .jar file, but by adding this new lib in the Java / JSF project, it generates an error in the browser console and does not load the editor c...
asked by 01.06.2018 / 16:22