Java Doc for WPageStructure.java in  » Database-ORM » SimpleORM » simpleorm » simplewebapp » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » SimpleORM » simpleorm.simplewebapp.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.



Field Summary
 StringactualRedirectUrl
     Where to redirect to after this form.
 WButtonBarbuttonBar
     The button bar, mainly for CRUD forms.
 WPageletcurrentPagelet
    
 booleanisMultipart
     True if multipart, ie file upload, which changes the parameters to the HTML FORM tag.
 WPagepage
    
 WMenuItemGlobalpageItem
     The WMenuItemGlobal within menu that represents this page instance.
static  ThreadLocal<WPage>pageThreadLocal
     Used by menus to check accessibility as menu objects are static, not per page.
 LinkedHashMap<String, WPagelet>pagelets
    
 booleansuppressRender
     Suppress the rendering of the page, ie allow the servlet to directly output the result.

Constructor Summary
public  WPageStructure(WPage wPage)
    

Method Summary
public  WButtonaddNewButton(String nameValue, WPagelet pagelet)
    
public  Map<String, String>browserParameters()
     Returns the simulated default name/value parameter map that the browser would submit.
public  voiddoFinalize()
     Calls the finalizer, called by WPageTag or unit tests.
public  booleandoListRow()
     Called by wForEachRowTag to retreive the next row THE list pagelet.
public  voiddoMain()
     The main entry point for processing a form.
public  StringgetActualRedirectUrl()
    
public  WPageletgetCurrentPagelet()
     Returns the current pagelet as set by WPageletTag, or the only one if there is one.
public  WPageletListgetCurrentPageletList()
     Gets the current pagelet, cast to a WPageletList, exception if not.
public  WMenuParentGlobalgetMenus()
     The main set of menus, normally static and global.
public  WMenuItemGlobalgetPageItem()
    
public  WPageletgetPagelet(String name)
    
public  Map<String, WPagelet>getPagelets()
    
public static  WPagegetThreadPage()
    
public  booleanisSuppressRender()
    
 voidonFinalizeInternal()
    
 voidretrieveParameters()
    
public  voidsetActualRedirectUrl(String actualRedirectUrl)
    
public  voidsetCurrentPagelet(WPagelet currentPagelet)
    
public  voidsetMultipart(boolean multipart)
    
public  voidsetPageItem(WMenuItemGlobal pageItem)
    
public  voidsetSuppressRender(boolean suppressRender)
    
public  StringtoString()
    

Field Detail
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.



buttonBar
WButtonBar buttonBar(Code)
The button bar, mainly for CRUD forms.



currentPagelet
WPagelet currentPagelet(Code)



isMultipart
boolean isMultipart(Code)
True if multipart, ie file upload, which changes the parameters to the HTML FORM tag.



page
WPage page(Code)



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.



pagelets
LinkedHashMap<String, WPagelet> pagelets(Code)



suppressRender
boolean suppressRender(Code)
Suppress the rendering of the page, ie allow the servlet to directly output the result. Used for file downloads.




Constructor Detail
WPageStructure
public WPageStructure(WPage wPage)(Code)




Method Detail
addNewButton
public WButton addNewButton(String nameValue, WPagelet pagelet)(Code)



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.



getMenus
public WMenuParentGlobal getMenus()(Code)
The main set of menus, normally static and global.



getPageItem
public WMenuItemGlobal getPageItem()(Code)



getPagelet
public WPagelet getPagelet(String name)(Code)



getPagelets
public Map<String, WPagelet> getPagelets()(Code)



getThreadPage
public static WPage getThreadPage()(Code)



isSuppressRender
public boolean isSuppressRender()(Code)



onFinalizeInternal
void onFinalizeInternal() throws Exception(Code)



retrieveParameters
void retrieveParameters() throws Exception(Code)



setActualRedirectUrl
public void setActualRedirectUrl(String actualRedirectUrl)(Code)



setCurrentPagelet
public void setCurrentPagelet(WPagelet currentPagelet)(Code)



setMultipart
public void setMultipart(boolean multipart)(Code)



setPageItem
public void setPageItem(WMenuItemGlobal pageItem)(Code)



setSuppressRender
public void setSuppressRender(boolean suppressRender)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.