Questions tagged [getproperty]
84 questions
1
vote
1 answer
Java - System.getProperty returns null in a final class attribute's initialization but not in a method
I set a JVM option with -Dpath.eai=C:\home\eai. Depending on where I call System.getProperty("path.eai"), I don't have the same result.
Call in a final class attribute's initialization
public static final String DIRECTORY =…

Flyout91
- 782
- 10
- 31
1
vote
1 answer
PropertyInfo button.GetProperty events return null
I'm trying to get button eventclick with reflexion. I would like to get "Btn_AddTest_Click" string for assign it to a CommandBinding.
For example:
XAML
Behind
public async void…

Marc
- 107
- 8
1
vote
1 answer
SoapUI & Groovy - How to get properties from different TestCases using Run testCase
Sorry in advance. I am sure this is not a new question but I swear I've been looking for days and have tried several solutions but no one fits exactly what I need. I hope you guys can help me...
My problem:
I have a main script which sends bash…

cin2e
- 23
- 1
- 7
1
vote
1 answer
System.getProperty("user.home") on Tomcat returns "/usr/share/tomcat7/"
My Java Application runs on Tomcat and I want to create files under user home directory (such as "/home/USERNAME/").
Method System.getProperty("user.home") works great on Windows, returning "C:\users\USERNAME\". But on Linux it returns…

LucasBatalha
- 43
- 1
- 8
1
vote
2 answers
Retrieve Custom CSS Property Value with JavaScript - Must not be possible
The goal is to define a custom CSS property value in an external style sheet.
Fiddle It
External CSS:
#myDiv {
--myCustomProperty: 'myCustomValue';
}
Markup:
There is nothing in the CSS spec that says…

JavaScript_is_4_Real_men
- 299
- 3
- 14
1
vote
0 answers
AmbiguousMatchException when using Reflection by calling GetProperty API
I have a problem: it seems like there is a bug or something in the .NET Framework 3.5. For example, consider the code below:
public interface IListModel
{
Object Selected { get; set; }
}
// And then I define a class:
class ListModel :…

George Lica
- 1,798
- 1
- 12
- 23
1
vote
2 answers
Javabean property in JSP

user3758745
- 777
- 1
- 6
- 19
1
vote
0 answers
NullPointer Exception in GetProperty of SoapObject
Im trying to execute a return of soap and dont it shows a error in getproperty.
I tried of two ways.
1-
SoapObject obj, obj1;
obj = (SoapObject) soapEnvelope.getResponse();
obj1 = (SoapObject)…

Vinicius Pereira
- 13
- 4
1
vote
0 answers
Get All Property's From A User in Flash CS2
I have this:
public function saveProfile()…

user2730288
- 11
- 1
1
vote
1 answer
Retrieving custom property value from received mail using GetProperty (which was set using SetProperty in Outlook VBA)
Reference:
Outlook 2013
Windows 8
I have set a custom property on an outgoing mail using SetProperty.
I am able to see this property and its value in the internet message header once the mail is received on another machine.
I am not able to retrieve…

Debashis Nath
- 23
- 1
- 5
0
votes
0 answers
How to change value of a boolean get only property by toggling of a binding bool parameter in SwiftUI
I am new in SwiftUI and struggling with some property conversion issues. I developed an app, keeping book details in Firebase such as title, publisher and whether book is finished or not. I used a star image in the BookDetails page to toggle whether…

baymak
- 89
- 9
0
votes
0 answers
Read data from prop property in kernel/driver side
I'm working for a AOSP company, now I want to read data from prop "adb shell getprop" in kernel/driver side.
example:
[ro.csc.country_code]: [USA]

Hòa Đỗ
- 1
0
votes
0 answers
PHP Fatal error: Uncaught ReflectionException: Property date does not exist
I have some script that worked before, and now I'm getting some errors.
Somebody can help me find the mistake?
while ($value = sqlsrv_fetch_array($stmt, SQLSRV_FETCH_ASSOC)) {
$m = $value['d'];
$o = new ReflectionObject($m);
$p =…

Roma Meir
- 9
- 1
0
votes
1 answer
sorting a generic list from within a generic container class
I need to sort a list by any one of its properties, but i dont know which of these properties it will specifically be sorted on. The Main method below.
static void Main(string[] args)
{
Things something = new…

JamySmit
- 5
- 4
0
votes
1 answer
Indexed getter in Javascript
I'm using straight Javascript (no JQuery or anything like that, please). I've implemented a class which wraps an array, thus:
class Ctrls
{
_items = new Array();
constructor()
{
this._items = new Array();
}
…

Mark Roworth
- 409
- 2
- 15