Posts by Filipe • 121 points
14 posts
-
-1
votes3
answers5591
viewsA: How to Configure CORS correctly in Spring Boot?
Hello, I have the same problem as you. Besides all that, I could only get the result, because I commented the methods Preauthorize, because even passing Basic, he was checking the Preauthorize. You…
-
0
votes1
answer122
viewsQ: How to count how many occurrences of an attribute in a list are equal to a value? JSF
I need to count how many status equals '1'. I used this to count how many objects I had in the list and it worked. Now I can’t count only those who have status equal to 1. <h:outputText…
-
1
votes1
answer215
viewsQ: Project error: JSF does not respond or display Message
I’m on a JSF study project from the book Java For Web. It was going well, but I put the following code in JSF which, according to updates, should not work because the library…
-
0
votes0
answers167
viewsQ: Project error: java.sql.Sqlexception: Cannot create JDBC driver of class '' for connect URL 'null' - Javaparaweb
I’m studying Java by the book "Java for Web 2º Ed.", I was going quiet, but I stopped in the following error: abr 12, 2018 11:39:31 PM org.apache.tomcat.util.digester.SetPropertiesRule begin…
-
1
votes1
answer181
viewsQ: Send json to webservice and return status
Guys I’m doing a course of Caelum 36 but I stopped at some point I need to do this: curl -i -H "Content-type: application/json" -X POST -d '{"valor":"39.9","titular":"Fulano"}'…
-
0
votes1
answer1297
viewsQ: Change color of commandButton?
I would like to change the color of a commandButton, actually several, wanted to leave set "edit", "delete"... etc My code is like this. <p:commandButton icon="ui-icon-trash"…
-
0
votes1
answer184
viewsQ: How to change Growl’s position on the screen?
I want to change the position of Growl but apply in CSS and at the time does not change anything in the position when it appears on the screen, I want to center for example. In the template:…
-
1
votes1
answer510
viewsQ: Push does not go to remote and does not error
I’m making git push -f origin "branch name" and it doesn’t go to the remote repository at all. Since no error appears, I also changed some configs of buffers, which I do to solve? Counting objects:…
-
3
votes2
answers14542
viewsQ: How to ignore Folders/Directories in GIT? Ex: . Metadata , . recommenders
I have a project in . git in which I believe it is necessary to ignore some files. However, I put the command and the folder keeps appearing in git status. I did it the following way: creating…
-
1
votes0
answers252
viewsQ: Nested overload with Procedure (Form within Layout)
Following guys, I’m looking to make a class in which I pass the Form, LayoutContainer or Form, LayoutContainer and MultiView by parameter and within this class have the method open form with the two…
-
1
votes1
answer1591
viewsQ: How to assign an image to a Listview Item?
How do I assign an Image to a Listview Item? I want to place an image according to the status of the process. Initially only get by making statusbar with external components, but I can not use…
-
1
votes0
answers245
viewsQ: How to receive System.Generics.Collections.Tlist in a Tlist?
I have a problem trying to get Tlist from a Generics.Collections.Tlist. Gives the following error: [dcc32 Error] Unit1.pas(101): E2010 Incompatible types: 'TExame' and…
-
1
votes3
answers2828
viewsQ: How to change the color of a Text from a Listview?
I need my Listview to identify the values of a Text item, for example: , "Complete"/"Pending" and make each one a different color within Listview. I tried to format by code, but I could not, I saw…
-
2
votes2
answers2393
viewsQ: How to customize Listview at runtime?
I’m having a problem with an example where I need to add a Text at the ListView which comes from an XML by code but does not appear when executed. Runs, but appears some warnings depreciation and…