The Script.aculo.us JavaScript Library Part I: Ajax-Specific Features

Size: px
Start display at page:

Download "The Script.aculo.us JavaScript Library Part I: Ajax-Specific Features"

Transcription

1 2009 Marty Hall The Script.aculo.us JavaScript Library Part I: Ajax-Specific Features Originals of Slides and Source Code for Examples: Customized Java EE Training: Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known author and developer. At public venues or onsite at your location Marty Hall For live Ajax & GWT training, see training courses at t / Taught by the author of Core Servlets and JSP, More Servlets and JSP, and this tutorial. Available at public venues, or customized versions can be held on-site at your organization. Courses developed d and taught by Marty Hall Java 6, intermediate/beginning servlets/jsp, advanced servlets/jsp, Struts, JSF 1.x & 2.0, Ajax, GWT, custom mix of topics Ajax courses Customized can concentrate Java on EE one library Training: (jquery, Prototype/Scriptaculous, Ext-JS, Dojo) or survey several Courses developed and taught by coreservlets.com experts (edited by Marty) Servlets, JSP, Spring, JSF Hibernate/JPA, 1.x & JSF 2.0, EJB3, Struts Ruby/Rails Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known Contact author hall@coreservlets.com and developer. At public for details venues or onsite at your location.

2 Topics in This Section Overview of Scriptaculous Installation and documentation Autocomplete textfields Local version Ajax version In-place Editor Free-text values Values from combo box Marty Hall Introduction Customized Java EE Training: Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known author and developer. At public venues or onsite at your location.

3 Overview Foundation Built on top of fprototype Ajax-specific features Autocompleting textfields Textfields with dropdown list of matching choices Covered in first half of this section In-place editors Clickable text that you can edit and send to server Covered in second half of this section General features Visual effects (fade in, fade out, highlighting) Covered in next section Drag and drop Covered in later section 7 Downloading and Installation 8 Download Unzip and grab.js files out of src folder Usually put in subdirectory of scripts since there are many files This tutorial corresponds to Scriptaculous Online documentation Online forum / / i Prerequisite Scriptaculous requires Prototype. I am using 1.6. So your HTML page needs to load both libraries See separate lectures on Prototype

4 2009 Marty Hall Autocompleter.Local Customized Java EE Training: Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known author and developer. At public venues or onsite at your location. Autocompleter.Local Idea Specify JavaScript array that has choices for textfield. Dropdown box shown with choices that start with what has been typed so far Steps Make an instance of Autocompleter.Local new Autocompleter.Local(textFieldID, divid, array) Enable it when page loads window.onload onload = function() { new Autocompleter.Local(...); ; Prototype gurus might use document.observe("dom:loaded",...) instead of window.onload Make an empty div with a designated CSS name <div id="divid" class="somecssname"></div> "></di > Attach style sheet that makes div absolutely positioned, puts border on div, turns off bullets for ul lists, and makes a different background color for li.selected 10

5 Autocompleter.Local Example: JavaScript var langstring = "Java,C,C++,PHP,Visual Basic,..."; var langarray = languagestring.split( split(","); window.onload = function() { new Autocompleter.Local( Local("langField1", langfield1 "langmenu1", langarray); ; function googlesearch(id) { var language = getvalue(id); window.location.href = " + language; 11 function getvalue(id) { return(escape(document.getelementbyid(id).value)); Autocompleter.Local Example: HTML Header <!DOCTYPE...> <html xmlns=" / <head><title>scriptaculous and Autocomplete</title> <link rel="stylesheet" href="./css/styles.css" type="text/css"/> <script src="./scripts/prototype.js" type="text/javascript"></script> <script src= "./scripts/scriptaculous/scriptaculous.js?load=effects,controls" type="text/javascript"></script> <script src="./scripts/autocomplete.js" type="text/javascript"></script> </head> 12 If you know you will only use certain parts of scriptaculous library, you can save download time by loading only some of it. To load all of it, just omit the "load=" part. I.e., <script src=".../scriptaculous.js"...></script>. Autocomplete is in controls, but relies on effects internally.

6 Autocompleter.Local Example: Main HTML <body>... <fieldset> <legend>autocomplete.local</legend> <form action="#"> <label for="langfield1">programming language:</label> <input type="text" id="langfield1"/> <input type="button" value="search on Language" onclick="googlesearch('langfield1')"/><br/> <div id="langmenu1" class="autocomplete"></div> </form> </fieldset>... </body></html> 13 Autocompleter.Local Example: CSS.autocomplete { position: absolute; color: #333333; background-color: #ffffff; border: 1px solid #666666; font-family: Arial, sans-serif; overflow: hidden;.autocomplete ul { padding: 0; margin: 0; list-style: none; overflow: auto; 14

7 Autocompleter.Local Example: CSS (Continued).autocomplete li { display: block; white-space: nowrap; cursor: pointer; margin: 0px; padding-left: 5px; padding-right: 5px; border: 0px solid #ffffff;.autocomplete li.selected { background-color: co o #cceeff; border-top: 1px solid #99bbcc; border-bottom: 1px solid #99bbcc; 15 Autocompleter.Local Example: Results 16

8 2009 Marty Hall Ajax.Autocompleter Customized Java EE Training: Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known author and developer. At public venues or onsite at your location. Ajax.Autocompleter 18 Idea Specify URL that computes list of choices. Dropdown box shown with choices that start with what has been typed so far Steps: summary Same steps as with Autocompleter.Local except Specify url instead of array (url should return <ul> list) Steps Use class Ajax.Autocompleter instead of Autocompleter.Local Make an instance of Ajax.Autocompleter new Ajax.Autocompleter(textFieldID, divid, url) Enable it when page loads window.onload = function() { new Ajax.Autocompleter(...); ; Make an empty div with a designated CSS name <div id="divid" class="somecssname"></div> Attach same style sheet as with Autocompleter.Local

9 Ajax.Autocompleter Example: JavaScript var langstring = "Java,C,C++,PHP,Visual Basic,..."; var langarray = languagestring.split( split(","); window.onload = function() { new Autocompleter.Local("langField1", "langmenu1", langarray); new Ajax.Autocompleter("langField2", "langmenu2", "languages"); ; This is the relative URL. By default it will be passed POST data of name-of-langfield2=value-of-langfield2 19 Ajax.Autocompleter Example: HTML <fieldset> <legend>ajax.autocomplete</legend> Autocomplete</legend> <form action="#"> <label for="langfield2">programming language:</label> <input type="text" id="langfield2" name="langprefix"/> <input type="button" value="search on Language" onclick="googlesearch('langfield2')"/><br/> <div id="langmenu2" class="autocomplete"></div> </form> </fieldset> By default, name of field is parameter name 20

10 Ajax.Autocompleter Example: Servlet public class LanguageCompleter extends HttpServlet { private static final String languagestring = "Java,C,C++,..."; private static final String[] languagearray = languagestring.split(","); 21 public void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { response.setheader("cache-control", "no-cache"); response.setheader("pragma", "no-cache"); String languageprefix = request.getparameter("langprefix"); List<String> languages = findlanguages(languageprefix); request.setattribute("languages", languages); String outputpage = "/WEB-INF/results/language-list.jsp"; RequestDispatcher dispatcher = request.getrequestdispatcher(outputpage); dispatcher.include(request, response); The name (not id!) of textfield was "langprefix". Ajax.Autocompleter Example: Servlet (Continued) public void dopost(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { doget(request, response); private List<String> findlanguages(string languageprefix) { languageprefix = languageprefix.touppercase(); List<String> languages = new ArrayList<String>(); for(string language: languagearray) { if(language.touppercase().startswith(languageprefix)) { languages.add(language); return(languages); 22

11 Ajax.Autocompleter Example: JSP taglib uri=" prefix="c" %> <ul> <c:foreach var="language" items="${languages"> <li>${language</li> </c:foreach> </ul> 23 Return value of URL should be <ul> <li>...</li>... <li>...</li> </ul> Style sheet on client will suppress the bullets. Ajax.Autocompleter Example: web.xml <servlet> <servlet-name>languagecompleter</servlet-name> <servlet-class> coreservlets.languagecompleter </servlet-class> </servlet> <servlet-mapping> <servlet-name>languagecompleter</servlet-name> <url-pattern>/languages</url-pattern> </servlet-mapping> 24

12 Ajax.Autocompleter Example: Results Marty Hall Autocompleter Options Customized Java EE Training: Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known author and developer. At public venues or onsite at your location.

13 Autocompleter Options Idea Autocompleter.Local and Ajax.Autocompleter accept an options array as the fourth argument new Ajax.Autocompleter(fieldID, Autocompleter(fieldID divid, url, { opt1:..., opt2:...,... ); Legal properties for both classes autoselect (default: false) Should value automatically be inserted into textfield if there is only one matching choice? frequency (default: 0.4) Interval in seconds between attempts to autocomplete minchars (default: 1) The number of characters before autocompletion kicks in 27 Autocompleter Options (Continued) 28 Options for Autocompleter.Local choices (default 10) Maximum number of entries to display partialsearch (default true) Should match be made at beginning of any word? False means to match beginning of first word only. partialchars (default 2) Number of characters before partial search kicks in. When number of chars is greater or equal to minchars but less than partialchars, you get a non-partial search (first word). fullsearch (default false) Should match be anywhere? False means to match only at the beginning of each candidate. selector (default: function that searches array) Function that does real work of doing match and building ul list.

14 Autocompleter Options (Continued) Options for Ajax.Autocompleter indicator (default: none) Id of element that should be shown while waiting for server result, then hidden again paramname (default: name of textfield) tfi parameter name sent to server (parameter value is textfield value, of course) parameters (default: empty) Extra string sent to server (fixed parameters) tokens (default: empty) Array of delimeters: each entry outside delimeters is autocompleted separately afterupdateelement (default: none) Function to run when user makes choice. Lets you respond automatically to selections. 29 Autocompleter Options Example: JavaScript var langstring = "Java,C,C++,PHP,Visual Basic,..."; var langarray = languagestring.split( split(","); window.onload = function() { new Autocompleter.Local( Local("langField1", langfield1 "langmenu1", langarray); new Ajax.Autocompleter("langField2", "langmenu2", "languages"); new Ajax.Autocompleter("langField3", "langmenu3", "languages-slow", { indicator: "indicatorregion", paramname: "langprefix"); ; 30

15 Autocompleter Options Example: HTML <fieldset> <legend>ajax.autocomplete Autocomplete with Indicator</legend> <form action="#"> <span id="indicatorregion" style="display:none;"> <img src="images/busy-indicator.gif"/> g Loading... </span><br/> <label for="langfield3">programming language:</label> <input type="text" id="langfield3" name="bad-name"/> <input type="button" value="search on Language" onclick="googlesearch('langfield3')"/><br/> <div id="langmenu3" class="autocomplete"></div> </form> </fieldset> 31 Autocompleter Options Example: Java public class SlowLanguageCompleter extends LanguageCompleter { public void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { try { Thread.sleep(2000); catch(interruptedexception ie) { super.doget(request, response); 32

16 Autocompleter Options Example: web.xml <servlet> <servlet-name>slowlanguagecompleter</servlet-name> <servlet-class> coreservlets.slowlanguagecompleter </servlet-class> </servlet> <servlet-mapping> <servlet-name>slowlanguagecompleter</servlet-name> <url-pattern>/languages-slow</url-pattern> </servlet-mapping> 33 Autocompleter Options Example: Results 34

17 2009 Marty Hall In-Place Editors Customized Java EE Training: Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known author and developer. At public venues or onsite at your location. In-Place Editors Idea Text that you can click on, edit, and send to server Text is highlighted when mouse over it Text passed to server as value request parameter Text shown as Saving Saving... while waiting for server Value returned from server is new textual value Might not be exactly what user entered Basics new Ajax.InPlaceEditor("id-of-element", "url"); Click on text to get editable textfield new Ajax.InPlaceCollectionEditor ("id-of-element", "url" { collection: ["Option1",... "OptionN"]); Click on text to get select box of options Documentation 36

18 InPlaceEditor Example JavaScript window.onload = function() { new Ajax.InPlaceEditor("element-to-edit", "show-value.jsp"); ; HTML <h2 id="element-to-edit">here is Some Text</h2> JSP <% try { Thread.sleep(2000); catch(interruptedexception t t ti ie) { %>You sent "${param.value" 37 InPlaceEditor Example: Results 38

19 InPlaceCollectionEditor Example JavaScript window.onload d = function() { new Ajax.InPlaceEditor("element-to-edit", "show-value.jsp"); new Ajax.InPlaceCollectionEditor ("flyer-status", "show-value.jsp", { collection: ["Silver", "Gold", "Platinum", "Wood", "Hay", "Stubble"]); ; HTML <h2>frequent Flyer Status: <span id="flyer-status">silver</span></h2> JSP <% try { Thread.sleep(2000); catch(interruptedexception ie) { %>You sent "${param.value" 39 InPlaceCollectionEditor Example: Results 40

20 In-Place Editor Options: Basic Options 41 okbutton (default: true) Should you use "ok" button? Often set to false. oktext (default: "ok") Text of confirmation i button cancellink (default: true) Should you have "cancel" link? savingtext (default "Saving...") Text to show while waiting for server response clicktoedittext (default: "Click to edit") Text to show in tooltip when mouse hovers over text paramname (default: "value") Request parameter name In-Place Editor Options: Ajax.Request Options 42 Idea You can use ajaxoptions to specify an options object that gets passed to the underlying Ajax.Request object new Ajax.InPlaceEditor( InPlaceEditor("id" id, "url", { ajaxoptions: { blah ); For {blah above, you can use all of the same options as discussed in the earlier section on the Prototype Ajax libraries Most important usage: extra parameters You are editing a first name, but what customer id does that first name go with? var params = { param1: $("div-id").innerhtml, param2: $F("textfield-id"); var options = { parameters: params new Ajax.InPlaceEditor("id", "url", { ajaxoptions: options );

21 In-Place Editor Options: Collection Options collection Array of choices loadcollectionurl URL that returns JavaScript array of choices loadcollectiontext Text to show while waiting for server to send array of choices 43 In-Place Editor Options: Styling Options highlightcolor (default: pale yellow) Color to show when mouse is over and when result first comes back from server highlightendcolor (default: white) Color to show temporarily when hightlighting finishes hoverclassname, formclassname, loadingclassname, savingclassname (defaults: none, "inplaceeditor-form", "inplaceeditor- loading", "inplaceeditor-saving") i ") CSS name of elements at different stages formid id of form that is created when you click 44

22 In-Place Editor Options: Callback Options 45 onenterhover Defaults to setting background color onleavehover Df Defaults to fading fdi out background color onentereditmode onfailure Defaults to showing error message oncomplete This is often used when you are doing server-side validation of values. You can check a custom header from the server and show error message if needed. onleaveeditmode Advanced Example: JavaScript 46 window.onload = function() { var options = { okbutton: false, clicktoedittext: "Click to update your info" ; new Ajax.InPlaceEditor("firstName", "update-firstname", options); new Ajax.InPlaceEditor( InPlaceEditor("lastName" lastname, "update-lastname", options); new Ajax.InPlaceEditor(" ", "update- ", options); new Ajax.InPlaceEditor("flyerNum", "update-flyernum", options); ;

23 Advanced Example: Servlet for Initial Page 47 public class ShowTraveler extends HttpServlet { public void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { response.setheader("cache-control", "no-cache"); response.setheader("pragma", "no-cache"); HttpSession session = request.getsession(); Traveler traveler = (Traveler)session.getAttribute("traveler"); if (traveler == null) { traveler = new Traveler(); session.setattribute("traveler", traveler); String outputpage = "/WEB-INF/results/show-traveler.jsp"; RequestDispatcher dispatcher = request.getrequestdispatcher(outputpage); dispatcher.include(request, response); Advanced Example: JSP for Initial Page... <ul style="font-size: size: 18px"> <li>first name: <span id="firstname">${traveler.firstname</span> </li> <li>last name: <span id="lastname">${traveler.lastname</span> </li> <li> address: <span id=" ">${traveler. </span> </li> <li>frequent Flyer Number: <span id="flyernum">${traveler.flyernum</span> </li> </ul>... 48

24 Advanced Example: Helper Class for Initial Page public class Traveler implements Serializable { private String firstname = "Joe"; private String lastname = "Traveler"; private String = "joe@gmail.com"; private String flyernum = "a1234"; public Traveler(String firstname, String lastname, String , String flyernum) { setfirstname(firstname); setlastname(lastname); set ( ); setflyernum(flyernum); public Traveler () { // Standard getters and setters 49 Advanced Example: Initial Page: Results 50

25 Advanced Example: Servlets for Updating Purpose These are the servlets specified earlier in the Ajax.InPlaceEditor constructors update-firstname firstname, update-lastname lastname, update- , update-flyernum Behavior They look up the session, get a Traveler object from the session, then store first name, last name, etc. in that object They also have a delay to simulate use on a loaded network This lets you see "Saving..." message while waiting for server update 51 Advanced Example: Servlets for Updating (Parent) public abstract class UpdateTraveler extends HttpServlet { public void dopost(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { response.setheader("cache-control", "no-cache"); response.setheader("pragma", "no-cache"); HttpSession session = request.getsession(); Traveler traveler = (Traveler)session.getAttribute("traveler"); if (traveler == null) { traveler = new Traveler(); session.setattribute("traveler", traveler); 52

26 Advanced Example: Servlets for Updating (Parent, Cont.) String newval = request.getparameter("value"); if ((newval!= null) &&!(newval.trim().equals( equals(""))) { doupdate(traveler, newval); PrintWriter out = response.getwriter(); try { Thread.sleep(2000); catch(interruptedexception ie) { out.print(getresult(traveler)); public abstract void doupdate(traveler traveler, String newval); public abstract String getresult(traveler traveler); 53 Advanced Example: Servlets for Updating (First Name) public class UpdateFirstName extends UpdateTraveler { public void doupdate(traveler traveler, String newval) { traveler.setfirstname(newval); public String getresult(traveler traveler) { return(traveler.getfirstname()); 54

27 Advanced Example: Results Marty Hall Wrap-up Customized Java EE Training: Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known author and developer. At public venues or onsite at your location.

28 Recommended Books Prototype and script.aculo.us: You Never Knew JavaScript Could Do This! By Christophe Porteneuve Prototype and Scriptaculous in Action By Dave Crane, Bear Bebeault, Tom Locke 57 Summary window.onload = function() { new Autocompleter.Local( Local("fieldID1", "divid1", arrayofchoices); new Ajax.Autocompleter( Autocompleter("fieldID2", "divid2", "urlthatreturnslist"); new Ajax.Autocompleter("fieldID3", Autocompleter("fieldID3" "divid3", "urlthatreturnslist" { indicator: "ind-id", id" paramname: "p-name", more-options...); ; 58

29 Summary (Continued) window.onload = function() { new Ajax.InPlaceEditor("id-to-edit-1", "url-to-send-value"); new Ajax.InPlaceCollectionEditor ("id-to-edit-2", "url-to-send-value", { collection: ["Option1",...,"OptionN"]); ; Marty Hall Questions? Customized Java EE Training: Servlets, JSP, JSF 1.x & JSF 2.0, Struts Classic & Struts 2, Ajax, GWT, Spring, Hibernate/JPA, Java 5 & 6. Developed and taught by well-known author and developer. At public venues or onsite at your location.

Advanced Features. venues, or customized versions can be held on-site at your organization.

Advanced Features. venues, or customized versions can be held on-site at your organization. 2009 Marty Hall The AjaxTags Library: Advanced Features Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/ajax.html Customized Java EE Training: http://courses.coreservlets.com/

More information

SCRIPT.ACULO.US - IN-PLACE EDITING

SCRIPT.ACULO.US - IN-PLACE EDITING SCRIPT.ACULO.US - IN-PLACE EDITING http://www.tutorialspoint.com/script.aculo.us/scriptaculous_inplace_editing.htm Copyright tutorialspoint.com In-place editing is one of the hallmarks of Web 2.0.style

More information

Library Part II: Visual Effects

Library Part II: Visual Effects 2009 Marty Hall The Script.aculo.us us JavaScript Library Part II: Visual Effects Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/ajax.html Customized

More information

Simplifying GWT RPC with

Simplifying GWT RPC with 2012 Yaakov Chaikin Simplifying GWT RPC with Open Source GWT-Tools RPC Service (GWT 2.4 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/gwt.html

More information

The Prototype Framework Part III: Better OOP

The Prototype Framework Part III: Better OOP 2010 Marty Hall The Prototype Framework Part III: Better OOP (Prototype 1.6 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/coursecoreservlets com/course-materials/ajax.html

More information

Designing for Web 2.0

Designing for Web 2.0 1 Designing for Web 2.0 Ch. 12 Usability 2 Summarize Organize Write compactly Don t be too creative! Navigation and links 3 Menus: Horizontal Vertical Flyout Efficient forms Proper input elements Min number

More information

jquery Ajax Support: Sending Data to the Server

jquery Ajax Support: Sending Data to the Server coreservlets.com custom onsite training jquery Ajax Support: Sending Data to the Server Slides 2016 Marty Hall, hall@coreservlets.com For additional materials, please see http://www.coreservlets.com/.

More information

Generating the Server Response:

Generating the Server Response: 2009 Marty Hall Generating the Server Response: HTTP Status Codes Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html p 2 Customized Java EE

More information

Android Programming: Overview

Android Programming: Overview 2012 Marty Hall Android Programming: Overview Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/

More information

The Google Web Toolkit (GWT):

The Google Web Toolkit (GWT): 2012 Yaakov Chaikin The Google Web Toolkit (GWT): Advanced MVP: GWT MVP Framework (GWT 2.4 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/gwt.html

More information

The Google Web Toolkit (GWT):

The Google Web Toolkit (GWT): 2013 Marty Hall & Yaakov Chaikin The Google Web Toolkit (GWT): Introduction to Cell Widgets (GWT 2.5 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/gwt.html

More information

JavaScript: Functions

JavaScript: Functions coreservlets.com custom onsite training JavaScript: Functions coreservlets.com custom onsite training For customized training related to JavaScript or Java, email hall@coreservlets.com Marty is also available

More information

Servlet and JSP Review

Servlet and JSP Review 2006 Marty Hall Servlet and JSP Review A Recap of the Basics 2 JSP, Servlet, Struts, JSF, AJAX, & Java 5 Training: http://courses.coreservlets.com J2EE Books from Sun Press: http://www.coreservlets.com

More information

CSS Basics. Slides 2016 Marty Hall,

CSS Basics. Slides 2016 Marty Hall, coreservlets.com custom onsite training CSS Basics coreservlets.com custom onsite training For customized training related to JavaScript or Java, email hall@coreservlets.com Marty is also available for

More information

File I/O in Java 7: A Very Quick Summary

File I/O in Java 7: A Very Quick Summary coreservlets.com custom onsite training File I/O in Java 7: A Very Quick Summary Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java

More information

JavaScript: Getting Started

JavaScript: Getting Started coreservlets.com custom onsite training JavaScript: Getting Started Slides 2016 Marty Hall, hall@coreservlets.com For additional materials, please see http://www.coreservlets.com/. The JavaScript tutorial

More information

Core Capabilities Part 3

Core Capabilities Part 3 2008 coreservlets.com The Spring Framework: Core Capabilities Part 3 Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/spring.html Customized Java EE Training:

More information

jquery Ajax Support: Advanced Capabilities

jquery Ajax Support: Advanced Capabilities coreservlets.com custom onsite training jquery Ajax Support: Advanced Capabilities Slides 2016 Marty Hall, hall@coreservlets.com For additional materials, please see http://www.coreservlets.com/. The JavaScript

More information

Chapter 2 How to structure a web application with the MVC pattern

Chapter 2 How to structure a web application with the MVC pattern Chapter 2 How to structure a web application with the MVC pattern Murach's Java Servlets/JSP (3rd Ed.), C2 2014, Mike Murach & Associates, Inc. Slide 1 Objectives Knowledge 1. Describe the Model 1 pattern.

More information

Rich Interfaces with jquery UI: Part 1 Setup and Basic Widgets

Rich Interfaces with jquery UI: Part 1 Setup and Basic Widgets coreservlets.com custom onsite training Rich Interfaces with jquery UI: Part 1 Setup and Basic Widgets Slides 2016 Marty Hall, hall@coreservlets.com For additional materials, please see http://www.coreservlets.com/.

More information

Java with Eclipse: Setup & Getting Started

Java with Eclipse: Setup & Getting Started Java with Eclipse: Setup & Getting Started Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java 8 tutorial: http://www.coreservlets.com/java-8-tutorial/

More information

Jakarta Struts: An MVC Framework

Jakarta Struts: An MVC Framework 2010 Marty Hall Jakarta Struts: An MVC Framework Overview, Installation, and Setup Customized Java EE Training: http://courses.coreservlets.com/ Servlets, JSP, JSF 2.0, Struts, Ajax, GWT 2.0, Spring, Hibernate,

More information

The Google Web Toolkit (GWT): Extended GUI Widgets

The Google Web Toolkit (GWT): Extended GUI Widgets 2013 Marty Hall & Yaakov Chaikin The Google Web Toolkit (GWT): Extended GUI Widgets (GWT 2.5 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/gwt.html

More information

Ajax with PrimeFaces

Ajax with PrimeFaces 2015 Marty Hall Ajax with PrimeFaces Originals of slides and source code for examples: http://www.coreservlets.com/jsf-tutorial/primefaces/ Also see the JSF 2 tutorial http://www.coreservlets.com/jsf-tutorial/jsf2/

More information

JSF: Introduction, Installation, and Setup

JSF: Introduction, Installation, and Setup 2007 Marty Hall JSF: Introduction, Installation, and Setup Originals of Slides and Source Code for Examples: http://www.coreservlets.com/jsf-tutorial/ Customized J2EE Training: http://courses.coreservlets.com/

More information

JSF: The "h" Library Originals of Slides and Source Code for Examples:

JSF: The h Library Originals of Slides and Source Code for Examples: 2012 Marty Hall JSF: The "h" Library Originals of Slides and Source Code for Examples: http://www.coreservlets.com/jsf-tutorial/ This somewhat old tutorial covers JSF 1, and is left online for those maintaining

More information

Managed Beans III Advanced Capabilities

Managed Beans III Advanced Capabilities 2015 Marty Hall Managed Beans III Advanced Capabilities Originals of slides and source code for examples: http://www.coreservlets.com/jsf-tutorial/jsf2/ Also see the PrimeFaces tutorial http://www.coreservlets.com/jsf-tutorial/primefaces/

More information

Setup and Getting Startedt Customized Java EE Training:

Setup and Getting Startedt Customized Java EE Training: 2011 Marty Hall Java a with Eclipse: Setup and Getting Startedt Customized Java EE Training: http://courses.coreservlets.com/ 2011 Marty Hall For live Java EE training, please see training courses at http://courses.coreservlets.com/.

More information

Integrating Servlets and JavaServer Pages Lecture 13

Integrating Servlets and JavaServer Pages Lecture 13 Integrating Servlets and JavaServer Pages Lecture 13 Core Servlets & JSP book: More Servlets & JSP book: www.moreservlets.com Servlet and JSP Training Courses: courses.coreservlets.com 1 Slides Marty Hall,

More information

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Presented by Roel Fermont 1 Today more than ever, Cascading Style Sheets (CSS) have a dominant place in online business. CSS

More information

CSE 154 LECTURE 26: JAVASCRIPT FRAMEWORKS

CSE 154 LECTURE 26: JAVASCRIPT FRAMEWORKS CSE 154 LECTURE 26: JAVASCRIPT FRAMEWORKS Why Frameworks? JavaScript is a powerful language, but it has many flaws: the DOM can be clunky to use the same code doesn't always work the same way in every

More information

Web Engineering CSS. By Assistant Prof Malik M Ali

Web Engineering CSS. By Assistant Prof Malik M Ali Web Engineering CSS By Assistant Prof Malik M Ali Overview of CSS CSS : Cascading Style Sheet a style is a formatting rule. That rule can be applied to an individual tag element, to all instances of a

More information

For live Java EE training, please see training courses at

For live Java EE training, please see training courses at 2009 Marty Hall Controlling the Structure of Generated Servlets: The JSP page Directive Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html p

More information

Using Applets as Front Ends to

Using Applets as Front Ends to 2009 Marty Hall Using Applets as Front Ends to Server-Side Side Programs Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/coursecoreservlets com/course-materials/java5.html

More information

JQUERYUI - SORTABLE. axis This option indicates an axis of movement "x" is horizontal, "y" is vertical. By default its value is false.

JQUERYUI - SORTABLE. axis This option indicates an axis of movement x is horizontal, y is vertical. By default its value is false. JQUERYUI - SORTABLE http://www.tutorialspoint.com/jqueryui/jqueryui_sortable.htm Copyright tutorialspoint.com jqueryui provides sortable method to reorder elements in list or grid using the mouse. This

More information

How to structure a web application with the MVC pattern

How to structure a web application with the MVC pattern Objectives Chapter 2 How to structure a web application with the MVC pattern Knowledge 1. Describe the Model 1 pattern. 2. Describe the Model 2 (MVC) pattern 3. Explain how the MVC pattern can improve

More information

Part 2. can be held on-site at your organization.

Part 2. can be held on-site at your organization. 2008 coreservlets.com Spring JDBC Part 2 Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/spring.html Customized Java EE Training: http://courses.coreservlets.com/

More information

Web Programming. Lecture 11. University of Toronto

Web Programming. Lecture 11. University of Toronto CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat University of Toronto Servlets+JSP Model 2 Architecture University of Toronto 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern

More information

HBase Java Client API

HBase Java Client API 2012 coreservlets.com and Dima May HBase Java Client API Basic CRUD operations Originals of slides and source code for examples: http://www.coreservlets.com/hadoop-tutorial/ Also see the customized Hadoop

More information

Java Enterprise Edition. Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1

Java Enterprise Edition. Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1 Java Enterprise Edition Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1 Java Beans Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 2 Java Bean POJO class : private Attributes public

More information

CSC309: Introduction to Web Programming. Lecture 11

CSC309: Introduction to Web Programming. Lecture 11 CSC309: Introduction to Web Programming Lecture 11 Wael Aboulsaadat Servlets+JSP Model 2 Architecture 2 Servlets+JSP Model 2 Architecture = MVC Design Pattern 3 Servlets+JSP Model 2 Architecture Controller

More information

Creating Custom JSP Tag Libraries:

Creating Custom JSP Tag Libraries: 2008 Marty Hall Creating Custom JSP Tag Libraries: Advanced Topics 3 Customized Java EE Training: http://courses.coreservlets.com/ Servlets, JSP, Struts, JSF/MyFaces/Facelets, Ajax, GWT, Spring, Hibernate/JPA,

More information

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

<style type=text/css> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page*** Chapter 7 Using Advanced Cascading Style Sheets HTML is limited in its ability to define the appearance, or style, across one or mare Web pages. We use Cascading style sheets to accomplish this. Remember

More information

COSC 2206 Internet Tools. CSS Cascading Style Sheets

COSC 2206 Internet Tools. CSS Cascading Style Sheets COSC 2206 Internet Tools CSS Cascading Style Sheets 1 W3C CSS Reference The official reference is here www.w3.org/style/css/ 2 W3C CSS Validator You can upload a CSS file and the validator will check it

More information

Developed and taught by well-known Contact author and developer. At public for details venues or onsite at your location.

Developed and taught by well-known Contact author and developer. At public for details venues or onsite at your location. 2011 Marty Hall Android Programming Basics Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/

More information

The Spring Framework: Overview and Setup

The Spring Framework: Overview and Setup 2009 Marty Hall The Spring Framework: Overview and Setup Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/spring.html Customized Java EE Training: http://courses.coreservlets.com/

More information

Servlets by Example. Joe Howse 7 June 2011

Servlets by Example. Joe Howse 7 June 2011 Servlets by Example Joe Howse 7 June 2011 What is a servlet? A servlet is a Java application that receives HTTP requests as input and generates HTTP responses as output. As the name implies, it runs on

More information

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes Course Title Course Code WEB DESIGNING TECHNOLOGIES DCE311 Lecture : 3 Course Credit Practical : Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be able to: Understand

More information

Scriptaculous Stuart Halloway

Scriptaculous Stuart Halloway Scriptaculous Stuart Halloway stu@thinkrelevance.com Copyright 2007, Relevance, Inc. Licensed only for use in conjunction with Relevance-provided training For permission to use, send email to contact@thinkrelevance.com

More information

Handling Cookies. For live Java EE training, please see training courses at

Handling Cookies. For live Java EE training, please see training courses at Edited with the trial version of 2012 Marty To Hall remove this notice, visit: Handling Cookies Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html

More information

Lambda-Related Methods Directly in Lists and Maps

Lambda-Related Methods Directly in Lists and Maps coreservlets.com custom onsite training Lambda-Related Methods Directly in Lists and Maps Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

For live Java EE training, please see training courses at

For live Java EE training, please see training courses at Java with Eclipse: Setup & Getting Started Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/java.html For live Java EE training, please see training courses

More information

jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc.

jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Agenda What is and Why jmaki? jmaki widgets Using jmaki widget - List widget What makes up

More information

5 Snowdonia. 94 Web Applications with C#.ASP

5 Snowdonia. 94 Web Applications with C#.ASP 94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial

More information

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors Unit 10 - Client Side Customisation of Web Pages Week 5 Lesson 1 CSS - Selectors Last Time CSS box model Concept of identity - id Objectives Selectors the short story (or maybe not) Web page make-over!

More information

JSP Scripting Elements

JSP Scripting Elements 2009 Marty Hall Invoking Java Code with JSP Scripting Elements Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html 2 Customized Java EE Training:

More information

Scripting for Multimedia LECTURE 5: INTRODUCING CSS3

Scripting for Multimedia LECTURE 5: INTRODUCING CSS3 Scripting for Multimedia LECTURE 5: INTRODUCING CSS3 CSS introduction CSS Level 1 --> CSS Level 2 --> CSS Level 3 (in modules) More than 50 modules are published Cascading style sheets (CSS) defines how

More information

How to lay out a web page with CSS

How to lay out a web page with CSS Activity 2.6 guide How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS4 to create a simple page layout. However, a more powerful technique is to use Cascading Style

More information

Session 20 Data Sharing Session 20 Data Sharing & Cookies

Session 20 Data Sharing Session 20 Data Sharing & Cookies Session 20 Data Sharing & Cookies 1 Reading Shared scopes Java EE 7 Tutorial Section 17.3 Reference http state management www.ietf.org/rfc/rfc2965.txt Cookies Reading & Reference en.wikipedia.org/wiki/http_cookie

More information

The Google Web Toolkit (GWT): Advanced Control of Layout with UiBinder

The Google Web Toolkit (GWT): Advanced Control of Layout with UiBinder 2012 Yaakov Chaikin The Google Web Toolkit (GWT): Advanced Control of Layout with UiBinder (GWT 2.4 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/gwt.html

More information

Introduction to using HTML to design webpages

Introduction to using HTML to design webpages Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the

More information

The Google Web Toolkit (GWT): Handling History and Bookmarks

The Google Web Toolkit (GWT): Handling History and Bookmarks 2013 Marty Hall & Yaakov Chaikin The Google Web Toolkit (GWT): Handling History and Bookmarks (GWT 2.5 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/gwt.html

More information

SCRIPT.ACULO.US - DRAG & DROP

SCRIPT.ACULO.US - DRAG & DROP SCRIPT.ACULO.US - DRAG & DROP http://www.tutorialspoint.com/script.aculo.us/scriptaculous_drag_drop.htm Copyright tutorialspoint.com The most popular feature of Web 2.0 interface is the drag and drop facility.

More information

CSS Selectors. element selectors. .class selectors. #id selectors

CSS Selectors. element selectors. .class selectors. #id selectors CSS Selectors Patterns used to select elements to style. CSS selectors refer either to a class, an id, an HTML element, or some combination thereof, followed by a list of styling declarations. Selectors

More information

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

Session 4. Style Sheets (CSS) Reading & References.   A reference containing tables of CSS properties Session 4 Style Sheets (CSS) 1 Reading Reading & References en.wikipedia.org/wiki/css Style Sheet Tutorials www.htmldog.com/guides/cssbeginner/ A reference containing tables of CSS properties web.simmons.edu/~grabiner/comm244/weekthree/css-basic-properties.html

More information

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website. 9 Now it s time to challenge the serious web developers among you. In this section we will create a website that will bring together skills learned in all of the previous exercises. In many sections, rather

More information

Session 8. JavaBeans. Reading & Reference. Reading. Reference. Session 8 Java Beans. 2/27/2013 Robert Kelly, Head First Chapter 3 (MVC)

Session 8. JavaBeans. Reading & Reference. Reading. Reference. Session 8 Java Beans. 2/27/2013 Robert Kelly, Head First Chapter 3 (MVC) Session 8 JavaBeans 1 Reading Reading & Reference Head First Chapter 3 (MVC) Reference JavaBeans Tutorialdocs.oracle.com/javase/tutorial/javabeans/ 2 2/27/2013 1 Lecture Objectives Understand how the Model/View/Controller

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 4 5 6 8 Introduction to ASP.NET, Visual Studio and C# CST272 ASP.NET Static and Dynamic Web Applications Static Web pages Created with HTML controls renders exactly

More information

INTRODUCTION TO SERVLETS AND WEB CONTAINERS. Actions in Accord with All the Laws of Nature

INTRODUCTION TO SERVLETS AND WEB CONTAINERS. Actions in Accord with All the Laws of Nature INTRODUCTION TO SERVLETS AND WEB CONTAINERS Actions in Accord with All the Laws of Nature Web server vs web container Most commercial web applications use Apache proven architecture and free license. Tomcat

More information

CSc 337 LECTURE 15: REVIEW

CSc 337 LECTURE 15: REVIEW CSc 337 LECTURE 15: REVIEW HTML and CSS Tracing Draw a picture of how the following HTML/CSS code will look when the browser renders it on-screen. Assume that the HTML is wrapped in a valid full page with

More information

Using Dreamweaver CS6

Using Dreamweaver CS6 Using Dreamweaver CS6 7 Dynamic HTML Dynamic HTML (DHTML) is a term that refers to website that use a combination of HTML, scripting such as JavaScript, CSS and the Document Object Model (DOM). HTML and

More information

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)

More information

Web Designing Course

Web Designing Course Web Designing Course Course Summary: HTML, CSS, JavaScript, jquery, Bootstrap, GIMP Tool Course Duration: Approx. 30 hrs. Pre-requisites: Familiarity with any of the coding languages like C/C++, Java etc.

More information

INTRODUCTION TO CSS. Mohammad Jawad Kadhim

INTRODUCTION TO CSS. Mohammad Jawad Kadhim INTRODUCTION TO CSS Mohammad Jawad Kadhim WHAT IS CSS Like HTML, CSS is an interpreted language. When a web page request is processed by a web server, the server s response can include style sheets,

More information

Course Material Usage Rules

Course Material Usage Rules Course Material Usage Rules PowerPoint slides for use only in full-semester, for-credit courses at degree-granting institutions Slides not permitted for use in commercial training courses except when taught

More information

Integrating Servlets and JSP: The MVC Architecture

Integrating Servlets and JSP: The MVC Architecture Integrating Servlets and JSP: The MVC Architecture Core Servlets & JSP book: More Servlets & JSP book: www.moreservlets.com Servlet and JSP Training Courses: courses.coreservlets.com 2 Slides Marty Hall,

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

CS506 Web Design & Development Final Term Solved MCQs with Reference

CS506 Web Design & Development Final Term Solved MCQs with Reference with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar

More information

CSC309: Introduction to Web Programming. Lecture 10

CSC309: Introduction to Web Programming. Lecture 10 CSC309: Introduction to Web Programming Lecture 10 Wael Aboulsaadat WebServer - WebApp Communication 2. Servlets Web Browser Get servlet/serv1? key1=val1&key2=val2 Web Server Servlet Engine WebApp1 serv1

More information

Tizen Web UI Technologies (Tizen Ver. 2.3)

Tizen Web UI Technologies (Tizen Ver. 2.3) Tizen Web UI Technologies (Tizen Ver. 2.3) Spring 2015 Soo Dong Kim, Ph.D. Professor, Department of Computer Science Software Engineering Laboratory Soongsil University Office 02-820-0909 Mobile 010-7392-2220

More information

Intents, Intent Filters, and Invoking Activities: Part I: Using Class Name

Intents, Intent Filters, and Invoking Activities: Part I: Using Class Name 2012 Marty Hall Intents, Intent Filters, and Invoking Activities: Part I: Using Class Name Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java

More information

TLN Hover Menu Up to 3 or More Levels

TLN Hover Menu Up to 3 or More Levels TLN Hover Menu Up to 3 or More Levels Applies to: This article applied to EP 7.0 EHP1 SP6. Summary We already have documents/codes for implementation of 2 level hover menu in TLN. This document provides

More information

Cascading Style Sheets

Cascading Style Sheets 4 TVEZEWXYHMNR LSTVSKVEQY-RJSVQEXMOENITSHTSVSZ RETVSNIOXIQ RERGSZER Q^)ZVSTWO LSWSGM PR LSJSRHYEVS^TS XYLPEZR LSQ WXE4VEL] 4VELE)9-RZIWXYNIQIHSZE% FYHSYGRSWXM CSS Cascading Style Sheets Lukáš Bařinka barinkl@fel.cvut.cz

More information

The Google Web Toolkit (GWT): Declarative Layout with UiBinder Advanced Topics

The Google Web Toolkit (GWT): Declarative Layout with UiBinder Advanced Topics 2013 Marty Hall & Yaakov Chaikin The Google Web Toolkit (GWT): Declarative Layout with UiBinder Advanced Topics (GWT 2.5 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/gwt.html

More information

Stamp Builder. Documentation. v1.0.0

Stamp  Builder. Documentation.   v1.0.0 Stamp Email Builder Documentation http://getemailbuilder.com v1.0.0 THANK YOU FOR PURCHASING OUR EMAIL EDITOR! This documentation covers all main features of the STAMP Self-hosted email editor. If you

More information

JSP Scripting Elements

JSP Scripting Elements JSP Scripting Elements Core Servlets & JSP book: More Servlets & JSP book: www.moreservlets.com Servlet and JSP Training Courses: courses.coreservlets.com 1 Slides Marty Hall, http://, book Sun Microsystems

More information

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week WEB DESIGNING HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments HTML - Lists HTML - Images HTML

More information

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Instructions to use the laboratory computers (room B2): 1. If the computer is off, start it with Windows (all computers have a Linux-Windows

More information

READSPEAKER ENTERPRISE HIGHLIGHTING 2.5

READSPEAKER ENTERPRISE HIGHLIGHTING 2.5 READSPEAKER ENTERPRISE HIGHLIGHTING 2.5 Advanced Skinning Guide Introduction The graphical user interface of ReadSpeaker Enterprise Highlighting is built with standard web technologies, Hypertext Markup

More information

Website Development with HTML5, CSS and Bootstrap

Website Development with HTML5, CSS and Bootstrap Contact Us 978.250.4983 Website Development with HTML5, CSS and Bootstrap Duration: 28 hours Prerequisites: Basic personal computer skills and basic Internet knowledge. Course Description: This hands on

More information

Session 11. Ajax. Reading & Reference

Session 11. Ajax. Reading & Reference Session 11 Ajax Reference XMLHttpRequest object Reading & Reference en.wikipedia.org/wiki/xmlhttprequest Specification developer.mozilla.org/en-us/docs/web/api/xmlhttprequest JavaScript (6th Edition) by

More information

Signs of Spring App. Release Notes Version 1.0

Signs of Spring App. Release Notes Version 1.0 Signs of Spring App Release Notes Version 1.0 App Parameters and Styling In your Caspio account, go to the App s Overview screen. On the right sidebar, click on Manage in the App Parameters area. Edit

More information

UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013

UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013 UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013 SUBJECT CODE : SCSV1223 (Section 05) SUBJECT NAME : WEB PROGRAMMING YEAR/COURSE : 1SCSV TIME : 2.00 4.00 PM DATE : 18 APRIL 2013 VENUE : KPU 10

More information

UNIT 6:CH:14 INTEGRATING SERVLETS AND JSPTHE MVC ARCHITECTURE

UNIT 6:CH:14 INTEGRATING SERVLETS AND JSPTHE MVC ARCHITECTURE UNIT 6:CH:14 INTEGRATING SERVLETS AND JSPTHE MVC ARCHITECTURE NAME: CHAUHAN ARPIT S ENROLLMENT NO: 115250693055 Obtaining a RequestDispatcher Forwarding requests from servlets to dynamic resources Forwarding

More information

Taking Fireworks Template and Applying it to Dreamweaver

Taking Fireworks Template and Applying it to Dreamweaver Taking Fireworks Template and Applying it to Dreamweaver Part 1: Define a New Site in Dreamweaver The first step to creating a site in Dreamweaver CS4 is to Define a New Site. The object is to recreate

More information

The Google Web Toolkit (GWT): Extended GUI Widgets

The Google Web Toolkit (GWT): Extended GUI Widgets 2012 Marty Hall & Yaakov Chaikin The Google Web Toolkit (GWT): Extended GUI Widgets (GWT 2.4 Version) Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/gwt.html

More information

SSC - Web applications and development Introduction and Java Servlet (I)

SSC - Web applications and development Introduction and Java Servlet (I) SSC - Web applications and development Introduction and Java Servlet (I) Shan He School for Computational Science University of Birmingham Module 06-19321: SSC Outline Outline of Topics What will we learn

More information

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple

More information

Clean up and remove examples that show panels! Make slide summarizing all the HTML ones and equivalent GWT names

Clean up and remove examples that show panels! Make slide summarizing all the HTML ones and equivalent GWT names TODO 1 Clean up and remove examples that show panels! Make slide summarizing all the HTML ones and equivalent GWT names Ajax version of SuggestBox And TabPanel, StackPanel More widgets! Anything new in

More information