[ALOY-1236] Binding notation should allow mixed variables and plain text
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Models, Tooling |
Labels | n/a |
Reporter | Tim Poulsen |
Assignee | Tim Poulsen |
Created | 2015-02-09T15:09:52.000+0000 |
Updated | 2015-02-09T15:09:52.000+0000 |
Description
Alloy's databinding syntax lets you mix binding selectors and plain text in some ways, but not others. What is permitted and what is not supported is not obvious or intuitive.
Binding should simply replace the variable wherever it is present.
<Label id="foo" text="This should {work}"/>
<Label id="foo" text="{work} this should"/>
<Label id="foo" text="{workstoo}"/>
<Label id="foo" text="{model.get} {model.to} {model.work}"/>
Some complex binding was enabled through ALOY-443, but not all combinations.
Relates to https://github.com/EtnaTraining/MoviesDemo/issues/2
No comments