public void interpret(Page page, Component comp, ZScript zs) { final Scope scope = Scopes.beforeInterpret(comp != null ? (Scope)comp: page); try { page.interpret(zs.getLanguage(), zs.getContent(page, comp), scope); } finally { Scopes.afterInterpret(); } } public void setPageOnly(Execution exec) {
public void doInit(Page page, Map<String, Object> args) throws Exception { final Scope scope = Scopes.beforeInterpret(page); try { page.interpret(_zscript.getLanguage(), _zscript.getContent(page, null), scope); } finally { Scopes.afterInterpret(); } } }
/** @deprecated */ public void interpret(Page page, Component comp, ZScript zs) { final Map backup = new HashMap(); final org.zkoss.zk.scripting.Namespace ns = comp != null ? org.zkoss.zk.scripting.Namespaces.beforeInterpret(backup, comp, false): org.zkoss.zk.scripting.Namespaces.beforeInterpret(backup, page, false); try { page.interpret(zs.getLanguage(), zs.getContent(page, comp), ns); } finally { org.zkoss.zk.scripting.Namespaces.afterInterpret(backup, ns, false); } } /** @deprecated */
if (zscript != null) { execinf.update(null, null, zscript); page.interpret(zscript.getLanguage(), zscript.getContent(page, this), scope); if (!event.isPropagatable()) return; //done
final Scope scope = Scopes.beforeInterpret(comp != null ? (Scope) comp : page); try { page.interpret(zsInfo.getLanguage(), zsInfo.getContent(page, comp), scope); } finally { Scopes.afterInterpret();