Fix automatic rendering of sample with JsRenderOnly true.
Fix edit view to use new parents API that includes current tag.