Questions tagged [getvalue]

191 questions
-1
votes
1 answer

Get constant Variable from URL String

I am trying to isolate a constant variable in the URL string of a website. For example www.website.com/products/brand-product-description?variant=123456789 . I need a js function that will return only '123456789'
-1
votes
1 answer

Marshall data from DataSnapshot into custom class in Android studio

I can't seem to figure out how to read the data from datasnapshot into my own class. Here is the function where I attempt to do so: private void initializeFirebase(){ my_db = FirebaseDatabase.getInstance(); DatabaseReference my_ref =…
-1
votes
1 answer

Firebase database cant retrieve data into class (returns null)

been watching tutorials and forums, tried everything, still cant find the solution. When i retrieve data with getValue() and put it in object, it sees the values, but when i try to a the to a class with getValue(Kontaktas.class) the values are null.…
JuliusJ
  • 21
  • 1
  • 9
-1
votes
1 answer

SAPUI5 - this.getView() is not a function

I am trying to get the input value, but when I call the function I get the error this.getView() is not a function Below is the function in controller handleConfirmationMessageBoxPress: function(oEvent) { var bCompact =…
Rubens Cesar
  • 29
  • 2
  • 3
  • 10
-1
votes
2 answers

DependencyProperty.GetValue returns wrong value

Hello this is my code: public class Class1 : FrameworkElement { protected override void OnRender(DrawingContext drawingContext) { base.OnRender(drawingContext); var testOk = this.ActualWidth; var testNotOk =…
jaguar68
  • 159
  • 1
  • 1
  • 9
-1
votes
1 answer

How do I get the value of a field with generic typeof

Given that I have a parameter TEntity which will be an class, how do i get the value of one of its fields. public class ProductStrategy : IContractCreatorStrategy { public IContract
floormind
  • 1,868
  • 5
  • 31
  • 85
-1
votes
1 answer

GetCell -> GetValue -> SetValue fails

I want to make the below mentioned code working but it doesn't - nothing happens when I run it (also no error), that means the username (sUserName) doesn't get saved in the spreadsheet... And also I don't understand why the columns cant start with…
-2
votes
4 answers

Php isset $_GET not working as expected

I'm trying to pass $user_domain to login.php. I get the value from first_page.php from header();. In returning_user.php I set a variable $_SESSION['returning_user'] to let my program know what to do in login.php. If everything goes well, the user…
Balloon Fight
  • 661
  • 8
  • 16
-2
votes
4 answers

Python: Is there easier way of doing this? String to certain text

I have this list: comment = ['Item Location: AUMEL222\nLintu Testi: C:\\SSD\\important\\text.txt\nLintu Connection: 123\nItem Version: ABC.123.ABC\nItem Serial: 1234ABCD\nItem Configuration ID: ABCD1234'] i need to extract certain items from here.…
user8231578
-2
votes
4 answers

{System.Byte[]} to System.Byte[]

I have an object with one of its properties being an array of bytes. I assign that property to object called obj1. When I assign that property to a variable, it acquires the {System.Byte[]} type which is an object, not an array. As a result, I…
Hassan
  • 1
  • 2
1 2 3
12
13