protected void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException {
PortletSession portletSession = request.getPortletSession();
String definition = (String) portletSession.getAttribute("definition");
if (definition != null) {
portletSession.removeAttribute("definition");
TilesContainer container = PortletUtil.getCurrentContainer(request,
getPortletContext());
if (container.isValidDefinition(definition, request, response,
getPortletContext())) {
container.render(definition, request, response,