Questions tagged as 'java'

1
answer

Priemfaces p: commandButton with ui: repeat only one button works

Good I have the following problem, I am using primefaces for my front and in a section I am using the ui: repeat of JSF to generate dynamically a grid view where each grid shows a bank and its balance according to different conditions, now the c...
asked by 19.08.2018 / 01:03
2
answers

How to identify values in a string

We are making validators of expressions which are loaded in a database. The challenge is to take that expression, for example: Objeto.getNombreFuncion("123").getAttribute("Nombre_Etiqueta") && Objeto.getNombreFuncion("Otra_Etiqueta")....
asked by 11.08.2018 / 22:05
2
answers

Compare two lists and delete repeated

I have two string lists listA = {a, b, c} listB = {e, a, b, d, c} I want to have a single list with all the elements without any repeated, Example: listFinal = {a,b,c,d,e}, I've done it by doing this: listB.removeAll(lis...
asked by 16.08.2018 / 17:31
0
answers

Store an object in a string array

((Estudiente)oPersona).setEmpadronar((**Carrera**)vDatosRegistro[7])); what can I do so that I do not get an error when wanting to store that object in a string array of type string. The error of the object of type Carrera     
asked by 12.08.2018 / 05:47
0
answers

Create methods that generalize the Registration, Discharge and Modification of several objects

the idea is the following. In my system I have to make the ABM of several objects, such as User, Card, Establishment, among others. I was reading about some pattern designs and I wanted to use it in my code so that, instead of doing the ABM of e...
asked by 12.08.2018 / 03:36
1
answer

because when using the nextInt () it automatically jumps out of line in Java?

a little doubt in this code: System.out.print("Digite el primer entero:"); x = entrada.nextInt(); System.out.print("Digite el segundo entero:"); y = entrada.nextInt(); when you run out: Digite el primer entero:4 Digite el segundo en...
asked by 09.08.2018 / 21:27
0
answers

Primefaces 5 with JSF send data to another view from a table

Good day, I'm starting to work with JSF and primefaces and I have a question I have a table with the following code: <h:form id="tabla"> <p:dataTable var="sel" value="#{adminbean.seleccioness}" rows="...
asked by 11.08.2018 / 15:55
0
answers

Create filter with several Parameters

I'm doing a small system where I'm using the TableRowSorter in a table, the TableRowSorter works great, but when I put another parameter to make the previous search filter it does not work and filters me with the previous model This is the co...
asked by 22.08.2018 / 23:05
1
answer

AsyncTask class in android Java with its methods does not complete the process

I have a process that I want to run in the background, it works but at the end I want it to go to the next activity but it does not, it gives me a black screen and when it finishes the task goes to the activity: within the class I have several c...
asked by 22.08.2018 / 22:06
1
answer

receive data from one activity to another automatically

I have an activity and a PopUp window that comes up when I click on a button, this window has a button, which detects your click from the class of the window, what the button does is pass some data to the main activity and close the popup with t...
asked by 22.08.2018 / 22:48