+ "' could be found for the current view: " + this); container.startContext(tilesRequest).inheritCascadedAttributes(compositeDefinition); container.render(attributeToRender, tilesRequest); container.endContext(tilesRequest);
/** {@inheritDoc} */ public AttributeContext startContext(Request request) { AttributeContext context = new BasicAttributeContext(); Deque<AttributeContext> stack = getContextStack(request); if (!stack.isEmpty()) { AttributeContext parent = stack.peek(); context.inheritCascadedAttributes(parent); } stack.push(context); return context; }
/** * Starts an attribute context inside the container. * * @param tilesContext The request context to use. * @return The newly created attribute context. */ private AttributeContext startContext(TilesRequestContext tilesContext) { AttributeContext context = new BasicAttributeContext(); Stack<AttributeContext> stack = getContextStack(tilesContext); if (!stack.isEmpty()) { AttributeContext parent = stack.peek(); context.inheritCascadedAttributes(parent); } stack.push(context); return context; }
container.startContext(request, response).inheritCascadedAttributes(compositeDefinition); container.render(attributeToRender, request, response); container.endContext(request, response);
container.startContext(request, response).inheritCascadedAttributes(compositeDefinition); container.render(attributeToRender, request, response); container.endContext(request, response);
container.startContext(request, response).inheritCascadedAttributes(compositeDefinition); container.render(attributeToRender, request, response); container.endContext(request, response);
+ "' could be found for the current view: " + this); container.startContext(tilesRequest).inheritCascadedAttributes(compositeDefinition); container.render(attributeToRender, tilesRequest); container.endContext(tilesRequest);
+ "' could be found for the current view: " + this); container.startContext(tilesRequest).inheritCascadedAttributes(compositeDefinition); container.render(attributeToRender, tilesRequest); container.endContext(tilesRequest);
+ "' could be found for the current view: " + this); } else { container.startContext(request, response).inheritCascadedAttributes(compositeDefinition); container.render(attributeToRender, request, response); container.endContext(request, response);