to.etc.domui.parts
Class ComponentPartRenderer
java.lang.Object
to.etc.domui.parts.ComponentPartRenderer
- Direct Known Subclasses:
- DynaImaPart.DynaRenderer
public class ComponentPartRenderer
- extends java.lang.Object
Base class for Parts that refer back to a page component. This handles the
encoding and decoding of the part to URL, and decodes all that is needed to
find the Page, Conversation and NodeBase of the component in question.
- Author:
- Frits Jalvingh
Created on Oct 2, 2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentPartRenderer
public ComponentPartRenderer()
initialize
public void initialize(DomApplication app,
RequestContextImpl param,
java.lang.String rurl)
throws java.lang.Exception
- Throws:
java.lang.Exception
getArgs
public java.lang.String[] getArgs()
getPageClass
public java.lang.Class<? extends UrlPage> getPageClass()
getPage
public Page getPage()
getComponent
public NodeBase getComponent()
getConversation
public ConversationContext getConversation()
appendComponentURL
public static void appendComponentURL(java.lang.StringBuilder sb,
java.lang.Class<? extends IPartFactory> fclazz,
NodeBase b,
IRequestContext ctx)
- Create a ComponentPartFactory reference URL
- Parameters:
sb
- b
-