Hi,
i have following Context:
NodeVis (1:1)
- El1
- El2
- El3
...
NodeBool (1:1)
- El1
- El2
- El3
...
Now i want to loop over the Elements of NodeBool and set the associated Element of Node Vis.
The possiblity for "calculated attribut" doesn't fit to my problem!!
In "normal" programming i have to have following code for every Element:
if (wdContext.nodeBool().currentBoolElement().getEl1())
{
wdContext.NodeVis.currentVisElement().set(
WDVisibility.VISIBLE);
}
else
{
wdContext.NodeVis.currentVisElement().set(
WDVisibility.NONE);
}
How can i solve that with dynamic programminga?