|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Component org.apache.wicket.MarkupContainer org.apache.wicket.markup.html.WebMarkupContainer
public class WebMarkupContainer
A container of HTML markup and components. It is very similar to the base class MarkupContainer, except that it assumes that it is used in a web environment. Provides a convenience methods to get the current web objects (page, response, request, session).
Field Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
WebMarkupContainer(String id)
|
|
WebMarkupContainer(String id,
IModel<?> model)
|
Method Summary | |
---|---|
WebApplication |
getWebApplication()
A convenience method to return the WebApplication. |
WebPage |
getWebPage()
A convenience method to return the WebPage. |
WebRequest |
getWebRequest()
A convenience method to return the current WebRequest. |
WebResponse |
getWebResponse()
A convenience method to return the current WebResponse. |
WebSession |
getWebSession()
A convenience method to return the WebSession. |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebMarkupContainer(String id)
Component.Component(String)
public WebMarkupContainer(String id, IModel<?> model)
Component.Component(String, IModel)
Method Detail |
---|
public final WebPage getWebPage()
public final WebRequest getWebRequest()
Component.getRequest()
.
public final WebResponse getWebResponse()
Component.getResponse()
.
public final WebSession getWebSession()
Component.getSession()
.
public final WebApplication getWebApplication()
WebApplication.get()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |