List of usage examples for javax.servlet.jsp.tagext VariableInfo getScope
public int getScope()
From source file:org.seasar.mayaa.impl.engine.processor.JspProcessor.java
protected void operateNestedVariables(NestedVariableOperator operator) { if (Boolean.FALSE.equals(_nestedVariableExists) == false) { TLDScriptingVariableInfo variableInfo = getTLDScriptingVariableInfo(); if (variableInfo != null) { AttributeScope pageScope = CycleUtil.getServiceCycle().getPageScope(); boolean firstHit = true; for (Iterator it = variableInfo.variableInfos(); it.hasNext();) { VariableInfo info = (VariableInfo) it.next(); if (info.getScope() == VariableInfo.NESTED) { _nestedVariableExists = Boolean.TRUE; operator.operate(pageScope, info, firstHit); firstHit = false;//from www . ja v a 2s . c o m } } } if (_nestedVariableExists == null) { _nestedVariableExists = Boolean.FALSE; } } }