|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.impl.render.dynamic.DynaPortletRenderer
Implementation of a drag and drop Portlet renderer.
PortletRenderer
Field Summary | |
private PortletRenderer |
delegate
|
Constructor Summary | |
DynaPortletRenderer(PortletRenderer portletRenderer)
|
Method Summary | |
void |
render(RenderContext renderContext,
WindowContext state,
WindowResult result)
Render the markup of a portlet. |
void |
renderEnd(RenderContext ctx)
End the render process for this renderer. |
void |
renderStart(RenderContext ctx)
Start the render process for this renderer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private PortletRenderer delegate
Constructor Detail |
public DynaPortletRenderer(PortletRenderer portletRenderer) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
Method Detail |
public void render(RenderContext renderContext, WindowContext state, WindowResult result) throws RenderException
PortletRenderer
Note: this is not calling the portlet container to produce the markup. The markup has already been created. The PortletRenderer only places the markup on the page, and can gnerate some containing markup around it if it chooses to do so
.
render
in interface PortletRenderer
renderContext
- the state holder to provide information about the region, it's portlets, and the render set,
which allows access to the other renderer interfaces of the render set.state
- the portlet's navigational state (mode, window state,...)result
- the fragment result containing the portlet's markup
RenderException
PortletRenderer.render(org.jboss.portal.theme.render.RenderContext, org.jboss.portal.theme.page.WindowContext, org.jboss.portal.theme.page.WindowResult)
public void renderStart(RenderContext ctx)
Renderer
This is a convenient way yo open tags, like a table or a div
renderStart
in interface Renderer
ctx
- the render context allowing access to state information of the current render processRenderer.renderStart(org.jboss.portal.theme.render.RenderContext)
public void renderEnd(RenderContext ctx)
Renderer
This is a convenient way yo close the tags that where opened by
renderStart
ctx
- the render context allowing access to state information of the current render processRenderer.renderEnd(org.jboss.portal.theme.render.RenderContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |