Posts by Tiago Ferezin • 1,567 points
76 posts
-
0
votes1
answer41
viewsQ: How to return data through the Java Criteriaapi from more than one table?
I have a class that doesn’t persist: Peopleware.java public class PessoaDadosSearch{ private Long idPessoaDadosSearch; private String nome; private String cpf; private String municipioResidente;…
-
1
votes1
answer20
viewsQ: Jquery.click() function with problems running
According to my code below, when I click the button Ver senha on the web is making a GET when I really just want you to show the password field. What might be wrong? $('.passwordShowLabel').hide();…
-
-2
votes1
answer224
viewsQ: Fetch always returns "Typeerror: Body has already been Consumed." How to fix?
I’m using the function fetch down below: var url = "https://jsonplaceholder.typicode.com/users/2"; fetch(url).then(function(response) { if (!response.ok) { alert("Response not ok" +…
-
1
votes1
answer912
viewsQ: How to send data from a form with attached file to an email with PHP and AJAX?
I’m trying to send a file using the function mail() of php, problem that I am doing the tests and the email is sent but will not the file and the email is sent totally uncompromised, which may be?…
-
1
votes0
answers36
viewsQ: How to do a Cron task with Laravel?
I have a Function in php/Laravel, and would like to fire this Function every 2 hours and 35 minutes. My question is: Using Laravel, as I create correctly, a cron to trigger this function in this…
-
1
votes1
answer2516
viewsQ: How to download a file to the server with php Laravel
I would like to know how to download an image or video using Laravel and save on my server direct, taking a url as example: https://brandmark.io/logo-rank/random/beats.png?
-
0
votes3
answers214
viewsA: How to create a PHP progress bar using the Laravel Framework?
I believe I can use the tool Progessbar, I believe I can meet your request....…
-
1
votes0
answers1325
viewsQ: Error loading facebook PHP SDK URL when logging in
My login function is thus on Laravel public function loginFacebook(){ $fb = new Facebook([ 'app_id' => 'xxxxxxxxxxxxxxx', 'app_secret' => 'xxxxxxxxxxxxxxxxxxxxxxxx', 'default_graph_version'…
-
0
votes2
answers260
viewsQ: Springmvc controller does not redirect to another controller
No Controller Logincontroller.java @Controller @RequestMapping("/login") public class LoginController { @Autowired private UsuarioRepositorio usuarioRepositorio; @RequestMapping(method =…
-
0
votes1
answer6891
viewsA: Webservice/api consult court proceedings
Option 1: If your question is to make a system in the Jusbrasil style I believe that API help you in something, because it is the API of Jusbrasil Option 2: You can get the Webservice from CNJ even,…
-
0
votes1
answer322
viewsA: Failure to startar Tomcat
The solution found was: 1st - Create the class JPAUtil to create the EntityManager @ApplicationScoped public class JPAUtil { private EntityManagerFactory entityManagerFactory = Persistence…
-
0
votes1
answer322
viewsQ: Failure to startar Tomcat
When I try to start the TomCat 7 in my project called ribeiraoreefshop, triggers the error of start the main one would be as follows: Failed to start Component [Standardengine[Catalina].…
-
3
votes0
answers156
viewsQ: How to implement Flyway in a Javaee Maven project with Hibernate, vRaptor and JPA?
In a project Maven, JPA, with Hibernate and vRaptor integrated, how to implement easily and effectively, the Flyway? Implementing this, my bank will update how it was in developing the <property…
-
4
votes1
answer524
viewsQ: Hibernate is not creating or updating BD tables
I have the classes Beans.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"…
-
0
votes0
answers29
viewsQ: In java web development, what is the best practice for image storage? In a database or image folders?
In a Java web application, what better way to store images? Store in databases or image folders and in the database use paths to these images? And how would you do that? Thinking of using write in…
-
0
votes0
answers114
viewsQ: Error starting Eclipse Luna, java.lang.Noclassdeffounderror: org/w3c/dom/stylesheets/Stylesheet error
When starting the newly installed Luna Ellipse appeared the following error in the file .log. in the \workspace\.metadata\. Below the error log: !SESSION 2018-04-24 11:50:44.298…
-
1
votes1
answer747
viewsQ: Adjust list of products in Woocommerce, to align correctly
My store has the following look And I would like to align the products correctly, because the look is not cool. How could I do that?…
-
1
votes1
answer26
viewsQ: Error when changing a generated content within a <span> tag, automatically generated in Woocommerce
Trying to change the automatically generated "New!" word in Woocommerce as below: <span class="label-new">New!</span> And using the jQuery section below <script>…
-
0
votes1
answer84
viewsQ: How to issue Electronic Invoice in the test mode in Woocommerce?
How do I issue free tax bills, trial version in Woocommerce? To test the plugin, from Webminarbr.
-
-1
votes1
answer42
viewsQ: How to make a top designer with these breakups in Woocommerce?
How to make this image in css in Woocommerce? I want to leave it this way in my header, but it is not aligned this way and does not have separation traits. I have to do it in CSS and HTML Image used…
-
1
votes1
answer122
viewsQ: Using the awesome Font icons in Woocommerce?
How to use icons from Font Awesome on the Woocommerce pages?
-
-1
votes1
answer525
viewsQ: Magento installation giving php error Extension
I am running Magento 2.0.1 installation on xampp v3.2.2, and when you will check php Extension the following error appears as the image below: Someone has already been through this problem can help?…
-
0
votes1
answer156
viewsQ: How to ignore persistence.xml in gitignore?
I have a persistence file called persistence.xml in the paths: /git/meuRepositorio/Meuprojeto/src/main/Resources/META-INF/persistence.xml And I’d like to include you in .gitignore, I put that path…
-
1
votes1
answer5066
viewsQ: Failed to connect to github.com port 443: Connection timed out
I’m trying to make a git push, or git pull, and back and forth triggers this error: fatal: unable to access 'https://github.com/tiagoferezin/meuRepositorio.git/': Failed to connect to github.com…
-
0
votes0
answers212
viewsQ: On call to Entityidentifierreaderimpl#resolve, Entitykey was already known; should only happen on root Returns with an optional Identifier specified
Using Hibernate with class: Java text. package br.com.meusite.model.documento; @Entity public class Texto extends ABeanDao<Texto> { private static final long serialVersionUID = 1L; private…
-
1
votes0
answers279
viewsQ: Error: Java.lang.Stackoverflowerror:, com like no Hibernate(loop Query.getResultList())
I have a method: public static List<Texto> getTextoPorIdAlternativoLike(String idAlternativoTexto) { Texto texto = new Texto(); String where = "t.idAlternativo like :idAlternativo";…
-
2
votes2
answers125
viewsQ: Is there a workflow in git that determines file access and blocking?
On Git, it would have some way where each user determines which files and for how long, the other user will have access to editing certain files, wanted some way where to avoid file conflicts.…
-
2
votes2
answers1712
viewsQ: How to name a Hibernate/JPA Constraint?
Using the class: @Entity public class Pessoa{ @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long idPessoa; @Column(nullable=false, unique = true) private String nome; @OneToOne…
-
3
votes1
answer1325
viewsQ: How to create a function button to export Datatable to (.csv) in jQuery?
I have the following button: $(document).ready(function() { $('#example').DataTable({ "dom": 'T<"clear">lfrtip', "tableTools": { "sSwfPath": "/swf/copy_csv_xls_pdf.swf" } }); }); <script…
-
3
votes1
answer1404
viewsQ: How to convert a byte[] from an image to a jpeg image to load into html?
In the html(jsp) of registration I have a field that the user registers his photo with the tag img with the following result. <img…
-
0
votes0
answers366
viewsQ: How to get Result from Controller Vraptor with Jquery?
I have a controller. Newslettercontroller.java @Controller public class NewsletterController{ @Inject private Result result; @Post("/gravarEmail") public void gravarEmail(String email){ String…
-
0
votes2
answers175
viewsQ: Firefox is not running Jquery’s . css() method, how to fix it?
I’m using this script Jasny-bootstrap.js, in that code snippet <head> <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" />…
-
1
votes1
answer769
viewsQ: How to decrypt encrypted email in SHA-256?
I’m encrypting an email and saving it in the bank, how do I decrypt that same encrypted email. Follow the code I used to encrypt. public String getEmailCriptografado(String email){ email =…
-
2
votes1
answer691
viewsQ: How to get values from two html selects in javascript?
Basically I have the code below: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); var gravar =…
-
2
votes1
answer758
viewsQ: How to mount an array of selected select items in html and scroll through it to organize items in javascript?
I have the code: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); associar.click(function() { var…
-
4
votes1
answer676
viewsQ: How to create an association form (Picklist) in modal?
How to make the screen below in modal. Remembering that the boxes are multiple selection, and how to do that by clicking the button Associar > move to the right column the values I selected on…
-
0
votes2
answers908
viewsQ: How to load page reload when selecting dropdownlist item from jquery list by passing parameters?
I have a select <select id="selecao" name="tipoLocal"> <option value="casa">Casa</option> <option value="predio">Predio</option> <option…
-
2
votes1
answer740
viewsQ: How to make Hibernate read a table in a Mysql database and write to another table in Postgresql?
I need to consult a database in Mysql and take a table from there to write to a database in Postgresql by Hibernate/JPA. I set up the persistence.xml as follows: <?xml version="1.0"…
-
2
votes1
answer120
viewsA: Why does the app close when I start Activity?
I solved the problem by persisting the data that I would pass to the Bundle in the database and recovering later, since everything seems to overload the Bundle. This varies from device to device.…
-
0
votes1
answer120
viewsQ: Why does the app close when I start Activity?
I have in my onClick method the button to open the Activity within the Registersreadyoactivity, as follows. Bundle args = new Bundle(); Intent i = new Intent(CadastroProntuarioActivity.this,…
-
5
votes1
answer615
viewsQ: What does the term "String... string" mean in java?
What the term means String... string in Java? And how to elaborate a method that returns a String... as an example: public String... getStrings(){ return String... s;) } I know it’s not like that,…
-
0
votes1
answer44
viewsQ: How to do in Wizzardpager, build a Fragment according to user’s choice?
I’m using the Wizzardpager based on this here. But what I want is basically the user chooses the sex of the person, and passes to another screen of Wizzardpager where in this, will choose her…
-
2
votes1
answer435
viewsQ: How to place border on a selected item in Listview?
How to place a border on a Listview item when the user selects that item in the android app?
-
2
votes1
answer104
viewsQ: How to access link with parameter through html or Html5 form?
I have the following html code. <form action="http://www.meulinkqueseraredirecionado.com/namer/"> <input type="text" /> <input type="submit" value="Acessar" /> </form> I want…
-
8
votes2
answers749
viewsQ: Rendering error - class could not be found: android.support.v7.internal.app.Windowdecoractionbar
In my project Android Studio is giving a rendering problem in xml, giving the following error: Rendering Problems The following classes could not be found: -…
-
6
votes1
answer2745
viewsQ: How to convert a PDF file to TXT in Java?
Is there any java way to convert a PDF extension file to TXT extension?
javaasked Tiago Ferezin 1,567 -
3
votes1
answer2358
viewsQ: Placing event click on the button that is in a Fragment, in an Activity?
I want to put a setOnClickListener on the button that is in a Fragment, through my Activity. Follow the codes: Activity: private Button mButtonCriarConta; // onCreate da Activity...…
-
1
votes1
answer65
viewsQ: How to rebuild the XML of a Fragment layout when it is expanded?
I have a screen with a Fragment, that without being expanded, it just shows the user and password field and the sign up button, and I wanted that when I expanded it, fields like name, date of birth,…
-
1
votes1
answer1233
viewsQ: How to adjust screen according to Android virtual keyboard?
I would like to know how to resize the screen according to the display or not of the Android Virtual keyboard, Evernote’s home screen style, that when the keyboard appears the image decreases and…
-
2
votes1
answer107
viewsQ: Which event shows if the android keyboard is active or not?
There is some event or method that shows if the keyboard is active on the android screen, because I need to do this check in a Fragment.