Questions tagged as 'java'

1
answer

Display complete modal string

I'm using Java, JPA, Wildfly and Primefaces. I have a table that displays text, but this text is being cut in view by table size. I have to create a boon that calls a modal to display the full text. table row has its button to display its detail...
asked by 24.08.2016 / 21:18
2
answers

Google maps android already open looking current position [closed]

I would like help to get google maps from my android application already look for the current position of the user as soon as the map is opened, in the same way as traditional gps, such as waze, to have to click on any button for this . And a...
asked by 31.08.2016 / 08:18
1
answer

How to read return from a java function

I use a third-party ged platform that provides web-services JAX-WS . There is a method called getInstanceCardData that returns the value of the form record fields of a request. Here's the method signature: Method:    getInst...
asked by 16.08.2016 / 13:48
1
answer

NullPointerException error when calling a method

public void addFormaPagamento() { btnAdd.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { boolean isInsertForma = dbApp.insertFormaPagamento( spnForma....
asked by 17.08.2016 / 19:04
1
answer

Problem with the confirmDialog component of the firstfaces

In the view of my java application I have a commandButton that should open a delete dialog, but clicking the delete button does not show the dialog. The code is: <ui:composition template="/WEB-INF/template/LayoutPadrao.xhtml" xmlns="http://...
asked by 16.08.2016 / 04:47
2
answers

Prohibit duplicate registration

Hello everyone. I have a program that works with user registration. In this program I would like to implement a function that prohibits cpf or email registration that already exists in the database. As a database I'm using postgreSQL and Java...
asked by 24.08.2016 / 06:27
1
answer

java.lang.NullPointerException error in android application

In this code the mentioned error occurs, pointing to the CarregarTelaPrincipal() method. Why is it occurring? package com.example.usuario.myapp; import android.app.Activity; import android.support.v7.app.AppCompatActivity; import andro...
asked by 22.08.2016 / 20:41
1
answer

Autocomplete + PHP + MYSQL

I'm doing autocomplete tests to put in a form on my site, however, when I run autocomplete, it does not work. I even searched for possible errors that occur in autocomplete and found nothing. The files are as follows: ajax.php <?php...
asked by 14.10.2016 / 19:55
1
answer

Release access permission to the tomcat management screen

I have installed Netbeans 8.1, in this installation, I took advantage of installing Tomcat 8.0.27. But I am not able to access the management screen, as it asks for the password. I have already tried several user settings, password and roles but...
asked by 18.10.2016 / 13:44
1
answer

Use Date type field in Java with MySQL

I'm having a little problem, I'm doing a test using the Date field in Java, and I'm having trouble executing it. Here are the codes I'm using: 1st the Code to create the table in MySQL Create table clientes ( cli_id Integer NOT NULL AUTO_INCRE...
asked by 11.08.2016 / 22:54