Java Doc for DialogForm.java in  » Development » ivatamasks » com » ivata » mask » web » struts » 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 » Development » ivatamasks » com.ivata.mask.web.struts 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.ivata.mask.web.struts.DialogForm

All known Subclasses:   com.ivata.mask.web.struts.MaskForm,
DialogForm
abstract public class DialogForm extends ActionForm (Code)

This form contains buttons and attributes commonly required in ivata masks forms. You should override it and call reset on this form from your form.

This class originally appeared as part of ivata op and ivata team portal .

.
since:
   ivata masks 0.4 (2003-01-31)
author:
   Colin MacLeod
author:
   colin.macleod@ivata.com
version:
   $Revision: 1.11 $




Method Summary
protected  voidclear()
    

Clear all bean properties to their default state.The difference between this and reset is that all properties are changed, regardless of current request state.

final public  StringgetApply()
    

If non- null or not empty, specifies that the form contents should be amended/added and the window left open.

final public  StringgetBundle()
    

Localization messages resource bundle to use for deleteKey.

final public  StringgetClear()
    

Get whether or not we are adding a new element or clearing the form fields.

public  StringgetDefaultForwardApply()
     Name of the Struts forward to go to, if the Apply button is pressed.
public  StringgetDefaultForwardDelete()
     Name of the Struts forward to go to, if the Delete button is pressed.
public  StringgetDefaultForwardOk()
     Name of the Struts forward to go to, if the Ok button is pressed.
final public  StringgetDeleteConfirm()
    

If non- null or not empty, delete this element.

final public  StringgetDeleteKey()
    

If non- null, indicates a key to be displayed to warn before deletion of the items in this form.

final public  StringgetDeleteWarn()
    

If non- null or not empty, display a message before deleting this entry.

final public  StringgetHelpKey()
    

Stores the correct help key..

final public  StringgetOk()
    

If non- null or not empty, specifies that the form contents should be amended/added.

public  voidreset(ActionMapping mapping, HttpServletRequest request)
    

Reset all bean properties to their default state.

final public  voidsetApply(String applyParam)
    

If non- null or not empty, specifies that the form contents should be amended/added and the window left open.

final public  voidsetBundle(String bundleParam)
    

Localization messages resource bundle to use for deleteKey.

final public  voidsetClear(String clearParam)
    

Set whether or not we are adding a new element or clearing the form fields.

final public  voidsetDefaultForwardApply(String defaultForwardApplyParam)
    
public  voidsetDefaultForwardDelete(String defaultForwardDeleteParam)
    
final public  voidsetDefaultForwardOk(String defaultForwardOkParam)
    
final public  voidsetDeleteConfirm(String deleteConfirmParam)
    

If non- null or not empty, delete this entry.

final public  voidsetDeleteKey(String deleteKeyParam)
    

If non- null, indicates a key to be displayed to warn before deletion of the items in this form.

final public  voidsetDeleteWarn(String deleteWarnParam)
    

If non- null or not empty, display a message before deleting this entry.

final public  voidsetHelpKey(String helpKeyParam)
    

Stores the correct help key.

final public  voidsetOk(String okParam)
    

If non- null or not empty, specifies that the form contents should be amended/added.

public  ActionErrorsvalidate(ActionMapping mapping, HttpServletRequest request)
    

Overridden to check if there were any errors from the mask request processor.

public  ValidationErrorsvalidate(HttpServletRequest requestParam, HttpSession sessionParam)
    



Method Detail
clear
protected void clear() throws OperationNotSupportedException(Code)

Clear all bean properties to their default state.The difference between this and reset is that all properties are changed, regardless of current request state.


throws:
  OperationNotSupportedException - if this method must be overriddento clear all form properties.



getApply
final public String getApply()(Code)

If non- null or not empty, specifies that the form contents should be amended/added and the window left open.

the current value of apply.



getBundle
final public String getBundle()(Code)

Localization messages resource bundle to use for deleteKey.

the current value of bundle.



getClear
final public String getClear()(Code)

Get whether or not we are adding a new element or clearing the form fields.

a non- null and not empty value if the form is tobe cleared.



getDefaultForwardApply
public String getDefaultForwardApply()(Code)
Name of the Struts forward to go to, if the Apply button is pressed. Returns the name of the default Struts forwardfor the Apply button.



getDefaultForwardDelete
public String getDefaultForwardDelete()(Code)
Name of the Struts forward to go to, if the Delete button is pressed. Returns the name of the default Struts forwardfor the Delete button.



getDefaultForwardOk
public String getDefaultForwardOk()(Code)
Name of the Struts forward to go to, if the Ok button is pressed. Returns the name of the default Struts forwardfor the Ok button.



getDeleteConfirm
final public String getDeleteConfirm()(Code)

If non- null or not empty, delete this element.

the current value of delete confirm text.



getDeleteKey
final public String getDeleteKey()(Code)

If non- null, indicates a key to be displayed to warn before deletion of the items in this form.

The FormTag will check this value (or it's attribute equivalent) and display JavaScript with the localized string this key represents.

the current value of deleteKey.



getDeleteWarn
final public String getDeleteWarn()(Code)

If non- null or not empty, display a message before deleting this entry.

the current value of delete.



getHelpKey
final public String getHelpKey()(Code)

Stores the correct help key..

the current value of helpKey.



getOk
final public String getOk()(Code)

If non- null or not empty, specifies that the form contents should be amended/added.

the current value last returned by the OK button.



reset
public void reset(ActionMapping mapping, HttpServletRequest request)(Code)

Reset all bean properties to their default state. This method is called before the properties are re-populated by the controller servlet.


Parameters:
  mapping - The mapping used to select this instance
Parameters:
  request - The servlet request we are processing



setApply
final public void setApply(String applyParam)(Code)

If non- null or not empty, specifies that the form contents should be amended/added and the window left open.


Parameters:
  applyParam - the new value of apply.



setBundle
final public void setBundle(String bundleParam)(Code)

Localization messages resource bundle to use for deleteKey.


Parameters:
  bundleParam - the new value of bundle.



setClear
final public void setClear(String clearParam)(Code)

Set whether or not we are adding a new element or clearing the form fields.


Parameters:
  clearParam - a non- null and not empty value if the form isto be cleared.



setDefaultForwardApply
final public void setDefaultForwardApply(String defaultForwardApplyParam)(Code)
Refer to DialogForm.getDefaultForwardApply .
Parameters:
  defaultForwardApplyParam - Refer to DialogForm.getDefaultForwardApply.



setDefaultForwardDelete
public void setDefaultForwardDelete(String defaultForwardDeleteParam)(Code)
Refer to DialogForm.getDefaultForwardDelete .
Parameters:
  defaultForwardDeleteParam - Refer to DialogForm.getDefaultForwardDelete.



setDefaultForwardOk
final public void setDefaultForwardOk(String defaultForwardOkParam)(Code)
Refer to DialogForm.getDefaultForwardOk .
Parameters:
  defaultForwardOkParam - Refer to DialogForm.getDefaultForwardOk.



setDeleteConfirm
final public void setDeleteConfirm(String deleteConfirmParam)(Code)

If non- null or not empty, delete this entry.


Parameters:
  deleteConfirmParam - the new value of deleteConfirm.



setDeleteKey
final public void setDeleteKey(String deleteKeyParam)(Code)

If non- null, indicates a key to be displayed to warn before deletion of the items in this form.

The FormTag will check this value (or it's attribute equivalent) and display JavaScript with the localized string this key represents.


Parameters:
  deleteKeyParam - the new value of deleteKey.



setDeleteWarn
final public void setDeleteWarn(String deleteWarnParam)(Code)

If non- null or not empty, display a message before deleting this entry.


Parameters:
  deleteWarnParam - the new value of deleteWarn.



setHelpKey
final public void setHelpKey(String helpKeyParam)(Code)

Stores the correct help key.


Parameters:
  helpKeyParam - the new value of helpKey.



setOk
final public void setOk(String okParam)(Code)

If non- null or not empty, specifies that the form contents should be amended/added.


Parameters:
  okParam - the new value returned by the OK button.



validate
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)(Code)

Overridden to check if there were any errors from the mask request processor.


Parameters:
  mapping - Struts mapping we are currently processing.
Parameters:
  request - The non-HTTP request we are processing any errors which occurred in validating the object, otherwise anempty ActionErrors instance.
See Also:   org.apache.struts.action.ActionForm



validate
public ValidationErrors validate(HttpServletRequest requestParam, HttpSession sessionParam)(Code)

Validates the form contents.

this instance always returns an empty instance ofValidationErrors.
Parameters:
  requestParam -
Parameters:
  sessionParam -



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