| Package | Description |
|---|---|
| com.github.drinkjava2.jwebbox |
| Modifier and Type | Method and Description |
|---|---|
static WebBox |
WebBox.getBox(javax.servlet.http.HttpServletRequest request)
Get current pageContext's HtmlBox instance
|
WebBox |
WebBox.getFatherHtmlBox()
Set the father page's HtmlBox instance
|
WebBox |
WebBox.setAttribute(String key,
Object value)
Set attribute for current HtmlBox instance
|
WebBox |
WebBox.setAttributeMap(Map<String,Object> attributeMap)
Set the attribute map for HtmlBox instance
|
WebBox |
WebBox.setName(String name)
Set the name of the HtmlBox instance
|
WebBox |
WebBox.setPage(Object page)
Set a JSP page or URL
|
WebBox |
WebBox.setPrepareBean(Object prepareBean)
Set a prepare bean which has a prepare method
|
WebBox |
WebBox.setPrepareBeanMethod(String prepareBeanMethod)
Set the bean prepare method name
|
WebBox |
WebBox.setPrepareStaticMethod(String prepareStaticMethod)
Set a prepare static method
|
WebBox |
WebBox.setPrepareURL(String prepareURL)
Set prepare URL, this URL be called after prepare methods but before show
page
|
WebBox |
WebBox.setText(String text)
Set the text String
|
WebBox |
WebBox.show(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Prepare data and out put text include page if have
|
WebBox |
WebBox.showPageOnly(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Show page only, do not call prepareStaticMethod and URL
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebBox.setFatherHtmlBox(WebBox fatherHtmlBox)
Get the father page's HtmlBox instance
|
Copyright © 2019. All rights reserved.