当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
RenderWindowContextCommand - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.core.command
Class RenderWindowContextCommand
java.lang.Object
org.jboss.portal.common.invocation.Invocation
org.jboss.portal.core.command.ControllerCommand
org.jboss.portal.core.command.PortalObjectCommand
org.jboss.portal.core.command.MarkupCommand
org.jboss.portal.core.command.RenderWindowContextCommand
- public final class RenderWindowContextCommand
- extends MarkupCommand
Render the markup fragment of only one window.
Methods inherited from class org.jboss.portal.core.command.MarkupCommand |
create, enforceSecurity, execute, getInfo, getLayout, getLayout, getMarkupContainer, getPage, getPageRef, getTarget, renderPortletWindow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderWindowContextCommand
public RenderWindowContextCommand(java.lang.String pageRef,
WindowContext windowContext)
renderFragments
public MarkupResult renderFragments(ServerConfig cfg,
NavigationalStateContext navCtx)
throws CommandException
- Call the component / portlet invocation for the portlet assigned to this window, and create a window result from the resulting markup fragment
- Specified by:
renderFragments
in class MarkupCommand
- Parameters:
cfg
- the server configuration to get access to customizable error behaviournavCtx
- the navigational state context to access page and window navigational state
- Returns:
- a modifiable window result containing the markup fragment from the portlet assigned to this window
- Throws:
InvocationException
CommandException