Questions tagged [nested-properties]
45 questions
0
votes
1 answer
control is not refresh when custom type property is changed
I made a custom type for gradient colors. I have no problem at design time, but when one of the properties of the custom type is changed at run time, the control has no react on the changes. here is the source code:
------------ Custom…

Galaxydreams
- 318
- 3
- 13
0
votes
1 answer
vaadin JPAcontainer and nested properties problem
I have entity ExchangeRate {date, currencyFrom, rate} . Entity currencyFrom has properties code and Name. I add it to container addNestedContainerProperty("currencyFrom.code");
it works without problem and code is displayed in vaadin table.
Now I…

Vlada
- 559
- 2
- 11
- 27
0
votes
2 answers
LINQ: Get a total count from a nested list inside projection
I have the following LINQ statement:
var branchStatus = (from b in context.Branches
join l in context.Lobbies on b.BranchId equals l.BranchId into branchLobbyDetails
from bl in branchLobbyDetails.DefaultIfEmpty()
where (branches.Count ==…

devC
- 1,384
- 5
- 32
- 56
0
votes
0 answers
MapStruct: Issue with Nested Properties and ReportingPolicy.ERROR on Unmapped Source Properties
Using MapStruct, we want to use ReportingPolicy.ERROR, and have code like the following:
@Mapping(source = "nestedSource.doublyNestedSourceField", target = "nestedTarget.doublyNestedTargetField")
Target mapSourceToTarget(Source source);
Where…

jengelhart
- 97
- 3
- 9
0
votes
2 answers
A way to access a property without knowing its path in a nested js object
is there a way to access a nested property within an object without knowing its path?
For instance I could have something like this
let test1 = {
location: {
state: {
className: 'myCalss'
}
}
};
let test2 = {
params: {
…

mikey
- 1,339
- 5
- 22
- 43
0
votes
1 answer
Collections.sort() on nested property values
I am working on sorting feature for a data table. I have JSF Web Controller:
@Named
@ViewScoped
public class SearchPlayerController implements Serializable {
private List playerList;
@EJB
PlayerFacade playerFacade;
…

veritimus
- 57
- 1
- 8
0
votes
1 answer
Vaadin8 grid nested property error
I'm trying to create a grid with a nested property. But I can not find a way to show nested property field in grid column.
private Component buildGrid() {
branchGrid = new Grid<>(Branch.class);
…

stephan
- 271
- 1
- 4
- 24
0
votes
1 answer
How to update JavaFX TableView if nested object binding changes?
I have an ObservableList of members that I want to display in a TableView.
The Member class consists of a Person (and other values which are not of importance as they will not appear in the tableview). Each Person has a…

Moritz
- 48
- 1
- 7
0
votes
1 answer
Angular2 Tour of Heroes - Hero.ts Property & Nested Objects
I'm working through the Angular2 Tour of Heroes tutorial and I'm trying to learn how to work with services. I was able to get the basic tutorial to work but when I attempt to get a little more complex, my app breaks and I'm not sure what I'm doing…

Phil Jefferies
- 33
- 1
- 9
0
votes
1 answer
Can not access nested array in object
I have an object that is a collection of index numbers. Under each number there are two properties and an array. I am trying to write a function that will accept arguments of the index number, the property to be updated, and the value. So far I…

B Minster
- 331
- 3
- 16
0
votes
1 answer
Unable to access nested property of array of static class
Givens:
The class must be accessible from inside another class that must be static (no choice).
The FOO class must be recursable supporting a nested array of a collection of items given the structure in the example.
FOO must be serializable in full…

Kraang Prime
- 9,981
- 10
- 58
- 124
0
votes
1 answer
How Do I Query Objects With Nested Properties Using NHibernate?
Okay, I've seen some similar questions to this, but the answers either confused me or seemed completely over-engineered, so I'd like to ask my own question.
I have a class called Tree, which has an object property from the class Plot, which has an…

Rabadash8820
- 2,328
- 3
- 27
- 49
0
votes
2 answers
cfwheels - removing unused composite key pairs
I've got an issue with a nested property that uses a composite key.
When I'm editing a model that has multiple instances of nested properties (with a composite key) and want to update it to have fewer by leaving them blank, cfWheels does not remove…

Daniel
- 34,125
- 17
- 102
- 150
-1
votes
1 answer
Clean way to acces nested variable properties from the $scope
I want to access same variable properties in a java script file but because are too many properties the code looks a bit to ugly. I have the next code:
$scope.invoice = new Invoice();
$scope.operations = {
editingLine: {},
isNewLine:…

John R.
- 420
- 4
- 14
-1
votes
1 answer
Method To Set Nested Property Value
I'm writing a plugin for a piece of software that requires all code to be in a single class (or nested classes)...
What I'm wanting to do is create a method that can handle changes to the nested properties of my _data object and give me a central…

user1960364
- 1,951
- 6
- 28
- 47