|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTagSupport
BodyTagSupport
AbstractClassicTag
ConfigurePopup
public class ConfigurePopup
Configures popup window parameters for parent tags that can open popup windows.
<netui:anchor action="getCityZipFromNestedPageFlow" popup="true"> Get a city and zip code <netui:configurePopup resizable="false" width="400" height="200"> <netui:retrievePopupOutput tagIdRef="zipCodeField" dataSource="outputFormBean.zipCode" /> <netui:retrievePopupOutput tagIdRef="cityField" dataSource="outputFormBean.city" /> </netui:configurePopup> </netui:anchor>
Field Summary |
---|
Fields inherited from class AbstractClassicTag |
---|
DefaultNamingChain, EMPTY_STRING, NETUI_UNIQUE_CNT |
Fields inherited from class BodyTagSupport |
---|
bodyContent |
Fields inherited from class TagSupport |
---|
id, pageContext |
Fields inherited from interface BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
ConfigurePopup()
|
Method Summary | |
---|---|
int |
doStartTag()
|
String |
getTagName()
Return the name of the Tag. |
protected void |
localRelease()
Release any acquired resources. |
void |
setDirectories(boolean directories)
Sets whether directory buttons are displayed in the popup window. |
void |
setHeight(int height)
Sets the height of the popup window. |
void |
setLeft(int left)
Sets the X coordinate of the top left corner of the popup window. |
void |
setLocation(boolean location)
Sets whether the location (address) bar is visible in the popup window. |
void |
setMenubar(boolean menubar)
Sets whether the menu bar is displayed in the popup window. |
void |
setName(String name)
Sets the name of the popup window. |
void |
setOnPopupDone(String onPopupDone)
Sets the JavaScript function to be called when the popup window is closing. |
void |
setPopupFunc(String popupFunc)
Sets the JavaScript function to be called to open the popup window. |
void |
setReplace(boolean replace)
Sets whether the popup window's location will replace the location in the current window's navigation history. |
void |
setResizable(boolean resizable)
Sets whether the popup window is resizable. |
void |
setScrollbars(boolean scrollbars)
Sets whether the popup window has scroll bars. |
void |
setStatus(boolean status)
Sets whether the status bar is displayed in the popup window. |
void |
setToolbar(boolean toolbar)
Sets whether the toolbar is visible in the popup window. |
void |
setTop(int top)
Sets the Y coordinate of the top left corner of the popup window. |
void |
setUpdateFormFields(boolean updateFormFields)
Sets whether the JavaScript function that opens the popup window should add data from the form fields to the request. |
void |
setWidth(int width)
Sets the width of the popup window. |
Methods inherited from class BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Tag |
---|
getParent, setPageContext, setParent |
Constructor Detail |
---|
public ConfigurePopup()
Method Detail |
---|
public String getTagName()
getTagName
in interface INetuiTag
getTagName
in class AbstractClassicTag
public void setOnPopupDone(String onPopupDone)
onPopupDone
- the JavaScript function to be called when the popup window is closing.public void setPopupFunc(String popupFunc)
resizable
, name
, etc.
popupFunc
- the JavaScript function to be called to open the popup window.public void setUpdateFormFields(boolean updateFormFields)
updateFormFields
- whether the data from the form fields is included in the popup window request.public void setName(String name)
name
- the name of the popup window.public void setToolbar(boolean toolbar)
toolbar
- whether the toolbar is visible in the popup window.public void setLocation(boolean location)
location
- whether the location (address) bar is visible in the popup window.public void setDirectories(boolean directories)
directories
- whether directory buttons are displayed in the popup window.public void setStatus(boolean status)
status
- whether the status bar is displayed in the popup window.public void setMenubar(boolean menubar)
menubar
- whether the menu bar is displayed in the popup window.public void setScrollbars(boolean scrollbars)
scrollbars
- whether the popup window has scroll bars.public void setResizable(boolean resizable)
resizable
- whether the popup window is resizable.public void setWidth(int width)
width
- the width of the popup window.public void setHeight(int height)
height
- the height of the popup window.public void setLeft(int left)
left
- the X coordinate of the top left corner of the popup window.public void setTop(int top)
top
- the Y coordinate of the top left corner of the popup window.public void setReplace(boolean replace)
replace
- whether the popup window's location will replace the location in the current window's navigation history.public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
- if a JSP exception has occurredprotected void localRelease()
localRelease
in class AbstractClassicTag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |