Fore icon indicating copy to clipboard operation
Fore copied to clipboard

implement filter expressions on bind/@ref

Open JoernT opened this issue 3 years ago • 5 comments

<fx-bind ref="node[.=instance('another')/item]"

filters the 'node' by an item and should create a dependency in the graph. However the 'ref' expression is not analyzed yet to pick those up. This will need some testing and fixing

JoernT avatar May 03 '22 12:05 JoernT

This is just not yet implemented

JoernT avatar Jun 10 '22 09:06 JoernT

Here's a bug in DependencyNotifyingDOMFacade still not returning anything when fed with something like

complete example:

<fx-fore>
    <fx-model id="model1">
        <fx-instance>
            <data>
                <greeting>Hello World!</greeting>
                <b></b>
            </data>
        </fx-instance>
        <fx-bind ref="greeting[../b]"></fx-bind>
    </fx-model>
</fx-fore>

However it should return a ref for 'b'.

JoernT avatar Sep 20 '22 15:09 JoernT

Correct, it should have. Assuming the first part of the selector matches, the ref for b should also be there. I'll check this out and get back to you.

DrRataplan avatar Sep 21 '22 07:09 DrRataplan

related #164

JoernT avatar Nov 22 '22 11:11 JoernT

@DrRataplan if you got the time could you have a look? Like to fix that for 2.0.0

JoernT avatar Jun 27 '23 11:06 JoernT