level directive now using viewState.curLevelAttrDefs