Java Doc for FormBase.java in  » J2EE » Jaffa » org » jaffa » presentation » portlet » 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 » J2EE » Jaffa » org.jaffa.presentation.portlet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jaffa.presentation.portlet.FormBase

All known Subclasses:   org.jaffa.presentation.portlet.widgets.tests.CheckBoxForm,  org.jaffa.presentation.portlet.widgets.tests.DropDownForm,  org.jaffa.presentation.portlet.widgets.tests.LookupClientForm,  org.jaffa.presentation.portlet.widgets.tests.EditBoxForm,  org.jaffa.presentation.portlet.widgets.tests.TextForm,  org.jaffa.presentation.portlet.widgets.tests.GridForm,  org.jaffa.components.finder.FinderCriteriaForm,  org.jaffa.presentation.portlet.widgets.tests.FoldingSectionForm,  org.jaffa.applications.test.modules.material.components.itemfinder.ui.ItemFinderResultsForm,  org.jaffa.components.maint.MaintForm,  org.jaffa.presentation.portlet.session.ui.ComponentDetailsForm,  org.jaffa.presentation.portlet.widgets.tests.UserGridForm,  org.jaffa.components.finder.FinderForm,  org.jaffa.presentation.portlet.widgets.tests.RadioButtonForm,  org.jaffa.presentation.portlet.widgets.tests.LabelForm,  org.jaffa.presentation.portlet.widgets.tests.TreeForm,  org.jaffa.presentation.portlet.session.ui.ComponentExplorerForm,  org.jaffa.presentation.portlet.session.ui.SessionExplorerForm,  org.jaffa.presentation.portlet.widgets.tests.ImageForm,  org.jaffa.presentation.portlet.widgets.tests.LookupForm,  org.jaffa.applications.test.modules.security.components.test1.ui.Page1Form,  org.jaffa.presentation.portlet.widgets.tests.ButtonForm,  org.jaffa.presentation.portlet.widgets.tests.DateTimeForm,  org.jaffa.presentation.portlet.widgets.tests.TableForm,
FormBase
public class FormBase extends ActionForm (Code)
This is the base class for all the 'Form' classes




Method Summary
public  voidcleanup()
    
public  voidclearErrors(HttpServletRequest request)
    
public  ComponentgetComponent()
    
public  ActionErrorsgetErrors(HttpServletRequest request)
    
public  WidgetCachegetWidgetCache()
    
public  booleanhasErrors(HttpServletRequest request)
    
public  voidinitForm()
    
public  voidraiseError(HttpServletRequest request, String property, ActionError error)
    
public  voidraiseError(HttpServletRequest request, String property, String key)
     Record an error.
public  voidraiseError(HttpServletRequest request, String property, String key, Object value0)
     Record an error.
public  voidraiseError(HttpServletRequest request, String property, String key, Object value0, Object value1)
     Record an error.
public  voidraiseError(HttpServletRequest request, String property, String key, Object value0, Object value1, Object value2)
     Record an error.
public  voidraiseError(HttpServletRequest request, String property, String key, Object value0, Object value1, Object value2, Object value3)
     Record an error.
public  voidraiseError(HttpServletRequest request, String property, String key, Object[] values)
     Record an error.
public  voidraiseError(HttpServletRequest request, String property, ApplicationException appExp)
     Record an error.
public  voidraiseError(HttpServletRequest request, String property, ApplicationExceptions appExps)
     Record an error.
public  voidreset(ActionMapping mapping, HttpServletRequest request)
    
public  voidsetComponent(Component component)
    



Method Detail
cleanup
public void cleanup()(Code)
The form should override this method for destroying any references that it holds



clearErrors
public void clearErrors(HttpServletRequest request)(Code)
This clears all the errors generated while processing this Form
Parameters:
  request - The servlet request we are processing



getComponent
public Component getComponent()(Code)
Returns the Component to which this Form belongs The Component for this Form



getErrors
public ActionErrors getErrors(HttpServletRequest request)(Code)
Returns the errors generated while processing this Form
Parameters:
  request - The servlet request we are processing If no errors are found, return null or an ActionErrors object with recorded error messages



getWidgetCache
public WidgetCache getWidgetCache()(Code)
Returns the WidgetCache of all the models for the Component The WidgetCache object



hasErrors
public boolean hasErrors(HttpServletRequest request)(Code)
Checks if any errors have been generated
Parameters:
  request - The servlet request we are processing true if errors exist



initForm
public void initForm()(Code)
The form should override this method for defaulting the data in the form-bean



raiseError
public void raiseError(HttpServletRequest request, String property, ActionError error)(Code)
Record an error
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  error - The error message to be added



raiseError
public void raiseError(HttpServletRequest request, String property, String key)(Code)
Record an error. This implicitly creates an ActionError for the input key
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  key - Message key for this error message



raiseError
public void raiseError(HttpServletRequest request, String property, String key, Object value0)(Code)
Record an error. This implicitly creates an ActionError for the input key & replacement values
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  key - Message key for this error message
Parameters:
  value0 - First replacement value



raiseError
public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1)(Code)
Record an error. This implicitly creates an ActionError for the input key & replacement values
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  key - Message key for this error message
Parameters:
  value0 - First replacement value
Parameters:
  value1 - Second replacement value



raiseError
public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1, Object value2)(Code)
Record an error. This implicitly creates an ActionError for the input key & replacement values
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  key - Message key for this error message
Parameters:
  value0 - First replacement value
Parameters:
  value1 - Second replacement value
Parameters:
  value2 - Third replacement value



raiseError
public void raiseError(HttpServletRequest request, String property, String key, Object value0, Object value1, Object value2, Object value3)(Code)
Record an error. This implicitly creates an ActionError for the input key & replacement values
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  key - Message key for this error message
Parameters:
  value0 - First replacement value
Parameters:
  value1 - Second replacement value
Parameters:
  value2 - Third replacement value
Parameters:
  value3 - Fourth replacement value



raiseError
public void raiseError(HttpServletRequest request, String property, String key, Object[] values)(Code)
Record an error. This implicitly creates an ActionError for the input key & replacement values
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  key - Message key for this error message
Parameters:
  values - Array of replacement values



raiseError
public void raiseError(HttpServletRequest request, String property, ApplicationException appExp)(Code)
Record an error. This implicitly creates an ActionError for the input key & replacement values.
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  appExp - the exception against which the error is being raised. This exception will have the errorToken and arguments, if any.



raiseError
public void raiseError(HttpServletRequest request, String property, ApplicationExceptions appExps)(Code)
Record an error. This implicitly creates an ActionError for the input key & replacement values.
Parameters:
  request - The servlet request we are processing
Parameters:
  property - Property name (or ActionErrors.GLOBAL_ERROR)
Parameters:
  appExps - Error will raised against each ApplicationException passed in this parameter.



reset
public void reset(ActionMapping mapping, HttpServletRequest request)(Code)
This sets the Component & the WidgetCache fields
Parameters:
  mapping - The mapping used to select this instance
Parameters:
  request - The servlet request we are processing



setComponent
public void setComponent(Component component)(Code)
Sets the Component for the Form
Parameters:
  component - The Component object



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