Questions tagged as 'java'

1
answer

Spring-Boot + Thymeleaf, load data in Bootstrap modal window

Good afternoon! I'm using spring-boot and thymeleaf to develop a java application, I'd like to know how I can load logs into the modal bootstrap window by clicking the link in the table that lists the logs. Example: In the user query screen,...
asked by 10.04.2017 / 22:19
2
answers

Passing of double parameters to Jasper report

I'm making a report that passes as parameters: Start date, end date and type (which can be: input, output or input and output). Everything works fine until I try to get the report that gets input and output ... I've tried it in many ways and...
asked by 19.05.2017 / 20:40
1
answer

Load Json Search in JSP

Good Morning I'm trying to make this example in my project. It is a simple change of Select when you choose State Changes the Cities in another Select. link But I can not get the variable, estados_cidades.json . I tried to scrip...
asked by 19.05.2017 / 16:26
1
answer

Fragment with recyclerview closing application

We'll need to do a fragment where information will come in little by little, I'm using the RecyclerView method to develop this. The whole idea is to get comments on a certain item. Firstly I created a fragment , and it loo...
asked by 19.05.2017 / 15:29
1
answer

@JoinTable or @JoinColumn

Good afternoon, folks. I have a diagram as below and I have a question. It is between User and Account and what I am in doubt is, if I access through CONTA, I find the USER, but I can not conversely. My question is, is it okay to do this? How do...
asked by 14.04.2017 / 19:52
1
answer

Error with Mysql insert with JDBC

I'm running this code: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package br.com.caelum.jdbc; import...
asked by 12.04.2017 / 21:20
1
answer

How to use iReport with Oracle?

I'm having trouble adding the Oracle driver to iReport Designer , I tried to follow some tutorials, but I was not successful. So my question is, how do I add and make the necessary settings for the Oracle driver? Note: Try following t...
asked by 18.04.2017 / 16:59
1
answer

Add items at the top of RecyclerView with FirebaseRecyclerAdapter

How do I add items to the top of a RecyclerView using FirebaseRecyclerAdapter ? By default, whenever I add an item, it goes to the bottom of the RecyclerView list, and I want it to go to the start. Remember that this adapter is d...
asked by 10.06.2017 / 01:18
1
answer

Passing data to a listview on another activity screen

I have a college exercise, I have to fill in field name, age and cpf when I click on the "register" button it sends the data to another activity screen where the names will be listed in a listview, it is in this part that I have caught. I have a...
asked by 17.05.2017 / 15:37
1
answer

Problems with multicones in the android menu

I'm trying to create two buttons but it's only working when I click on one of the buttons. Myactivitylookslikethis:<?xmlversion="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmln...
asked by 16.05.2017 / 20:41