0

Is there a way to determine the view element for a BindingPath. So the elements that have a binding to this path.

I have the binding path and want to use it to determine the view element.

Example:

var sPath = "/SomeSet/results/0";

Something like

aViewElements = this.getView().byBindingPath("/BudgetSet/results/0");

Background of the question is that I want to give ALL input fields that have this binding a CSS class

My most promising approach is via the model binding, since that's where the refresh happens. Unfortunately, I could only find the bindings that are active there. But from there I can't get to the view elements yet.

this.getView().getModel("SomeModel").getBindings()

After a long search, I ask here. I hope you can help me.

Greetings

Foerstar
  • 11
  • 3
  • 1
    This sounds more like an [XY-problem](https://en.m.wikipedia.org/wiki/XY_problem). Could you please elaborate more on the _background of the question_? – Boghyon Hoffmann Dec 08 '22 at 23:07

0 Answers0