org.opencms.jsp

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 » Content Management System » opencms » org.opencms.jsp 
org.opencms.jsp
The implementation of the OpenCms JSP tag library, with some additional utility classes to help in JSP scriplet code and navigation building.

Most of the classes in this package implement the <cms:> taglib. To access the exact same functionality using scriptlets, obtain an instance of a {@link org.opencms.jsp.CmsJspActionElement} from the current JSP. Using the action element you can also access the current users OpenCms context in a {@link org.opencms.file.CmsObject}, by using {@link org.opencms.jsp.CmsJspBean#getCmsObject()}.

To aid in template navigation building, have a look at the {@link org.opencms.jsp.CmsJspNavBuilder} which provides a large selection of methods to easily create dynamic navigations.

@version $Revision: 1.10 $ @since 6.0.0 @see org.opencms.file.CmsObject @see org.opencms.file.types.CmsResourceTypeJsp @see org.opencms.loader.CmsJspLoader

Java Source File NameTypeComment
CmsContentInfoBean.javaClass
CmsJspActionElement.javaClass
CmsJspBean.javaClass Superclass for OpenCms JSP beans that provides convient access to OpenCms core and VFS functionality.

If you have large chunks of code on your JSP that you want to move to a Class file, consider creating a subclass of this bean.

CmsJspLoginBean.javaClass
CmsJspNavBuilder.javaClass Bean to provide a convenient way to build navigation structures based on the org.opencms.jsp.CmsJspNavElement .

Use this together with the org.opencms.jsp.CmsJspActionElement to obtain navigation information based on the current users permissions. For example, use CmsJspNavBuilder.getNavigationForFolder(String) and pass the value of the current OpenCms user context uri obtained from org.opencms.file.CmsRequestContext.getUri as argument to obtain a list of all items in the navigation of the current folder.

CmsJspNavElement.javaClass Bean to collect navigation information from a resource in the OpenCms VFS.

Each navigation element contains a number of information about a VFS resource, obtained either from the resources properties or attributes.

CmsJspScopedVarBodyTagSuport.javaClass
CmsJspTagContentAccess.javaClass Used to access XML content item information from the current open <cms:contentload> tag using JSP page context and the JSP EL.

The tag will create an instance of a CmsJspContentAccessBean that is stored in the selected context. Use the options provided by the bean to access the XML content directly.

For example together with the JSTL, use this tag inside an open tag like this:

 <cms:contentload ...
CmsJspTagContentCheck.javaClass
CmsJspTagContentInfo.javaClass
CmsJspTagContentLoad.javaClass Implementation of the <cms:contentload/> tag, used to access and display XML content item information from the VFS.

Since version 7.0.2 it is also possible to store the results of the content load in the JSP context using a CmsJspContentLoadBean .

CmsJspTagContentLoop.javaClass
CmsJspTagContentShow.javaClass
CmsJspTagDecorate.javaClass
CmsJspTagEditable.javaClass Implementation of the <cms:editable/> tag.

This class is also used to generate the direct edit buttons for the <cms:include editable="..." /> and <cms:contentload editable="..." /> tags.

Since OpenCms version 6.2.3, the direct edit button HTML generated is controlled by an instance of I_CmsDirectEditProvider . The default direct edit provider used can be configured in opencms-workplace.xml in the <directeditprovider class="..." /> node.

CmsJspTagExport.javaClass Allows to have certain JSP code on a JSP not processed by OpenCms, which can be useful in case you want to create a JSP page using the OpenCms static export.

Usually, if you want to create a JSP page using the OpenCms static export, some parts of the page should be processed by OpenCms, while other parts of the JSP are processed later when the exported JSP is deployed in another servlet container. A typical use case is that you have a template applied to the page in OpenCms, but the body content of the page is generated after the static export, for example by a database application.

Please note: In order to static export a JSP page with the ".jsp" suffix, you need to add the property "exportsuffix" with the value ".jsp" to the OpenCms JSP file in the VFS.

CmsJspTagImage.javaClass
CmsJspTagInclude.javaClass
CmsJspTagIncludeTEI.javaClass
CmsJspTagInfo.javaClass Provides access to OpenCms and System related information.

This tag supports the following special "property" values:

  • opencms.version returns the current OpenCms version, e.g.
CmsJspTagLabel.javaClass
CmsJspTagLink.javaClass
CmsJspTagParam.javaClass
CmsJspTagParse.javaClass Implements the <cms:parse></cms:parse> tag to allow parsing of nested HTML with the org.opencms.jsp.parse.A_CmsConfiguredHtmlParser } implementation specified by the "parserClass" attribute.
CmsJspTagProperty.javaClass Provides access to the properties of a resource in the OpenCms VFS .

Of particular importance is the setting of the file attribute, which can take the following values.

This attribute allows you to specify where to search for the property.
The following values are supported:

uri (default)
Look up the property on the file with the uri requested by the user.
CmsJspTagTemplate.javaClass
CmsJspTagUser.javaClass
CmsJspXmlContentBean.javaClass
I_CmsJspTagContentContainer.javaInterface
I_CmsJspTagParamParent.javaInterface
I_CmsXmlContentContainer.javaInterface
Messages.javaClass Convenience class to access the localized messages of this OpenCms package.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.