Posts by Ascension • 281 points
11 posts
-
0
votes1
answer41
viewsA: Consume Retrofit json on my real device (smartphone)
Executes the ipconfig on your machine and picks up the ip. Then uses your ip and port in your code with retrofit to consume. Call of the Retrofit: Retrofit retrofit = new Retrofit.Builder()…
-
0
votes4
answers304
viewsA: Leave part of the APP in library
I recently had the same need. I read a post by João Gabriel and solved my problems. Follow link: How to create your own libraries…
-
1
votes1
answer196
viewsA: selectOneMenu Does not list correctly
Since your code is with Primefaces, I don’t remember having a <p:selectOneMenu /> listing the items side by side. Remember that the listing is done via <div /> with a <ul /> with…
-
1
votes1
answer301
viewsA: Illegalargumentexception
Reply from the Author of the Post: PROBLEM SOLVED, my listbox was with 2 shares in onChange, where ended up generating information conflict
-
2
votes1
answer78
viewsA: What is the benefit of Jsf’s life Cycle?
Like any programming language, you must know the basics of how it works. JSF is no different but it doesn’t mean you can’t build a system if you don’t know its life cycle. Studying him is just to…
-
0
votes1
answer231
viewsA: When to use onCreateView() vs onActivityCreated()?
The onCreateView() is used when you want to create a Fragment custom. Beware, if you use it to create a view because later, you need to destroy this object by calling the onDestroyView(). It is…
-
2
votes1
answer344
viewsA: How to change only checkboxes visible from a datatable?
As you put the primfaces tag, I assume you are using it. In the very demo of the first faces you have what you are asking. Look for the table that is using checkbox and see. Primefaces Datatable…
-
1
votes1
answer136
viewsA: Synchronization problem
Dude, you set the url to null and then tried to call openStream(). See: URL url = null; // Aqui está nulo HttpURLConnection conn = null; try { InputStream stream = url.openStream(); // Aqui você…
-
1
votes1
answer1525
viewsA: Map columns of separate tables into a single object and vice versa
Responding to situation 1 and 2: What you need to solve situation 1 is in situation 2 and vice versa, that is, in situation 1 you have 2 tables and the code of situation 2 is noted for 2 entities.…
-
1
votes1
answer1051
viewsQ: Processing of database exceptions
How to handle database exceptions with JPA? And, how to use annotations instead of the Imessage interface, as below? Example: My database returns error: "Violation Constraint uk_email"; Pick up the…
-
3
votes2
answers1252
views