Comments (3)
DynamicElements will need to access parent and possibly child object public properties.
This will be essential to the var and condition element. In this case it seems as though a scope attribute would be useful.
<partial name="user_list" id="23">
<arg name="results_format">
<condition>
<arg name="isset"><var scope="partial.user_list" name="name"/></arg>
<li><var scope="partial.user_list" name="first_name"/> <var scope="partial.user" name="last_name"/></li>
</condition>
</arg>
</partial>
from livingmarkup.
Also, the variable may change during loop execution, e.g.
<foreach>
<arg name="list">1</arg>
<arg name="list">2</arg>
<arg name="list">3</arg>
<arg name="format">>
<li><var scope="parent.foreach" name="list"/></li>
</arg>
</foreach>
from livingmarkup.
Added ancestor variables with commit ed761fb
from livingmarkup.
Related Issues (20)
- Arg type attribute
- Exist in editable range HOT 1
- HTML5 Support HOT 5
- HTML6 HOT 1
- No root element error HOT 1
- Stablize Configuration HOT 2
- Consider how data, controller, and display are separated HOT 1
- Content Types ? HOT 1
- Code Component HOT 2
- Component method cache HOT 1
- getArg() HOT 1
- file_exists error HOT 5
- Templates for onRender HOT 4
- ExamplesTest.php.WIP HOT 1
- Clear separation between data, controller and display HOT 1
- ImageAPI HOT 1
- added dom escape function HOT 2
- docker compose HOT 1
- Docker pwd HOT 1
- APIs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livingmarkup.