2-way-object-databinding Questions

7

Solved

I am trying out the new Android Data Binding library (1.0-rc1) and I have made a User object with three String fields (name, email, and age) and linked them to 3 EditTexts in my layout. On the fi...
Outdoor asked 31/8, 2015 at 23:33

9

I'm trying to create a simple form with react, but facing difficulty having the data properly bind to the defaultValue of the form. The behavior I'm looking for is this: When I open my page, the...

15

Solved

Can't bind to 'ngModel' since it isn't a know property of the 'input' element and there are no matching directives with a corresponding property Note: im using alpha.31 import { Component, View, ...

5

Solved

Background/context for this question: I have a WPF desktop application. It uses LINQ to SQL to connect to its SQL database, and it displays its data in WPF Datagrids. It was working fairly well, bu...
Gastrula asked 26/2, 2012 at 1:19

3

Solved

I have attached the plunker of my angular2 code piece. I want to print a field from my JSON but unable to print that as initially my Object is null and it is being populated via a Promise. This is...
Cloudberry asked 20/12, 2016 at 12:49

2

Solved

I'm trying to use native 2-way android data binding in my custom control so I have something like that in xml <layout> <data> <variable name="item" type="Boolean"/> </data&gt...

3

Solved

I have used Data binding in my existing code and now I am migrating to Room for persistence. I have followed the steps mentioned in Florina's Blog for room My Code builds fine without java code err...

3

I am trying to use two way data binding with the radio button. It is working fine with one way like below, android:checked="@{registration.gender.equals(Gender.FEMALE.getValue())}". But My probl...
Vigesimal asked 9/3, 2018 at 13:1

4

Solved

I've been reading up on web components and am pretty intrigued by the nascent spec. Does anyone know if there is any support for 2-way data binding in the DOM, without having to use Polymer? An exa...
Homotaxis asked 10/11, 2014 at 14:5

8

Solved

I know Angular2 doesn't have two-way data binding but is there a way to mimick the two-way data binding behavior from Angular1.x?
Flexile asked 26/5, 2015 at 20:28

2

Solved

I have read a number of questions on Stack Overflow and elsewhere that describe tying a textbox to a class but I cannot seem to even get the basics working without receiving an error from VS when c...
Donata asked 29/1, 2016 at 0:20

2

Solved

I am using Data Binding and I've created a very simple class public class ViewUser extends BaseObservable { private String name; @Bindable public String getName() { return name; } public v...

4

Solved

Just suddenly my bindings for android stoped working, anything I build now, I just get this message. Error:Execution failed for task ':app:compileDevDebugJavaWithJavac'. java.lang.RuntimeExcept...
Parthinia asked 22/9, 2017 at 1:10

5

Solved

Let say that we have an object class Entity { public string ID {get; set;} public string Name {get; set;} } I want to bind properties to two textboxes on a page something like this: <asp:F...
Exegete asked 15/9, 2011 at 9:34

2

Solved

In Angular2 (Beta 6) I have a component for a main menu. <mainmenu></mainmenu> I want to bind a boolean for wide or narrow. So I made it into this: <mainmenu [(menuvisible)]="tru...
Marylou asked 25/2, 2016 at 22:25

2

I'm trying to figure out the two-way data binding library in Android. I want to enable/disable the LinearLayout (and the RelativeLayout inside) by changing the android:enabled attribute in the xml....

1

Solved

Is there any 2-way(bidirectional) map in Qt? Simple map that implements 1-to-1 correspondence. Thanks
Pastel asked 3/5, 2016 at 13:20

2

Solved

This has to be the most basic of question but after a full day of reading tutorials and the documentation here I can't seem to understand where to put these methods. None of the guides mention wher...
Ellis asked 28/11, 2016 at 13:43

2

Solved

I am struggling to get some functionality to work with Android spinners when configured with 2-way databinding. I would like to set the initial value of the spinner via the 2-way databinding on and...
Roulers asked 13/11, 2016 at 14:49

2

I'm trying to integrate an upload script into my page. Im using uploadcare.com. They provided a simple directive but I just can't get it to work: https://github.com/uploadcare/angular-uploadcare/b...
Dovekie asked 13/3, 2015 at 11:45

5

Solved

Question In the below example, how do I bind the obj.name variable of the <input> field in <test-element2> to <test-element> ? Background: Below is my code. I have two poly...

4

I have a simple ng-repeat list, in which i am assigning current list item value to another property on the controller as follows: <li ng-repeat="num in list"> <input type=&quot...

3

Solved

Technically, how does data binding engines work under the hood? Especially, how does the mechanism of the "synchroniser" in data binding look like and work like? In many frameworks like in .NET, J...
Redskin asked 18/10, 2012 at 8:18

1

What is the simplest way to create data bindings to attributes, in Polymer, when working with innerHTML? This is an example of what i mean - http://jsfiddle.net/ry6og1q9/2/ <paper-input inputV...
Bess asked 21/8, 2014 at 18:23

2

I am going to take a crack at building a penny auction site for a specific niche using angular JS. I am trying to plan the countdown timers and i've been itching for a reason to try out firebase. ...

© 2022 - 2024 — McMap. All rights reserved.