OFBiz Content Management How to
|
|
- Chloe McDaniel
- 5 years ago
- Views:
Transcription
1 OFBiz Content Management How to Thanks Jacopo Cappellato for the original document creation on OFBiz CMS, contents in this document are referred from it. Basic Concepts: DataResource and Content records Data Resource Data Resource of type SHORT_TEXT Data Resource of type ELECTRONIC_TEXT Embedding FTL markup in the text Content The Sub-Content Pattern Content and decorator templates Using the <content/> element in a screen definition. How to setup a content driven website: WebSites, publish points and default pages Initial setup web.xml file controller.xml file Defining the web site publish points Adding a new page Defining the default page URI format to access Content information <BASE URL>/<CMS>/<CONTENT ID OF THE SCREEN> Basic Concepts: DataResource and Content records Let's suppose that we want to define content (that we will include in a screen) for the text "This is the text that will appear on screen.". Data Resource First of all we have to define a DataResource representing this text. The most common options we have are the following: SHORT_TEXT, ELECTRONIC_TEXT, URL_RESOURCE. Data Resource of type SHORT_TEXT <DataResource dataresourceid="ds_01" dataresourcetypeid="short_text" objectinfo="this is the text that will appear on screen."/> This is the simplest version and is useful when you have to store short texts. Data Resource of type ELECTRONIC_TEXT <DataResource dataresourceid="ds_01" dataresourcetypeid="electronic_text"/> <ElectronicText dataresourceid="ds_01"> <textdata><![cdata[ This is the text that will appear on screen. ]]></textdata> </ElectronicText> This is similar to the SHORT_TEXT version, but gives you greater flexibility because you can store long texts in the textdata field. Embedding FTL markup in the text The tree above DataResource records works well when the content is a simple text or a markup language (html, xml etc...) that just needs to be rendered as is. If you want to embed FTL markup (directives etc...) that needs to be processed before the rendering you can achieve this using the datatemplatetypeid attribute:
2 <DataResource dataresourceid="ds_01" dataresourcetypeid="electronic_text" datatemplatetypeid="ftl"/> in this way all the Freemarker instructions in the text will be executed before rendering the screen. Content Now we have to create a Content record that is associated to the DataResource. No matter what type of data resource you have choosen, the Content record is the same: <Content contentid="cn_01" contenttypeid="document" contentname="content 01" dataresourceid="ds_01"/> Note that the contenttypeid is "DOCUMENT": all pages and sections of pages should be this type. The Sub-Content Pattern This is a pattern used find and render sub-content of a Content record by specifying two things: contentid - the parent contentid to find sub-content of mapkey - the value of the mapkey field in the ContentAssoc between the parent- and sub-content to look up by The ContentAssoc.contentTypeId should be SUB_CONTENT. There can be multiple ContentAssoc records between the parent- and sub-content because of the fromdate field that is part of the primary key. To find the one we want we follow the standard pattern of sorting by -fromdate (newest first) and make sure the current date is greater than the fromdate and that either the thrudate is null or the current date is less than or equal to the thrudate. We will see the Sub-Content Pattern in action below in two scenarios: to decorate the various sections of a screen DECORATOR template (see section "Content and decorator templates") to provide a clean way to reference content in URL for web content sites (see section "Defining the publish point") Content and decorator templates If you want to embed the content of a DataResource in an existing template (to decorate/fill a region of it) you can use the decoratorcontentid attribute: <Content contentid="cn_01" contenttypeid="document" contentname="content 01" dataresourceid="ds_01" decoratorcontentid="cn_dec"/> where "CN_DEC" is the contentid of a Content record that looks like: <DataResource dataresourceid="ds_dec" dataresourcetypeid="electronic_text" datatemplatetypeid="ftl"/> <ElectronicText dataresourceid="ds_dec"> <textdata><![cdata[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " <html xmlns=" <head> Main Decorator </head> <body> ${decoratedcontent} </body> </html> ]]></textdata>
3 </ElectronicText> <Content contentid="cn_dec" contenttypeid="decorator" contentname=" Decorator" dataresourceid="ds_dec"/> When using this decorator, the DataResource text defined by DS_01 will be inserted in place of the ${decoratedcontent} variable. You can also define more placeholders/regions in the decorator template: <DataResource dataresourceid="ds_dec" dataresourcetypeid="electronic_text" datatemplatetypeid="ftl"/> <ElectronicText dataresourceid="ds_dec"> <textdata><![cdata[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " <html xmlns=" <head> Main Decorator </head> <body> ${(thiscontent.subcontent.header)?if_exists} <hr/> ${decoratedcontent} </body> </html> ]]></textdata> </ElectronicText> <Content contentid="cn_dec" contenttypeid="decorator" contentname=" Decorator" dataresourceid="ds_dec"/> <DataResource dataresourceid="ds_dec_header" dataresourcetypeid=" SHORT_TEXT" objectinfo="this is the text for the decorator header."/> <Content contentid="cn_dec_header" contenttypeid="document" contentname=" Decorator Header" dataresourceid="ds_dec_header"/> <ContentAssoc contentid="cn_dec" contentidto="cn_dec_header" contentassoctypeid="sub_content" mapkey="header" fromdate=" : 00:00"/> In this decorator we have placed a new placeholder for the header section, using a variable named "header" that is referenced using the syntax ${(thiscontent.subcontent.header)?if_exists} Then we have defined a new DataResource/Content pair to set the content for the header ("This is the text for the decorator header."). The association is done using the ContentAssoc entity (see the last line in the code block): the mapkey attribute is where you set the name of the variable used in the decorator template. Here are a few hints to consider when you are preparing the content for a decorator template: you can always get a reference to the Content for the Decorator (and associated resources) using following variable ${thiscontent} you can always get a reference to the Content for the decorated (current) screen (and associated resources) using following variable
4 ${decoratedcontent} both ${thiscontent} and ${decoratedcontent} are references to objects of type ContentMapFacade: this is a special class that implements the Map interface and can be used to quickly get Content related resources ; for example: ${decoratedcontent.subcontent.sub1}: above code renders the content record associated to the main one with the mapkey "sub1" when you define a hook for a region, it is usually a good idea to use a syntax like this: ${(decoratedcontent.subcontent.footer)?default((thiscontent.subcontent. footer)?if_exists)} In this way, when the decorated screen is rendered, if a "footer" record is associated to the decorated screen, then it is used that footer before defaulting to the default one (if available) associated to the decorator Content Using the <content/> element in a screen definition. You can easily include the content directly inside the <widgets> section of the screen definition with the following directive: <content content-id="cnt_example"/> How to setup a content driven website: WebSites, publish points and default pages Here are some tips to quickly setup a website whose content can be managed using the OFBiz built-in features of the Content management framework. Initial setup web.xml file Make sure that, in the web.xml file you have an entry to set in the session the websiteid of your site:
5 <context-param> <param-name>websiteid</param-name> <param-value>cmsexamplesite</param-value> <description>a unique ID used to look up the WebSite entity to get information about content, catalogs, etc.</description> </context-param> controller.xml file Add to the controller.xml file the following (or similar) entries: <default-request request-uri="cms"/> <request-map uri="main"> <security https="false" auth="false"/> <response name="success" type="request" value="cms"/> </request-map> <request-map uri="cms"> <security https="false" auth="false"/> <event type="java" path="org.ofbiz.content.cms.cmsevents" invoke="cms" /> <response name="success" type="none"/> <response name="error" type="view" value="error"/> </request-map> With the above setup, by default all the incoming requests will be dispatched to the CmsEvents event; this event will use the data in the Content data model to generate the content of the page and will return it back to the browser. In this way it will be possible to add new pages just editing the data in the Content data model and without editing the controller.xml file. Defining the web site publish points Next step is to define at least one publish point for the web site. A Web Site Publish Point is a special Content record that is not associated to a DataResource and its contenttypeid is WEB_SITE_PUB_PT: this is a Placeholder ContentType that is not meant to be rendered, but rather used to organize other content associated with it. The Web Site Publish Point Content entry is associated to the WebSite thru the WebSiteContent entity, using a websitecontenttypeid equal to "PUBLISH_POINT". Here is an example of this data setup: <Content contentid="cmss_ppoint" contenttypeid="web_site_pub_pt" contentname="cms Site Publish Point" description=""/> <WebSiteContent websiteid="cmsexamplesite" contentid="cmss_ppoint" websitecontenttypeid="publish_point" fromdate=" :00:00"/> Adding a new page Defining a new content driven page is as simple as defining a new Content/DataResource pair (as described in the above sections) of type DOCUMENT and then associating it to one of the web site publish points; the association, done thru the ContentAssoc entity (of type SUB_CONTENT) can be direct or indirect (i.e. the content record is a child of one of descendants of the publish point). For some examples of this setup see the section "URI formats to access Content information" below.
6 Defining the default page This is an optional step. You can define a default content driven page for the web site, that is used when no page (content) is specified in the URI. The Content/DataResource pair for the page is the same of a standard page (the content page needs also to be associated, directly or indirectly, to a publish point) and the association to the WebSite as the default page is done with an entry like the following one: <WebSiteContent websiteid="cmsexamplesite" contentid="example_content" websitecontenttypeid="default_page" fromdate=" :00:00"/> The page defined by the EXAMPLE_CONTENT content will be used as the default page for the web site. URI format to access Content information According to the way the CMS site has been setup, you will be able to use the following URI format to visit the Content managed screens. In the following examples we will adopt these values: <BASE URL>: This is the base url of the application; we will assume " <CMS>: This is the entry point for all the CMS managed content (as defined in the controller.xml file); we will assume "cms" <CONTENT ID OF THE SCREEN>: This is the contentid of a content record of type DOCUMENT that is associated to a DataResource containing the information to be rendered to the browser; we will assume the value EXAMPLE_CONTENT <BASE URL>/<CMS>/<CONTENT ID OF THE SCREEN> Example: This will only work if the Content record with id EXAMPLE_CONTENT is a node of a tree having a web site publish point as its root. The EXAMPLE_CONTENT content can be directly associated to the publish point: <ContentAssoc contentid="cmss_ppoint" contentidto="example_content" contentassoctypeid="sub_content" fromdate=" :00:00"/> or indirectly associated to it: <ContentAssoc contentid="cmss_ppoint" contentidto="another_content" contentassoctypeid="sub_content" fromdate=" :00:00"/> <ContentAssoc contentid="another_content" contentidto="example_content" contentassoctypeid="sub_content" fromdate=" :00:00"/>
Introduction to HTML5
Introduction to HTML5 History of HTML 1991 HTML first published 1995 1997 1999 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 After HTML 4.01 was released, focus shifted to XHTML and its stricter standards.
More informationHTML Overview. With an emphasis on XHTML
HTML Overview With an emphasis on XHTML What is HTML? Stands for HyperText Markup Language A client-side technology (i.e. runs on a user s computer) HTML has a specific set of tags that allow: the structure
More informationCHAPTER 2 MARKUP LANGUAGES: XHTML 1.0
WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document
More informationTRAINING GUIDE. Rebranding Lucity Web
TRAINING GUIDE Rebranding Lucity Web Rebranding Lucity Web Applications In this booklet, we ll show how to make the Lucity web applications your own by matching your agency s style. Table of Contents Web
More informationWhat is XHTML? XHTML is the language used to create and organize a web page:
XHTML Basics What is XHTML? XHTML is the language used to create and organize a web page: XHTML is newer than, but built upon, the original HTML (HyperText Markup Language) platform. XHTML has stricter
More informationWeb Development & Design Foundations with XHTML. Chapter 2 Key Concepts
Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page
More informationModule 2 (III): XHTML
INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 2 (III): XHTML Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals alfy@kfupm.edu.sa
More informationCSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0
CSI 3140 WWW Structures, Techniques and Standards Markup Languages: XHTML 1.0 HTML Hello World! Document Type Declaration Document Instance Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson
More informationCSC309 Midterm Exam Summer 2007
UNIVERSITY OF TORONTO Faculty of Arts and Science Midterm Exam July 2007 CSC 309 H1 F Instructor Dr. Radu Negulescu Duration 1 hour Examination Aids: One single-sided page containing notes NAME STUDENT
More informationHTML: The Basics & Block Elements
HTML: The Basics & Block Elements CISC 282 September 13, 2017 What is HTML? Hypertext Markup Language Markup language "Set of words or symbols" Assigns properties to text Not actually part of the text
More informationApacheCon NA How to Avoid Common Mistakes in OFBiz Development Presented by Adrian Crum
ApacheCon NA 2015 How to Avoid Common Mistakes in OFBiz Development Presented by Adrian Crum 1Tech, Ltd. 29 Harley Street, London, W1G 9QR, UK www.1tech.eu 1 Overview Common Getting Started Problems Common
More informationA designers guide to creating & editing templates in EzPz
A designers guide to creating & editing templates in EzPz Introduction...2 Getting started...2 Actions...2 File Upload...3 Tokens...3 Menu...3 Head Tokens...4 CSS and JavaScript included files...4 Page
More informationintroduction to XHTML
introduction to XHTML XHTML stands for Extensible HyperText Markup Language and is based on HTML 4.0, incorporating XML. Due to this fusion the mark up language will remain compatible with existing browsers
More informationImplementing a chat button on TECHNICAL PAPER
Implementing a chat button on TECHNICAL PAPER Contents 1 Adding a Live Guide chat button to your Facebook page... 3 1.1 Make the chat button code accessible from your web server... 3 1.2 Create a Facebook
More informationpages Jason Chambers AJUG February 2005
SiteMesh AOP for web pages Jason Chambers AJUG February 2005 Goals To provide an introduction to SiteMesh When to use it How to use it Exploration of advanced SiteMesh features Design patterns used by
More informationXHTML & CSS CASCADING STYLE SHEETS
CASCADING STYLE SHEETS What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML XHTML is almost identical to HTML 4.01 XHTML is a stricter and cleaner version
More informationScripting for Multimedia LECTURE 1: INTRODUCING HTML5
Scripting for Multimedia LECTURE 1: INTRODUCING HTML5 HTML An acronym for Hypertext Markup Language Basic language of WWW documents HTML documents consist of text, including tags that describe document
More informationPHP & PHP++ Curriculum
PHP & PHP++ Curriculum CORE PHP How PHP Works The php.ini File Basic PHP Syntax PHP Tags PHP Statements and Whitespace Comments PHP Functions Variables Variable Types Variable Names (Identifiers) Type
More informationDreamweaver CS3 Lab 2
Dreamweaver CS3 Lab 2 Using an External Style Sheet in Dreamweaver Creating the site definition First, we'll set up the site and define it so that Dreamweaver understands the site structure for your project.
More informationCS134 Web Site Design & Development. Quiz1
CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? a. www.whitehouse.gov
More informationXHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4.
3 XHTML What is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is the next generation of HTML XHTML is aimed to replace HTML XHTML is almost identical to HTML 4.01 XHTML is a stricter
More informationSession 24. Introduction to Java Server Faces (JSF) Robert Kelly, Reading.
Session 24 Introduction to Java Server Faces (JSF) 1 Reading Reading IBM Article - www.ibm.com/developerworks/java/library/jjsf2fu1/index.html Reference Sun Tutorial (chapters 4-9) download.oracle.com/javaee/6/tutorial/doc/
More informationWeb Publishing Basics I
Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic
More informationReview of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar
Review of HTML Chapter 3 Fundamentals of Web Development 2017 Pearson Fundamentals of Web Development http://www.funwebdev.com - 2 nd Ed. What Is HTML and Where Did It Come from? HTML HTML is defined as
More informationLecture 2: Tools & Concepts
Lecture 2: Tools & Concepts CMPSCI120 Editors WIN NotePad++ Mac Textwrangler 1 Secure Login Go WIN SecureCRT, PUTTY WinSCP Mac Terminal SFTP WIN WinSCP Mac Fugu 2 Intro to unix pipes & filters file system
More informationCopyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML
Chapter 7 XML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML
More informationDreamweaver CS5 Lab 2
Dreamweaver CS5 Lab 2 Using an External Style Sheet in Dreamweaver Creating the site definition First, we'll set up the site and define it so that Dreamweaver understands the site structure for your project.
More informationWIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1 2010 december, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
More informationImplementation profile for using OASIS DSS in Central Signing services
Implementation profile for using OASIS DSS in Central Signing services ELN-0607-v0.9 Version 0.9 2013-10-14 1 (12) 1 INTRODUCTION 3 1.1 TERMINOLOGY 3 1.2 REQUIREMENT KEY WORDS 3 1.3 NAME SPACE REFERENCES
More informationManual Getting Started. How to install extension
Manual Getting Started Welcome to the Banner Management System documentation. Whether you are new or an advanced user, you can find useful information here. Next steps: How to install extension Configure
More informationA Guide to CMS Functions
2017-02-13 Orckestra, Europe Nygårdsvej 16 DK-2100 Copenhagen Phone +45 3915 7600 www.orckestra.com Contents 1 INTRODUCTION... 3 1.1 Who Should Read This Guide 3 1.2 What You Will Learn 3 2 WHAT IS A CMS
More informationHTML & XHTML Tag Quick Reference
HTML & XHTML Tag Quick Reference This reference notes some of the most commonly used HTML and XHTML tags. It is not, nor is it intended to be, a comprehensive list of available tags. Details regarding
More informationHTML5 & CSS 8 th Edition. Chapter 2 Building a Webpage Template with HTML5
HTML5 & CSS 8 th Edition Chapter 2 Building a Webpage Template with HTML5 Objectives 1. Explain how to manage website files 2. Describe and use HTML5 semantic elements 3. Determine the elements to use
More informationChapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.
Chapter 2:- Introduction to XHTML Compiled By:- Assistant Professor, SVBIT. Outline Introduction to XHTML Move to XHTML Meta tags Character entities Frames and frame sets Inside Browser What is XHTML?
More informationINTRANET. EXTRANET. PORTAL.
Intranet DASHBOARD API Getting Started Guide Version 6 Contents 1. INTRODUCTION TO THE API... 3 Overview... 3 Further Information... 4 Disclaimer... 4 2. GETTING STARTED... 5 Creating an Application within
More informationLab 4 CSS CISC1600, Spring 2012
Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive
More informationCPET 499/ITC 250 Web Systems. Topics
CPET 499/ITC 250 Web Systems Lecture on HTML and XHTML, Web Browsers, and Web Servers References: * Fundamentals of Web Development, 2015 ed., by Randy Connolly and Richard Hoar, from Pearson *Chapter
More informationCreate a cool image gallery using CSS visibility and positioning property
GRC 275 A8 Create a cool image gallery using CSS visibility and positioning property 1. Create a cool image gallery, having thumbnails which when moused over display larger images 2. Gallery must provide
More informationVebra Search Integration Guide
Guide Introduction... 2 Requirements... 2 How a Vebra search is added to your site... 2 Integration Guide... 3 HTML Wrappers... 4 Page HEAD Content... 4 CSS Styling... 4 BODY tag CSS... 5 DIV#s-container
More informationComputer Science E-75 Building Dynamic Websites
Computer Science E-75 Building Dynamic Websites Harvard Extension School http://www.cs75.net/ Lecture 0: HTTP David J. Malan malan@post.harvard.edu http://www.cs.harvard.edu/~malan/ 0 DNS Image from wikipedia.org.
More informationXML (Extensible Markup Language
XML (Extensible Markup Language XML is a markup language. XML stands for extensible Markup Language. The XML standard was created by W3C to provide an easy to use and standardized way to store self describing
More information7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML
7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,
More informationXML. Technical Talk. by Svetlana Slavova. CMPT 842, Feb
XML Technical Talk by Svetlana Slavova 1 Outline Introduction to XML XML vs. Serialization Curious facts, advantages & weaknesses XML syntax Parsing XML Example References 2 Introduction to XML (I) XML
More informationC1 CMS Tree Schema Definition Reference
C1 CMS Tree Schema Definition Reference 2018-08-15 Orckestra, Europe Nygårdsvej 16 DK-2100 Copenhagen Phone +45 3915 7600 www.orckestra.com Contents 1 INTRODUCTION... 5 1.1 Editing Tree Definitions in
More informationSitecore Experience Editor Enchancements
Sitecore Experience Editor Enchancements Enhancements can be made to the Sitecore Experience Editor (formerly known as the Page Editor) to allow authors to more easily edit and manipulate content. Giving
More informationRelaxed on the Way Towards True Validation of Compound Documents
Relaxed on the Way Towards True Validation of Compound Documents Petr Nálevka University of Economics, Prague Dept. of Information and Knowledge Engineering petr@nalevka.com Jirka Kosek University of Economics,
More informationUsing netbeans create a new Web Application and select the framework as JSF 2.2
Using netbeans create a new Web Application and select the framework as JSF 2.2 Following is the final structure of the project: index.xhtml
More informationHTML. HTML is now very well standardized, but sites are still not getting it right. HTML tags adaptation
1 HTML HTML is now very well standardized, but sites are still not getting it right HTML tags adaptation HTML 2 HTML = HyperText Markup Language is used for the structural part of web pages Our strategy
More informationGRAPHIC WEB DESIGNER PROGRAM
NH128 HTML Level 1 24 Total Hours COURSE TITLE: HTML Level 1 COURSE OVERVIEW: This course introduces web designers to the nuts and bolts of HTML (HyperText Markup Language), the programming language used
More informationUnderstanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.
Extra notes - Markup Languages Dr Nick Hayward HTML - DOM Intro A brief introduction to HTML's document object model, or DOM. Contents Intro What is DOM? Some useful elements DOM basics - an example References
More informationJSF - H:PANELGRID. JSF Tag. Rendered Output. Tag Attributes. The h:panel tag renders an HTML "table" element. Attribute & Description.
http://www.tutorialspoint.com/jsf/jsf_panelgrid_tag.htm JSF - H:PANELGRID Copyright tutorialspoint.com The h:panel tag renders an HTML "table" element. JSF Tag
More informationMarkup Language. Made up of elements Elements create a document tree
Patrick Behr Markup Language HTML is a markup language HTML markup instructs browsers how to display the content Provides structure and meaning to the content Does not (should not) describe how
More informationajax1.html 1/2 lectures/7/src/ ajax1.html 2/2 lectures/7/src/
ajax1.html 1/2 3: ajax1.html 5: Gets stock quote from quote1.php via Ajax, displaying result with alert(). 6: 7: David J. Malan 8: Dan Armendariz 9: Computer Science E-75 10: Harvard Extension School 11:
More informationMarkup Languages SGML, HTML, XML, XHTML. CS 431 February 13, 2006 Carl Lagoze Cornell University
Markup Languages SGML, HTML, XML, XHTML CS 431 February 13, 2006 Carl Lagoze Cornell University Problem Richness of text Elements: letters, numbers, symbols, case Structure: words, sentences, paragraphs,
More informationBookmarks to the headings on this page:
Squiz Matrix User Manual Library The Squiz Matrix User Manual Library is a prime resource for all up-to-date manuals about Squiz's flagship CMS Easy Edit Suite Current for Version 4.8.1 Installation Guide
More informationExtensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013
Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline Introduction XML Structure Document Type Definition (DTD) XHMTL Formatting XML CSS Formatting XSLT Transformations
More informationContents. 1. Using Cherry 1.1 Getting started 1.2 Logging in
1 Contents 1. Using Cherry 1.1 Getting started 1.2 Logging in 2. Site Page Hierarchy Management 2.1 Page Addition 2.2 Page Deletion 2.3 Editing Page Details 3. Page Content Modification 3.1 Page Revisions
More informationGeneration of a simple web-application in the Microsoft Visual Studio 2008 with the use of Silverlight Viewer for Reporting Services 2008
Generation of a simple web-application in the Microsoft Visual Studio 2008 with the use of Silverlight Viewer for Reporting Services 2008 Prerequisites.NET Framework 3.5 SP1/4.0 Silverlight v3 Silverlight
More informationExample jsf-cdi-and-ejb can be browsed at
JSF-CDI-EJB Example jsf-cdi-and-ejb can be browsed at https://github.com/apache/tomee/tree/master/examples/jsf-cdi-and-ejb The simple application contains a CDI managed bean CalculatorBean, which uses
More informationASP.NET - MANAGING STATE
ASP.NET - MANAGING STATE http://www.tutorialspoint.com/asp.net/asp.net_managing_state.htm Copyright tutorialspoint.com Hyper Text Transfer Protocol HTTP is a stateless protocol. When the client disconnects
More informationModule 3 Web Component
Module 3 Component Model Objectives Describe the role of web components in a Java EE application Define the HTTP request-response model Compare Java servlets and JSP components Describe the basic session
More informationHTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.
HTML HTML/XHTML HyperText Mark-up Language Basic language for WWW documents Format a web page s look, position graphics and multimedia elements Describe document structure and formatting Platform independent:
More informationJSF - H:INPUTSECRET. Class name of a validator that s created and attached to a component
http://www.tutorialspoint.com/jsf/jsf_inputsecret_tag.htm JSF - H:INPUTSECRET Copyright tutorialspoint.com The h:inputsecret tag renders an HTML input element of the type "password". JSF Tag
More informationInternet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:
Internet publishing HTML (XHTML) language Petr Zámostný room: A-72a phone.: 4222 e-mail: petr.zamostny@vscht.cz Essential HTML components Element element example Start tag Element content End tag
More informationCreating Accessible DotNetNuke Skins Using CSS
Creating Accessible DotNetNuke Skins Using CSS Cathal Connolly, MVP, DotNetNuke Trustee Lee Sykes, www.dnncreative.com Session: SKN201 Agenda Why should I make my site accessible? Creating Compliant Skins
More informationTutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION
Tutorial 1 Getting Started with HTML5 HTML, CSS, and Dynamic HTML 5 TH EDITION Objectives Explore the history of the Internet, the Web, and HTML Compare the different versions of HTML Study the syntax
More informationUNIT -II. Language-History and Versions Introduction JavaScript in Perspective-
UNIT -II Style Sheets: CSS-Introduction to Cascading Style Sheets-Features- Core Syntax-Style Sheets and HTML Style Rle Cascading and Inheritance-Text Properties-Box Model Normal Flow Box Layout- Beyond
More informationCreating Post(s) In WordPress
Creating Post(s) In WordPress Posts In WordPress: Here is what posts are in WordPress: Posts are regular blog entries i.e. dynamic content. When any Post(s) are published, they appear automatically in
More informationSession 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes
Session 8 Deployment Descriptor 1 Reading Reading and Reference en.wikipedia.org/wiki/http Reference http headers en.wikipedia.org/wiki/list_of_http_headers http status codes en.wikipedia.org/wiki/_status_codes
More information11 TREES DATA STRUCTURES AND ALGORITHMS IMPLEMENTATION & APPLICATIONS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD
DATA STRUCTURES AND ALGORITHMS 11 TREES IMPLEMENTATION & APPLICATIONS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD WWW.IMRANIHSAN.COM LECTURES ADAPTED FROM: DANIEL KANE, NEIL RHODES DEPARTMENT
More informationFreeMarker in Spring Web. Marin Kalapać
FreeMarker in Spring Web Marin Kalapać Agenda Spring MVC view resolving in general FreeMarker what is it and basics Configure Spring MVC to use Freemarker as view engine instead of jsp Commonly used components
More informationCMS and e-commerce Solutions. version 1.0. Please, visit us at: or contact directly by
Countdown Anywhere for Magento User Guide version 1.0 created by IToris IToris Table of contents 1. Introduction... 3 1.1. Purpose... 3 2. Installation and License... 3 2.1. System Requirements... 3 2.2.
More informationComputer Science E-259
Computer Science E-259 XML with Java Lecture 4: XPath 1.0 (and 2.0) and XSLT 1.0 (and 2.0) 21 February 2007 David J. Malan malan@post.harvard.edu 1 Computer Science E-259 Last Time DOM Level 3 JAXP 1.3
More information(from Chapter 5 & 25.6 of the text)
IT350 Web and Internet Programming Fall 2007 SlideSet #6: Frames & SSI (from Chapter 5 & 25.6 of the text) Frames Example Benefits of Frames Problems with Frames Result: XHTML 1.1 does not support frames
More informationREST Easy with Infrared360
REST Easy with Infrared360 A discussion on HTTP-based RESTful Web Services and how to use them in Infrared360 What is REST? REST stands for Representational State Transfer, which is an architectural style
More informationHeader. Report Section. Footer
Scan&Solve Cheat Sheet for Modifying Report Format Scan&Solve uses template files to construct the web-ready reports when the [Report ] button is clicked in the View tab. These template files, located
More informationIT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://
IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : C2040-423 Title : IBM WebSphere Portal 8.5 Solution Development Version : DEMO 1 / 4 1.Isabel wants
More information11.1 Introduction to Servlets
11.1 Introduction to Servlets - A servlet is a Java object that responds to HTTP requests and is executed on a Web server - Servlets are managed by the servlet container, or servlet engine - Servlets are
More informationProvenance Situations: Use Cases for Provenance on Web Architecture
Provenance Situations: Use Cases for Provenance on Web Architecture W3C Provenance XG http://www.w3.org/2005/incubator/prov/wiki October 28, 2010 1 Provenance and Web Architecture: Consider Five Diverse
More informationextensible Markup Language (XML) Basic Concepts
(XML) Basic Concepts Giuseppe Della Penna Università degli Studi di L Aquila dellapenna@univaq.it http://www.di.univaq.it/gdellape This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike
More informationAdvanced Web Technologies 8) Facelets in JSF
Berner Fachhochschule, Technik und Informatik Advanced Web Technologies 8) Facelets in JSF Dr. E. Benoist Fall Semester 2010/2011 1 Using Facelets Motivation The gap between JSP and JSF First Example :
More informationHow I Learned to Stop Worrying and Love the KSS
How I Learned to Stop Worrying and Love the KSS Part 1: Client/Server Actions Chris Calloway TriZPUG November 2007 Thanks to BubbleNet and Greenfinity KSS? Kinetic Style Sheets Keep It Stupid Simple Javascript-free
More informationCSC309 Tutorial CSS & XHTML
CSC309 Tutorial CSS & XHTML Lei Jiang January 27, 2003 1 CSS CSC309 Tutorial --CSS & XHTML 2 Sampel XML Document
More informationSession 23 XML. XML Reading and Reference. Reading. Reference: Session 23 XML. Robert Kelly, 2018
Session 23 XML Reading XML Reading and Reference https://en.wikipedia.org/wiki/xml Reference: XML in a Nutshell (Ch. 1-3), available in Safari On-line 2 1 Lecture Objectives Understand the goal of application
More informationXAP: extensible Ajax Platform
XAP: extensible Ajax Platform Hermod Opstvedt Chief Architect DnB NOR ITUD Hermod Opstvedt: XAP: extensible Ajax Platform Slide 1 It s an Ajax jungle out there: XAML Dojo Kabuki Rico Direct Web Remoting
More informationMP3 (W7,8,&9): HTML Validation (Debugging) Instruction
MP3 (W7,8,&9): HTML Validation (Debugging) Instruction Objectives Required Readings Supplemental Reading Assignment In this project, you will learn about: - Explore accessibility issues and consider implications
More informationTutorial 8 Sharing, Integrating and Analyzing Data
Tutorial 8 Sharing, Integrating and Analyzing Data Microsoft Access 2013 Objectives Session 8.1 Export an Access query to an HTML document and view the document Import a CSV file as an Access table Use
More informationSESM Components and Techniques
CHAPTER 2 Use the Cisco SESM web application to dynamically render the look-and-feel of the user interface for each subscriber. This chapter describes the following topics: Using SESM Web Components, page
More informationBuild a web application within 40 minutes with Apache OFBiz.
Build a web application within 40 minutes with Apache OFBiz. Gil Portenseigne CORINTHIA HOTEL BUDAPEST, HUNGARY OCTOBER 1-3, 2015 Create an app to manage Care Bears feelings Prérequis Java JDK 1.7+ Your
More informationHTML HTML. Chris Seddon CRS Enterprises Ltd 1
Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com
More informationJavaServer Faces 2.0. Sangeetha S E-Commerce Research Labs, Infosys Technologies Ltd
JavaServer Faces 2.0 Sangeetha S E-Commerce Research Labs, Infosys Technologies Ltd 2010 Infosys Technologies Limited Agenda JSF 2.0 Overview of New Features Facelets Annotations Composite Components Ajax
More informationJSF - H:SELECTONEMENU
JSF - H:SELECTONEMENU http://www.tutorialspoint.com/jsf/jsf_selectonemenu_tag.htm Copyright tutorialspoint.com The h:selectonemenu tag renders an HTML input element of the type "select" with size not specified.
More informationConfiguring Tomcat for a Web Application
Configuring Tomcat for a Web Application In order to configure Tomcat for a web application, files must be put into the proper places and the web.xml file should be edited to tell Tomcat where the servlet
More informationblink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/
blink.html 1/1 3: blink.html 5: David J. Malan Computer Science E-75 7: Harvard Extension School 8: 9: --> 11:
More informationAsema IoT Central Integration and migration. English
Asema IoT Central English Table of Contents 1. Introduction... 1 2. alternatives... 2 2.1. Simply move and run... 2 2.2. Asema IoT Central as a proxy for other systems... 5 2.2.1. Proxied HTTP requests...
More informationAngular 4 Training Course Content
CHAPTER 1: INTRODUCTION TO ANGULAR 4 Angular 4 Training Course Content What is Angular 4? Central Features of the Angular Framework Why Angular? Scope and Goal of Angular Angular 4 vs Angular 2 vs. AngularJS
More informationNo Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
[MS-WSSTS]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More informationHTML5. Language of the Modern Web. By: Mayur Agrawal. Copyright TIBCO Software Inc.
HTML5 Language of the Modern Web By: Mayur Agrawal Copyright 2000-2015 TIBCO Software Inc. Content Exploring prior standards Why HTML5? HTML5 vs HTML4 Key Features of HTML5 HTML5 and Technical Writing
More informationFundamentals: Client/Server
Announcements Class Web Site: http://www.cs.umd.edu/projects/passport/classes/summer2008/ You can find this link at the end of the main passport site http://www.cs.umd.edu/projects/passport/webpage/ E-mail
More information