| java.lang.Object simpleorm.simplewebapp.core.WPageStructure
WPageStructure | public class WPageStructure (Code) | | One-to-one delegate of WPage contains all of a page's doevents, top level fields, groups, menus etc..
Fields belong to fieldGroups, which belong to a WPage/WebBean.
It is a simple flat, two level non-recursive structure that is manual to interpret in JSTL templates.
|
actualRedirectUrl | String actualRedirectUrl(Code) | | Where to redirect to after this form.
Normally set to WPagelet.potentialRedirectUrl if form was successfully processed.
This is now set manually by GenericCrud etc.
|
isMultipart | boolean isMultipart(Code) | | True if multipart, ie file upload, which changes the parameters to the HTML FORM tag.
|
pageItem | WMenuItemGlobal pageItem(Code) | | The WMenuItemGlobal within menu that represents this page instance.
Used as the source of truth for page name, page url etc.
Normally set by WServlet -- see WMenuAbstractGlobal.
WARNING, this is a reference to the Global menu entry, do not modify.
|
pageThreadLocal | static ThreadLocal<WPage> pageThreadLocal(Code) | | Used by menus to check accessibility as menu objects are static, not per page.
|
suppressRender | boolean suppressRender(Code) | | Suppress the rendering of the page, ie allow the servlet to directly output the result.
Used for file downloads.
|
browserParameters | public Map<String, String> browserParameters()(Code) | | Returns the simulated default name/value parameter map that the browser would submit.
Only used for unit tests.
|
doFinalize | public void doFinalize() throws Exception(Code) | | Calls the finalizer, called by WPageTag or unit tests.
|
doListRow | public boolean doListRow() throws Exception(Code) | | Called by wForEachRowTag to retreive the next row THE list pagelet.
Does not support multiple list pagelets in same form.
|
doMain | public void doMain() throws Exception(Code) | | The main entry point for processing a form.
Called by WServlet or explicitly by test cases.
Fires the various events and deals with WValidationExceptions
|
getActualRedirectUrl | public String getActualRedirectUrl()(Code) | | |
getCurrentPagelet | public WPagelet getCurrentPagelet()(Code) | | Returns the current pagelet as set by WPageletTag, or the only one if there is one.
Exception if ambiguous.
|
getCurrentPageletList | public WPageletList getCurrentPageletList()(Code) | | Gets the current pagelet, cast to a WPageletList, exception if not.
|
isSuppressRender | public boolean isSuppressRender()(Code) | | |
setActualRedirectUrl | public void setActualRedirectUrl(String actualRedirectUrl)(Code) | | |
setCurrentPagelet | public void setCurrentPagelet(WPagelet currentPagelet)(Code) | | |
setMultipart | public void setMultipart(boolean multipart)(Code) | | |
setSuppressRender | public void setSuppressRender(boolean suppressRender)(Code) | | |
|
|