Java Doc for RadioTag.java in  » Web-Framework » struts-1.3.8 » org » apache » struts » taglib » html » 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 » Web Framework » struts 1.3.8 » org.apache.struts.taglib.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.struts.taglib.html.BaseHandlerTag
   org.apache.struts.taglib.html.RadioTag

All known Subclasses:   org.apache.struts.taglib.nested.html.NestedRadioTag,  org.apache.strutsel.taglib.html.ELRadioTag,
RadioTag
public class RadioTag extends BaseHandlerTag (Code)
Tag for input fields of type "radio".
version:
   $Rev: 471754 $ $Date: 2005-06-14 14:26:17 -0400 (Tue, 14 Jun 2005)
version:
   $


Field Summary
protected  StringidName
     Name of the bean (in some scope) that will return the value of the radio tag.
protected static  MessageResourcesmessages
     The message resources for this package.
protected  Stringname
     The name of the bean containing our underlying property.
protected  Stringproperty
     The property name for this field.
protected  Stringtext
     The body content of this tag (if any).
protected  Stringvalue
     The server value for this option.


Method Summary
public  intdoAfterBody()
     Save the associated label from the body content.
public  intdoEndTag()
     Optionally render the associated label from the body content.
public  intdoStartTag()
     Generate the required input tag.
public  StringgetIdName()
     Return the idName.
public  StringgetName()
    
public  StringgetProperty()
     Return the property name.
public  StringgetValue()
     Return the server value.
protected  StringprepareName()
    
public  voidrelease()
     Release any acquired resources.
protected  StringrenderRadioElement(String serverValue, String checkedValue)
     Renders an HTML <input type="radio"> element.
Parameters:
  serverValue - The data to be used in the tag's valueattribute and sent to the server when the form issubmitted.
Parameters:
  checkedValue - If the serverValue equals this value the radiobutton will be checked.
public  voidsetIdName(String idName)
     Set the idName.
public  voidsetName(String name)
    
public  voidsetProperty(String property)
     Set the property name.
public  voidsetValue(String value)
     Set the server value.

Field Detail
idName
protected String idName(Code)
Name of the bean (in some scope) that will return the value of the radio tag.

If an iterator is used to render a series of radio tags, this field may be used to specify the name of the bean exposed by the iterator. In this case, the value attribute is used as the name of a property on the idName bean that returns the value of the radio tag in this iteration.




messages
protected static MessageResources messages(Code)
The message resources for this package.



name
protected String name(Code)
The name of the bean containing our underlying property.



property
protected String property(Code)
The property name for this field.



text
protected String text(Code)
The body content of this tag (if any).



value
protected String value(Code)
The server value for this option.





Method Detail
doAfterBody
public int doAfterBody() throws JspException(Code)
Save the associated label from the body content.
throws:
  JspException - if a JSP exception has occurred



doEndTag
public int doEndTag() throws JspException(Code)
Optionally render the associated label from the body content.
throws:
  JspException - if a JSP exception has occurred



doStartTag
public int doStartTag() throws JspException(Code)
Generate the required input tag. [Indexed property since Struts 1.1]
throws:
  JspException - if a JSP exception has occurred



getIdName
public String getIdName()(Code)
Return the idName.
since:
   Struts 1.1



getName
public String getName()(Code)



getProperty
public String getProperty()(Code)
Return the property name.



getValue
public String getValue()(Code)
Return the server value.



prepareName
protected String prepareName() throws JspException(Code)
Prepare the name element The element name.



release
public void release()(Code)
Release any acquired resources.



renderRadioElement
protected String renderRadioElement(String serverValue, String checkedValue) throws JspException(Code)
Renders an HTML <input type="radio"> element.
Parameters:
  serverValue - The data to be used in the tag's valueattribute and sent to the server when the form issubmitted.
Parameters:
  checkedValue - If the serverValue equals this value the radiobutton will be checked. A radio input element.
throws:
  JspException -
since:
   Struts 1.1



setIdName
public void setIdName(String idName)(Code)
Set the idName.
Parameters:
  idName - The new idName
since:
   Struts 1.1



setName
public void setName(String name)(Code)



setProperty
public void setProperty(String property)(Code)
Set the property name.
Parameters:
  property - The new property name



setValue
public void setValue(String value)(Code)
Set the server value.
Parameters:
  value - The new server value



Fields inherited from org.apache.struts.taglib.html.BaseHandlerTag
protected String accesskey(Code)(Java Doc)
protected boolean doDisabled(Code)(Java Doc)
protected boolean doReadonly(Code)(Java Doc)
protected boolean indexed(Code)(Java Doc)
protected static MessageResources messages(Code)(Java Doc)
protected String tabindex(Code)(Java Doc)

Methods inherited from org.apache.struts.taglib.html.BaseHandlerTag
protected boolean doErrorsExist() throws JspException(Code)(Java Doc)
public String getAccesskey()(Code)(Java Doc)
public String getAlt()(Code)(Java Doc)
public String getAltKey()(Code)(Java Doc)
public String getBundle()(Code)(Java Doc)
public String getDir()(Code)(Java Doc)
public boolean getDisabled()(Code)(Java Doc)
protected String getElementClose()(Code)(Java Doc)
public String getErrorKey()(Code)(Java Doc)
public String getErrorStyle()(Code)(Java Doc)
public String getErrorStyleClass()(Code)(Java Doc)
public String getErrorStyleId()(Code)(Java Doc)
protected int getIndexValue() throws JspException(Code)(Java Doc)
public boolean getIndexed()(Code)(Java Doc)
public String getLang()(Code)(Java Doc)
public String getLocale()(Code)(Java Doc)
public String getOnblur()(Code)(Java Doc)
public String getOnchange()(Code)(Java Doc)
public String getOnclick()(Code)(Java Doc)
public String getOndblclick()(Code)(Java Doc)
public String getOnfocus()(Code)(Java Doc)
public String getOnkeydown()(Code)(Java Doc)
public String getOnkeypress()(Code)(Java Doc)
public String getOnkeyup()(Code)(Java Doc)
public String getOnmousedown()(Code)(Java Doc)
public String getOnmousemove()(Code)(Java Doc)
public String getOnmouseout()(Code)(Java Doc)
public String getOnmouseover()(Code)(Java Doc)
public String getOnmouseup()(Code)(Java Doc)
public String getOnselect()(Code)(Java Doc)
public boolean getReadonly()(Code)(Java Doc)
public String getStyle()(Code)(Java Doc)
public String getStyleClass()(Code)(Java Doc)
public String getStyleId()(Code)(Java Doc)
public String getTabindex()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public String getTitleKey()(Code)(Java Doc)
protected boolean isXhtml()(Code)(Java Doc)
protected String lookupProperty(String beanName, String property) throws JspException(Code)(Java Doc)
protected String message(String literal, String key) throws JspException(Code)(Java Doc)
protected void prepareAttribute(StringBuffer handlers, String name, Object value)(Code)(Java Doc)
protected String prepareEventHandlers()(Code)(Java Doc)
protected void prepareFocusEvents(StringBuffer handlers)(Code)(Java Doc)
protected void prepareIndex(StringBuffer handlers, String name) throws JspException(Code)(Java Doc)
protected void prepareInternationalization(StringBuffer handlers)(Code)(Java Doc)
protected void prepareKeyEvents(StringBuffer handlers)(Code)(Java Doc)
protected void prepareMouseEvents(StringBuffer handlers)(Code)(Java Doc)
protected String prepareName() throws JspException(Code)(Java Doc)
protected void prepareOtherAttributes(StringBuffer handlers)(Code)(Java Doc)
protected String prepareStyles() throws JspException(Code)(Java Doc)
protected void prepareTextEvents(StringBuffer handlers)(Code)(Java Doc)
public void release()(Code)(Java Doc)
public void setAccesskey(String accessKey)(Code)(Java Doc)
public void setAlt(String alt)(Code)(Java Doc)
public void setAltKey(String altKey)(Code)(Java Doc)
public void setBundle(String bundle)(Code)(Java Doc)
public void setDir(String dir)(Code)(Java Doc)
public void setDisabled(boolean disabled)(Code)(Java Doc)
public void setErrorKey(String errorKey)(Code)(Java Doc)
public void setErrorStyle(String errorStyle)(Code)(Java Doc)
public void setErrorStyleClass(String errorStyleClass)(Code)(Java Doc)
public void setErrorStyleId(String errorStyleId)(Code)(Java Doc)
public void setIndexed(boolean indexed)(Code)(Java Doc)
public void setLang(String lang)(Code)(Java Doc)
public void setLocale(String locale)(Code)(Java Doc)
public void setOnblur(String onBlur)(Code)(Java Doc)
public void setOnchange(String onChange)(Code)(Java Doc)
public void setOnclick(String onClick)(Code)(Java Doc)
public void setOndblclick(String onDblClick)(Code)(Java Doc)
public void setOnfocus(String onFocus)(Code)(Java Doc)
public void setOnkeydown(String onKeyDown)(Code)(Java Doc)
public void setOnkeypress(String onKeyPress)(Code)(Java Doc)
public void setOnkeyup(String onKeyUp)(Code)(Java Doc)
public void setOnmousedown(String onMouseDown)(Code)(Java Doc)
public void setOnmousemove(String onMouseMove)(Code)(Java Doc)
public void setOnmouseout(String onMouseOut)(Code)(Java Doc)
public void setOnmouseover(String onMouseOver)(Code)(Java Doc)
public void setOnmouseup(String onMouseUp)(Code)(Java Doc)
public void setOnselect(String onSelect)(Code)(Java Doc)
public void setReadonly(boolean readonly)(Code)(Java Doc)
public void setStyle(String style)(Code)(Java Doc)
public void setStyleClass(String styleClass)(Code)(Java Doc)
public void setStyleId(String styleId)(Code)(Java Doc)
public void setTabindex(String tabIndex)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setTitleKey(String titleKey)(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.