throw new ServletException( "Error - CustomSkinAction : attribute '"
+ LAYOUT_ATTRIBUTE
+ "' not found in Tile's attributes. Need it to select appropriate layout" );
// Get user current skin
ComponentDefinition definition = getCurrentDefinition( context, request, getServlet().getServletContext() );
// get requested layout from definition
String layout = (String)definition.getAttribute(layoutKey);
if(layout==null)
throw new ServletException( "Error - CustomSkinAction : no layout defined for key '"
+ layoutKey
+ "' in currently selected skin '"
+ getUserSetting(context, request ) + "'." );