Java Doc for FormTag.java in  » J2EE » Sofia » com » salmonllc » jsp » tags » 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 » Sofia » com.salmonllc.jsp.tags 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.salmonllc.jsp.tags.BaseBodyTag
   com.salmonllc.jsp.tags.ContainerTag
      com.salmonllc.jsp.tags.FormTag

FormTag
public class FormTag extends ContainerTag (Code)
This is a tag used to create a form tag.




Method Summary
public  HtmlComponentcreateComponent()
     This method creates the JspForm used by the tag.
public  intdoEndTag()
    
public  intdoStartTag()
    
public  voidgenerateComponentHTML(JspWriter p)
     This method generates the html used by the tag.
public  intgetTagConvertType()
     Returns the type of DreamWeaver conversion that this tag uses.
public  booleanincrementMode()
     For Tags that require multiple passes to render their Html, this method should be implemented.
public  voidinitMode()
    
public  voidrelease()
     Part of the tag library specification.
public  voidsetAction(String action)
    
public  voidsetAutoscroll(String string)
    
public  voidsetEnctype(String encType)
     Sets the mime type encoding of the data sent "application/x-www-form-urlencoded" (the default), is usually used if the METHOD attribute has the value POST.
public  voidsetMethod(String method)
    
public  voidsetOnreset(String onReset)
    
public  voidsetOnsubmit(String onSubmit)
    
public  voidsetTarget(String target)
    



Method Detail
createComponent
public HtmlComponent createComponent()(Code)
This method creates the JspForm used by the tag.



doEndTag
public int doEndTag() throws JspException(Code)
This is part of the JSP tag specification
throws:
  JspException -



doStartTag
public int doStartTag() throws JspException(Code)
This is part of the JSP tag specification
throws:
  JspException -



generateComponentHTML
public void generateComponentHTML(JspWriter p) throws IOException(Code)
This method generates the html used by the tag.
Parameters:
  p -
throws:
  IOException -



getTagConvertType
public int getTagConvertType()(Code)
Returns the type of DreamWeaver conversion that this tag uses.



incrementMode
public boolean incrementMode()(Code)
For Tags that require multiple passes to render their Html, this method should be implemented. It wll be called for each mode until it returns false. Also, this method is responsible for storing the results of the tags nested within it. Once the method returns false, the generateComponentHtml method will be called and here, the stored data from the nested tags should be sent to the output stream.



initMode
public void initMode()(Code)
Initializes the tag



release
public void release()(Code)
Part of the tag library specification. Clears all resources used by the tag.



setAction
public void setAction(String action)(Code)
Sets the action for this form (The URL invoked when the form is posted)
Parameters:
  action -



setAutoscroll
public void setAutoscroll(String string)(Code)
Sets whether the form should auto scroll
Parameters:
  string -



setEnctype
public void setEnctype(String encType)(Code)
Sets the mime type encoding of the data sent "application/x-www-form-urlencoded" (the default), is usually used if the METHOD attribute has the value POST. "multipart/form-data" is used when the form contains a file upload element (INPUT TYPE="FILE").
Parameters:
  encType -



setMethod
public void setMethod(String method)(Code)
Sets the method for this form (GET or POST)
Parameters:
  method -



setOnreset
public void setOnreset(String onReset)(Code)
Sets the javascript code that executes if the user resets the form
Parameters:
  onReset -



setOnsubmit
public void setOnsubmit(String onSubmit)(Code)
Sets the javascript code that executes if the user submits the form
Parameters:
  onSubmit -



setTarget
public void setTarget(String target)(Code)
Sets the window that will display the results of the submit
Parameters:
  target -



Methods inherited from com.salmonllc.jsp.tags.ContainerTag
public void afterInit(HtmlComponent comp)(Code)(Java Doc)
public HtmlComponent createComponent()(Code)(Java Doc)
public String getClassname()(Code)(Java Doc)
public String getDatasource()(Code)(Java Doc)
public String getEnabled()(Code)(Java Doc)
public int getTagConvertType()(Code)(Java Doc)
public void release()(Code)(Java Doc)
public void setClassname(String classname)(Code)(Java Doc)
public void setContainerclass(String javaclassname)(Code)(Java Doc)
public void setDatasource(String val)(Code)(Java Doc)
public void setEnabled(String val)(Code)(Java Doc)

Fields inherited from com.salmonllc.jsp.tags.BaseBodyTag
final public static int CONV_CUSTOM(Code)(Java Doc)
final public static int CONV_DONT_CONVERT(Code)(Java Doc)
final public static int CONV_INVISIBLE(Code)(Java Doc)
final public static int CONV_NONE(Code)(Java Doc)
final public static int CONV_PAGE_INVISIBLE(Code)(Java Doc)
final public static int CONV_WRAP_ALL_NESTED(Code)(Java Doc)
final public static int MODE_BOX(Code)(Java Doc)
final public static int MODE_END(Code)(Java Doc)
final public static int MODE_FOOTER(Code)(Java Doc)
final public static int MODE_GROUP_FOOTER(Code)(Java Doc)
final public static int MODE_GROUP_HEADER(Code)(Java Doc)
final public static int MODE_HEADER(Code)(Java Doc)
final public static int MODE_INITIALIZE(Code)(Java Doc)
final public static int MODE_ROW(Code)(Java Doc)

Methods inherited from com.salmonllc.jsp.tags.BaseBodyTag
protected void addItem()(Code)(Java Doc)
public void afterInit(HtmlComponent comp)(Code)(Java Doc)
public void afterInit(DataStoreBuffer comp)(Code)(Java Doc)
protected boolean alwaysWriteContent()(Code)(Java Doc)
public void clearBodyContent()(Code)(Java Doc)
abstract public HtmlComponent createComponent()(Code)(Java Doc)
public int doAfterBody() throws JspException(Code)(Java Doc)
public int doEndTag() throws JspException(Code)(Java Doc)
public void doInitBody()(Code)(Java Doc)
public int doStartTag() throws JspException(Code)(Java Doc)
protected void generateComponentHTML(JspWriter w) throws Exception(Code)(Java Doc)
protected String generateFormHiddenFieldHtml()(Code)(Java Doc)
public String getBodyContentData(boolean clear)(Code)(Java Doc)
public BaseTagHelper getHelper()(Code)(Java Doc)
protected int getMode()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public PageContext getPageContext()(Code)(Java Doc)
abstract public int getTagConvertType()(Code)(Java Doc)
public TagWriter getTagWriter()(Code)(Java Doc)
public String getVisible()(Code)(Java Doc)
public boolean hasNestedTags()(Code)(Java Doc)
protected boolean incrementMode()(Code)(Java Doc)
protected void initMode()(Code)(Java Doc)
protected boolean isTagOKForMode()(Code)(Java Doc)
public void release()(Code)(Java Doc)
protected void setMode(int mode)(Code)(Java Doc)
public void setName(String newName)(Code)(Java Doc)
public void setTagWriter(TagWriter writer)(Code)(Java Doc)
public void setVisible(String val)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
protected void writeFormHiddenFields(JspWriter w) throws IOException(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.