org.riotfamily.components.render.list
Class ComponentListRenderer

java.lang.Object
  extended by org.riotfamily.components.render.list.ComponentListRenderer
All Implemented Interfaces:
ServletContextAware

public class ComponentListRenderer
extends Object
implements ServletContextAware


Field Summary
static String PARENT_ATTRIBUTE
           
 
Constructor Summary
ComponentListRenderer(ComponentDao componentDao, PlatformTransactionManager transactionManager)
           
 
Method Summary
 String renderComponentList(ContentContainer container, String key, ComponentListConfig config, HttpServletRequest request, HttpServletResponse response)
           
 String renderNestedComponentList(Component component, String key, ComponentListConfig config, HttpServletRequest request, HttpServletResponse response)
           
 void setEditModeRenderStrategy(RenderStrategy editModeRenderStrategy)
           
 void setLiveModeRenderStrategy(RenderStrategy liveModeRenderStrategy)
           
 void setRiotServletName(String riotServletName)
           
 void setServletContext(ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARENT_ATTRIBUTE

public static final String PARENT_ATTRIBUTE
Constructor Detail

ComponentListRenderer

public ComponentListRenderer(ComponentDao componentDao,
                             PlatformTransactionManager transactionManager)
Method Detail

setLiveModeRenderStrategy

public void setLiveModeRenderStrategy(RenderStrategy liveModeRenderStrategy)

setEditModeRenderStrategy

public void setEditModeRenderStrategy(RenderStrategy editModeRenderStrategy)

setRiotServletName

public void setRiotServletName(String riotServletName)

setServletContext

public void setServletContext(ServletContext servletContext)
Specified by:
setServletContext in interface ServletContextAware

renderComponentList

public String renderComponentList(ContentContainer container,
                                  String key,
                                  ComponentListConfig config,
                                  HttpServletRequest request,
                                  HttpServletResponse response)
                           throws Exception
Throws:
Exception

renderNestedComponentList

public String renderNestedComponentList(Component component,
                                        String key,
                                        ComponentListConfig config,
                                        HttpServletRequest request,
                                        HttpServletResponse response)
                                 throws Exception
Throws:
Exception