Questions tagged as 'objetos'

1
answer

Working with object in javascript

Well I'm trying to understand how to work with an object that comes from my controller in javascript, I've already done some tests to make sure this information went up correctly for the view, but I did not understand how to work with this infor...
asked by 20.07.2017 / 21:26
1
answer

Count True Values on an Object

I have this return from an API: object(stdClass)[2] public 'data' => object(stdClass)[44] public 'id' => float 3.5795374673835E+14 public 'completed' => boolean false public 'name' => string 'Dia dos Nam...
asked by 12.06.2017 / 17:27
1
answer

Activity Bugando + Memory error

Good afternoon programmers, I'm developing an application and in a certain part of it I populate textviews with some data coming from a webservice. When requesting data from the webservice in a specific class of all right the object comes comple...
asked by 23.05.2017 / 16:34
1
answer

How do I transfer the array data (objects) into inherited for the array (reservations)?

package pkg2017ppfp09; import ObjectManagement.ContainerOfObjects; /** * * @author pf */ public class GestorDeReservas extends ContainerOfObjects{ private final int MAX_RESERVAS = 10; private final Reserva[] Hist = new Reserva[10]; private Res...
asked by 15.04.2017 / 14:56
1
answer

Read variables from an object that was created in another [duplicate]

I'm creating an RPG and found a problem: I can not create monsters with levels. My code looks like this: var xp = 0; function MonsterCriado(entidade){ Lvl = Math.floor(Math.random() * (11 - 1) + 1); //quando um monstro nasce,...
asked by 20.01.2017 / 14:12
0
answers

Get Image / Object ID Inserted in a TcxRichEdit

Is there any way to get the ID of an image or object inserted into a RichEdit? I've tried: IDRichEdit[I]:=RichEdit.Lines.Objects[I].GetHashCode; But it gives AccessViolation. Update: The image / object has the following inherent cha...
asked by 09.12.2016 / 12:00
1
answer

Display value of an object item using Javascript

I'm a beginner in Javascript, I'm not sure how to display the value qtdeEstoque of listaTamanhos . Can anyone help me? alert("Tamanho: " + lista.Value + " / Estoque: " + data[i].qtdeEstoque); listSizes: id qtdeEstoque C...
asked by 13.10.2016 / 14:34
2
answers

What would be the most efficient way to replicate this code? (Javascript)

Doubt With this code, I can only create and manipulate an "official", I wanted to be able to add more employees by clicking a button and manipulating their data. HTML <!DOCTYPE html> <html> <body> Funcionario:...
asked by 25.05.2016 / 00:37
1
answer

Return object json to ajax in C #

Function in ajax function RefreshFuncaoOrdenamentoJornadaSalario() { idOrdenamento = $("#DDOrdenamento").val(); idCategoria = $("#DDCategoria").val(); GrauNumero = $("#DDGrau").val(); $.ajax({ type:...
asked by 22.06.2016 / 22:14
1
answer

Indicate form which method of the class to use

I have a form that will display the fields to be inserted in the bd, so far so good, the problem lies in the following: I have created a class (this file will receive several distinct requests) with methods add , edit , delete...
asked by 22.09.2015 / 19:51