Posts by Felipe Portela • 183 points
19 posts
-
1
votes1
answer527
viewsQ: How to break at the end of the checkbox line
The courses are coming out without formatting, there are more courses and are not appearing on the registration screen. How to break this in XHTML? Code: <h:panelGrid columns="2"…
-
0
votes1
answer161
viewsQ: Rendered Does not work in datatable
Good afternoon. I have a simple problem. However, I am struggling to solve. I have these 2 methods to control my Rendered do dataTable: // Filtra o simulado.. @Transactional public void…
-
1
votes2
answers1298
viewsA: How to integrate Spark Theme - primefaces with Maven
good afternoon. I solved my problem the following way: The files coming in Theme premium are: 1. .Jar 2. A pasta resources com o CSS, Images, Fonts e JS. To perform the integration via Maven is…
-
1
votes2
answers1298
viewsQ: How to integrate Spark Theme - primefaces with Maven
Can anyone help me with my problem? I’m trying to integrate Spark Theme with Maven to move up the theme. Meanwhile, I’m having a hard time. http://www.primefaces.org/spark/ I looked at the…
-
0
votes0
answers99
viewsQ: Error when returning the object after query
Good night to you all. Objective: The main objective is to take the user id and the code of the simulated that he answered, and display it on another screen after he answers this simulated, however,…
-
0
votes0
answers28
viewsQ: ERROR when selecting a simulation
I have a subscription problem. I have a screen that recovers cycles that are open according to the course of the user and for each cycle of this already has a simulated saved, ie a relationship.…
-
0
votes1
answer243
viewsQ: Manipulating a JSF + Primefaces datatable
How do I make for the dataTable only be displayed after I click Reply Simulated? When loading the page, the dataTable first logo is already displayed, even I have no question in it. I have a Command…
-
0
votes0
answers110
viewsQ: Dependent checkbox
I have a problem and I was wondering if you could help me. I have a CRUD that registers cycles, these cycles can have many courses. What I wanted to do exactly, is validate the selectsOneRadios when…
-
0
votes1
answer168
viewsQ: JPQL - SQL query
good night. I have a bean, which has an init() method. One of the objectives of this init is to bring the cycle that was opened according to the course of that user, that is, If there is no cycle or…
-
1
votes1
answer324
viewsQ: Target Unreachable, 'reply' returned null - Selectoneradio
I’m not getting the value of mine selectOneRadio, comes as null: <p:dataTable id="exibePerguntas" var="questao" paginator="true" rowsPerPageTemplate="2,3,5,10,12" paginatorPosition="bottom"…
-
3
votes3
answers2362
viewsA: How to Recover User Session
Leonardo solved my problem. In the end the code was like this: @ManagedBean(name = "usuarioLogado") @SessionScoped public class UsuarioSistema extends User implements Serializable { private static…
-
4
votes3
answers2362
viewsQ: How to Recover User Session
I just wanted to retrieve a user’s session. I have a class called User system, that identifies which user is logging in. In this class, I take the session and play for an object. @ManagedBean(name =…
-
0
votes1
answer72
viewsQ: How to organize questions to display on screen
good night. I have a String type attribute that receives a question coming directly from a textarea. My problem is that I can’t let the questions go when it comes to displaying them equally as a…
-
0
votes1
answer132
viewsQ: Selectoneradio sending only one value
I am concluding a simulation system for my course completion work. However, I have a problem that I have not yet been able to solve. I perform a filter to select the questions for the user to…
-
3
votes1
answer267
viewsQ: JSF page displaying Object reference value
good night. I have a JSF page called simulated.xhtml on which implement a filter to generate the simulated and I’m also trying to display results from the database that have already been filtered on…
-
0
votes1
answer201
viewsQ: SQL/ JPQL query
Friends, good afternoon. I have a table in the database called Question Inside the table I have two columns that are code (id) and question. I have a filter that I can not specifically bring only…
-
1
votes1
answer72
viewsQ: How to view Questions recovered from a DAO on the same JSF page
good afternoon. I have a page called simulated.xhtml in which I receive some parameters (Filter) to make a query in the database according to the filter. Everything is already working, what I wanted…
-
0
votes2
answers112
viewsA: java.lang.String cannot be cast to com.sisEnade.tcc.modelo.Questao
Just complementing the response of the buddy up there, soon after I discovered it is also possible to get only the single column that is a String changing the return type to String. The filter was…
-
1
votes2
answers112
viewsQ: java.lang.String cannot be cast to com.sisEnade.tcc.modelo.Questao
good afternoon. I have the following error: java.lang.String cannot be cast to com.sisEnade.tcc.modelo.Questao However, I was unable to resolve the error. The goal of the implementation is to create…