Java Doc for HtmlDataSourceTag.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » netui » tags » 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 » Library » Apache beehive 1.0.2 src » org.apache.beehive.netui.tags.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.beehive.netui.tags.AbstractClassicTag
   org.apache.beehive.netui.tags.html.HtmlBaseTag
      org.apache.beehive.netui.tags.html.HtmlFocusBaseTag
         org.apache.beehive.netui.tags.html.HtmlDataSourceTag

All known Subclasses:   org.apache.beehive.netui.tags.html.HtmlDefaultableDataSourceTag,  org.apache.beehive.netui.tags.html.Hidden,  org.apache.beehive.netui.tags.html.FileUpload,
HtmlDataSourceTag
abstract public class HtmlDataSourceTag extends HtmlFocusBaseTag (Code)
Abstract Base class adding support for the dataSource attribute.


Field Summary
protected  String_dataSource
    

Constructor Summary
public  HtmlDataSourceTag()
    

Method Summary
protected  ObjectevaluateDataSource()
     Return the Object that is represented by the specified data source.
protected  ListgetNamingChain()
     Return an ArrayList which represents a chain of INameInterceptor objects.
protected  voidlocalRelease()
     Release any acquired resources.
protected  voidnameHtmlControl(AbstractHtmlControlState state, ByRef javaScript)
     This method will create the name of the form element (HTML Control) that has a name.
public  voidsetDataSource(String dataSource)
     Sets the tag's data source (can be an expression).

Field Detail
_dataSource
protected String _dataSource(Code)




Constructor Detail
HtmlDataSourceTag
public HtmlDataSourceTag()(Code)




Method Detail
evaluateDataSource
protected Object evaluateDataSource() throws JspException(Code)
Return the Object that is represented by the specified data source. Object
throws:
  JspException -



getNamingChain
protected List getNamingChain()(Code)
Return an ArrayList which represents a chain of INameInterceptor objects. This method by default returns null and should be overridden by objects that support naming. an ArrayList that will contain INameInterceptor objects.



localRelease
protected void localRelease()(Code)
Release any acquired resources.



nameHtmlControl
protected void nameHtmlControl(AbstractHtmlControlState state, ByRef javaScript) throws JspException(Code)
This method will create the name of the form element (HTML Control) that has a name. The name attribute represent the "control name" for the control. This name is scoped into the form element. In addition, a control may have a id attribute which is specified by setting the tagId. These two value are set in this routine. The name is always the expression mapping the data to it's backing element and is conotrolled by the optional naming chain provided by the tag. The tagId specifies the id attribute. If this is present then we write out a JavaScript that allows mapping the tagId set on the tag to both the real id value and also the name value. The id is formed by passing the tagId to the URL rewritter service.
Parameters:
  state - The tag state structure. This contains both the name and id attributes. Theid attribute should be set with the initial value from the tagId.
Parameters:
  javaScript - A ByRef element that will contain any JavaScript that should be written outby the calling tag. A value is returned only if tagId is set and there is not IScriptReporterfound.
throws:
  JspException - Pass through the exception from applyNamingChain.



setDataSource
public void setDataSource(String dataSource)(Code)
Sets the tag's data source (can be an expression).
Parameters:
  dataSource - the data source



Methods inherited from org.apache.beehive.netui.tags.html.HtmlFocusBaseTag
final protected boolean isDisabled()(Code)(Java Doc)
protected void localRelease()(Code)(Java Doc)
public void setDisabled(boolean disabled)(Code)(Java Doc)
public void setOnBlur(String onblur)(Code)(Java Doc)
public void setOnChange(String onchange)(Code)(Java Doc)
public void setOnFocus(String onfocus)(Code)(Java Doc)
public void setOnSelect(String onselect)(Code)(Java Doc)

Methods inherited from org.apache.beehive.netui.tags.html.HtmlBaseTag
protected String getJavaScriptAttribute(String name)(Code)(Java Doc)
public String getOnClick()(Code)(Java Doc)
abstract protected AbstractHtmlState getState()(Code)(Java Doc)
public String getTagId()(Code)(Java Doc)
protected void localRelease()(Code)(Java Doc)
protected String renderDefaultNameAndId(HttpServletRequest request, AbstractHtmlState state, String id, String name)(Code)(Java Doc)
final protected String renderNameAndId(HttpServletRequest request, AbstractHtmlState state, Form parentForm)(Code)(Java Doc)
public void setAttribute(String name, String value, String facet) throws JspException(Code)(Java Doc)
public void setDir(String dir)(Code)(Java Doc)
public void setLang(String lang)(Code)(Java Doc)
public void setOnClick(String onclick)(Code)(Java Doc)
public void setOnDblClick(String ondblclick)(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)
protected void setStateAttribute(String name, String value, AbstractHtmlState tsh) throws JspException(Code)(Java Doc)
public void setStyle(String style)(Code)(Java Doc)
public void setStyleClass(String styleClass)(Code)(Java Doc)
public void setTagId(String tagId) throws JspException(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)

Fields inherited from org.apache.beehive.netui.tags.AbstractClassicTag
final public static List DefaultNamingChain(Code)(Java Doc)
final protected static String EMPTY_STRING(Code)(Java Doc)
final public static String NETUI_UNIQUE_CNT(Code)(Java Doc)

Methods inherited from org.apache.beehive.netui.tags.AbstractClassicTag
protected String applyNamingChain(String name) throws JspException(Code)(Java Doc)
protected String getErrorsReport()(Code)(Java Doc)
final protected String getIdForTagId(String tagId)(Code)(Java Doc)
protected List getNamingChain()(Code)(Java Doc)
protected Form getNearestForm()(Code)(Java Doc)
protected int getNextId(ServletRequest req)(Code)(Java Doc)
protected IScriptReporter getScriptReporter()(Code)(Java Doc)
abstract public String getTagName()(Code)(Java Doc)
protected Locale getUserLocale()(Code)(Java Doc)
protected boolean hasErrors()(Code)(Java Doc)
protected void localRelease()(Code)(Java Doc)
protected String qualifyAttribute(String name) throws JspException(Code)(Java Doc)
public void registerTagError(String message, Throwable e) throws JspException(Code)(Java Doc)
public void registerTagError(AbstractPageError error) throws JspException(Code)(Java Doc)
protected int reportAndExit(int returnValue) throws JspException(Code)(Java Doc)
protected void reportErrors() throws JspException(Code)(Java Doc)
final protected String rewriteName(String name)(Code)(Java Doc)
final protected String setNonEmptyValueAttribute(String attrValue)(Code)(Java Doc)
final protected String setRequiredValueAttribute(String attrValue, String attrName) throws JspException(Code)(Java Doc)
final protected void write(String string)(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.