Questions tagged as 'java'

2
answers

Update table primefaces

Hello, I'm having trouble updating the table after removing some item from it, the item is only permanently removed from the table when I look for another type. The table updates as the value of the selected in selectOneMenu . FindT...
asked by 13.12.2016 / 17:56
0
answers

Integration between SpringSecurity and SpringData to use SpEL

Good afternoon I'm creating a routine where I need to use Spel to access Authentication data directly in the SpringData @Query, I followed the SpringData tutorial itself to perform the configuration: SpringData with SpEL After followi...
asked by 13.12.2016 / 17:08
1
answer

Configuration file

I have a legacy web (war) application where various environment settings are arranged in XML files, eg the DB path is in context.xml <Context path="/Base" reloadable="true" crossContext="true"> <Resource name="jdbc...
asked by 15.12.2016 / 02:34
6
answers

Check if EditText is empty

Hello everyone, I'm doing an application in android studio but I do not know exactly how to check if the text fields are empty, I tried the following solution in the code below: public class MainActivity extends AppCompatActivity { EditText...
asked by 08.08.2016 / 16:01
0
answers

JSF page call error + Primefaces

I have the following menu: <h:form> <p:menubar style="margin-top: -20px; margin-bottom: 20px"> <p:submenu label="Cadastros"> <p:menuitem value="Pessoa" /> <p:menuitem value="La...
asked by 26.01.2017 / 13:28
0
answers

Driver does not wait for the page to load to proceed

Hello, I'm using Selenium to do some testing and then exporting the code to eclipse. I'm trying to get a getText on a page that uses ajax using xpath, and then I'm trying to authenticate with assertTrue, but I'm not getting the page to fully loa...
asked by 25.01.2017 / 19:01
1
answer

How to pass more than one parameter in a paint () method in Java?

I was developing a project where I need to override the paint () method, but the paint () method only receives a Graphics object as a parameter. What I need to do is create a paint method that takes two parameters and uses Image objects belongin...
asked by 07.12.2016 / 18:53
0
answers

Project - Comic Strip (board) [closed]

I have an Introduction to Programming project that consists of making a comic book. The first class is the Vignette. It is necessary to create two constructors for Vignette, which in one of them receives as a ColorImage , a int that...
asked by 07.12.2016 / 17:31
0
answers

Android application gives error when I try to sign in

Log in application in Android Studio. I can register in the application but when I try to log in I can not give me an "login failed" here is the code for login.php <?php require("password.php"); $con = mysqli_connect("198.91.81.5", "usuari...
asked by 03.12.2016 / 15:27
0
answers

Copy and Paste Function

I wanted to copy and paste a string into a ListView, the function I'm using is just copying follows the function: // Função Copiar private void copiarTarefa(Context context, String text) { if (android.os.Build.VERSION.SDK_INT <...
asked by 04.12.2016 / 00:14