org.riotfamily.components.render.list
Class EditModeRenderStrategy
java.lang.Object
org.riotfamily.components.render.list.DefaultRenderStrategy
org.riotfamily.components.render.list.EditModeRenderStrategy
- All Implemented Interfaces:
- RenderStrategy
public class EditModeRenderStrategy
- extends DefaultRenderStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditModeRenderStrategy
public EditModeRenderStrategy(ComponentDao dao,
ComponentRenderer renderer,
FormRepository formRepository,
ComponentListRenderer listRenderer)
render
public void render(ComponentList list,
ComponentListConfig config,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Overrides the default implementation to render a DIV tag around the
actual list. The DIV has attributes that are required for the
Riot toolbar JavaScript.
- Specified by:
render
in interface RenderStrategy
- Overrides:
render
in class DefaultRenderStrategy
- Throws:
Exception
renderComponent
protected void renderComponent(Component component,
int position,
int listSize,
ComponentListConfig config,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Overrides the default implementation to render a DIV tag around the
actual component. The DIV has attributes that are required for the
Riot toolbar JavaScript.
- Overrides:
renderComponent
in class DefaultRenderStrategy
- Throws:
IOException
Exception