@Override protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) { if (context instanceof WebEngineContext) { String attrValue = String.valueOf(attributeValue).trim(); ((WebEngineContext) context).setVariable(Keys.PAGINATION_QUALIFIER_PREFIX, attrValue); } }
@Override protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) { if (context instanceof WebEngineContext) { String attrValue = String.valueOf(attributeValue).trim(); ((WebEngineContext) context).setVariable(Keys.PAGINATION_QUALIFIER_PREFIX, attrValue); } }
@Override protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) { if (context instanceof WebEngineContext) { Number split = (Number) Expressions.evaluate(context, attributeValue); ((WebEngineContext) context).setVariable(Keys.PAGINATION_SPLIT_KEY, split); } }
@Override protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) { if (context instanceof WebEngineContext) { Object url = Expressions.evaluate(context, attributeValue); ((WebEngineContext) context).setVariable(Keys.PAGINATION_URL_KEY, url); } }
@Override protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) { if (context instanceof WebEngineContext) { Object url = Expressions.evaluate(context, attributeValue); ((WebEngineContext) context).setVariable(Keys.PAGINATION_URL_KEY, url); } }
@Override protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) { if (context instanceof WebEngineContext) { Number split = (Number) Expressions.evaluate(context, attributeValue); ((WebEngineContext) context).setVariable(Keys.PAGINATION_SPLIT_KEY, split); } }
@Override protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) { if (context instanceof WebEngineContext) { Object page = Expressions.evaluate(context, attributeValue); if (!(page instanceof Page<?>)) { throw new InvalidObjectParameterException( "Parameter " + attributeValue + " is not an Page<?> instance!"); } ((WebEngineContext) context).setVariable(Keys.PAGE_VARIABLE_KEY, page); } }
@Override protected void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) { if (context instanceof WebEngineContext) { Object page = Expressions.evaluate(context, attributeValue); if (!(page instanceof Page<?>)) { throw new InvalidObjectParameterException( "Parameter " + attributeValue + " is not an Page<?> instance!"); } ((WebEngineContext) context).setVariable(Keys.PAGE_VARIABLE_KEY, page); } }