org.riotfamily.components.render.list
Class DefaultRenderStrategy
java.lang.Object
org.riotfamily.components.render.list.DefaultRenderStrategy
- All Implemented Interfaces:
- RenderStrategy
- Direct Known Subclasses:
- EditModeRenderStrategy
public class DefaultRenderStrategy
- extends Object
- implements RenderStrategy
Method Summary |
protected void |
onEmptyComponentList(ComponentListConfig config,
HttpServletRequest request,
HttpServletResponse response)
|
void |
render(ComponentList list,
ComponentListConfig config,
HttpServletRequest request,
HttpServletResponse response)
|
protected void |
renderComponent(Component component,
int position,
int listSize,
ComponentListConfig config,
HttpServletRequest request,
HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INHERTING_COMPONENT
public static final String INHERTING_COMPONENT
- See Also:
- Constant Field Values
log
protected RiotLog log
dao
protected ComponentDao dao
DefaultRenderStrategy
public DefaultRenderStrategy(ComponentDao dao,
ComponentRenderer renderer)
render
public void render(ComponentList list,
ComponentListConfig config,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Specified by:
render
in interface RenderStrategy
- Throws:
Exception
onEmptyComponentList
protected void onEmptyComponentList(ComponentListConfig config,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Throws:
Exception
renderComponent
protected void renderComponent(Component component,
int position,
int listSize,
ComponentListConfig config,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Throws:
Exception