Using netbeans create a new Web Application and select the framework as JSF 2.2

Size: px
Start display at page:

Download "Using netbeans create a new Web Application and select the framework as JSF 2.2"

Transcription

1 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 <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " <html xmlns=" xmlns:h=" <h:head> <title>shiva JSF JQuery JSON JSTree</title> <script type="text/javascript" src="resources/jquery js"></script> <script type="text/javascript" src="resources/jquery.jstree.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#tree").jstree({ "json_data" : { "data" : [#{TreeBean.JSONTree],

2 "themes" : { "theme" : "apple", "plugins" : [ "themes", "json_data", "ui" ] ).bind("select_node.jstree", function (e, data) { alert(data.rslt.obj.attr("id")); ); ); </script> </h:head> <h:body> <h:panelgroup layout="block" id="tree" /> </h:body> </html> TreeBean.java package com.shiva.bean; import com.shiva.model.nodedata; import java.io.serializable; import java.util.arraylist; import java.util.iterator; import java.util.list; import javax.faces.bean.managedbean; import javax.faces.bean.sessionscoped; import org.json.jsonexception; import org.json.jsonobject; /** * Shiva = public class TreeBean implements Serializable { List<NodeData> treelist; public TreeBean() { treelist = new ArrayList<NodeData>(); populatetreelist(); private void populatetreelist() { treelist.add(new NodeData("ABC", "0", "root", 1)); treelist.add(new NodeData("DEF", "1", "root", 2));

3 treelist.add(new NodeData("GHI", "2", "root", 3)); treelist.add(new NodeData("JKL", "3", "root", 4)); treelist.add(new NodeData("MNO", "4", "root", 5)); treelist.add(new NodeData("PQR", "5", "root", 6)); treelist.add(new NodeData("STU", "6", "root", 4)); treelist.add(new NodeData("VWX", "7", "root", 3)); treelist.add(new NodeData("YZA", "8", "root", 4)); treelist.add(new NodeData("BCD", "9", "root", 5)); treelist.add(new NodeData("EFG", "10", "root", 4)); treelist.add(new NodeData("HIJ", "11", "root", 3)); public String getjsontree() throws JSONException { String tree = ""; JSONObject treejsonobj = new JSONObject(); Iterator<NodeData> it = treelist.iterator(); if (it.hasnext()) { createjsontree(treejsonobj, null, null, 1, it); tree = treejsonobj.tostring(); System.out.println(tree); return tree; private NodeData createjsontree(jsonobject rootnode, JSONObject childnode, NodeData node, int treelevel, Iterator<NodeData> treeit) throws JSONException { boolean endoftree = false; while (endoftree == false) { if (node == null) { if (treeit.hasnext()) { node = treeit.next(); if (node == null) { endoftree = true; else { int currentlevel = node.getlevel(); if (currentlevel == treelevel) { JSONObject attrjsonobj = null; if (currentlevel == 1) { rootnode.put("data", node.gettitle()); attrjsonobj = new JSONObject(); attrjsonobj.put("id", node.getuid()); attrjsonobj.put("rel", node.getrel()); attrjsonobj.put("uid", node.getuid()); rootnode.put("attr", attrjsonobj); node = createjsontree(rootnode, null, null, (treelevel + 1), treeit); else {

4 JSONObject tempjsonobj = new JSONObject(); tempjsonobj.put("data", node.gettitle()); attrjsonobj = new JSONObject(); attrjsonobj.put("id", node.getuid()); attrjsonobj.put("rel", node.getrel()); attrjsonobj.put("uid", node.getuid()); tempjsonobj.put("attr", attrjsonobj); if (childnode == null) { childnode = new JSONObject(); rootnode.append("children", tempjsonobj); else { childnode.append("children", tempjsonobj); node = createjsontree(rootnode, tempjsonobj, null, (treelevel + 1), treeit); else { if (currentlevel > treelevel) { node = createjsontree(rootnode, childnode, node, (treelevel + 1), treeit); else { return node; return null; NodeData.java package com.shiva.model; /** * Shiva */ public class NodeData { private String title; private String uid; private String rel; private int level; public NodeData(String _title, String _uid, String _rel, int _level) { title = _title; uid = _uid; rel = _rel; level = _level;

5 public String gettitle() { return title; public void settitle(string _title) { title = _title; public String getuid() { return uid; public void setuid(string _uid) { uid = _uid; public String getrel() { return rel; public void setrel(string _rel) { rel = _rel; public int getlevel() { return level; public void setlevel(int _level) { level = _level; After successfully creating this project the output should like as follows:

JSF - H:SELECTONEMENU

JSF - 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 information

JSF - H:SELECTONERADIO

JSF - H:SELECTONERADIO JSF - H:SELECTONERADIO http://www.tutorialspoint.com/jsf/jsf_selectoneradio_tag.htm Copyright tutorialspoint.com The h:selectoneradio tag renders a set of HTML input element of type "radio", and format

More information

Session 24. Introduction to Java Server Faces (JSF) Robert Kelly, Reading.

Session 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 information

8 JSF, Images, CSS, and JS

8 JSF, Images, CSS, and JS 8 JSF, Images, CSS, and JS In this chapter, we will cover: Injecting CSS in JSF JSF, CSS, and tables JSF and dynamic CSS Integrating JavaScript and JSF Getting a JSF inputtext value from JavaScript Working

More information

An implementation of Tree Panel component in EXT JS 4.0

An implementation of Tree Panel component in EXT JS 4.0 An implementation of Tree Panel component in EXT JS 4.0 By Hamid M. Porasl This implementation contains an HTML file that t is used to invoke used EXT JS java script files and our implemented java Script

More information

Example jsf-cdi-and-ejb can be browsed at

Example 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 information

XML. Technical Talk. by Svetlana Slavova. CMPT 842, Feb

XML. 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 information

ajax1.html 1/2 lectures/7/src/ ajax1.html 2/2 lectures/7/src/

ajax1.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 information

blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/

blink.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 information

11.1 Introduction to Servlets

11.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 information

Very short introduction to JavaServer Faces

Very short introduction to JavaServer Faces Very short introduction to JavaServer Faces Example of an JSF application Application consists from two HTML pages The first page allows to enter a number, and as a result outputs squared number Example

More information

Building Desktop RIAs with PHP, HTML & Javascript in AIR. Ed Finkler, ZendCon08, September 17, 2008 funkatron.com /

Building Desktop RIAs with PHP, HTML & Javascript in AIR. Ed Finkler, ZendCon08, September 17, 2008 funkatron.com / Building Desktop RIAs with PHP, HTML & Javascript in AIR Ed Finkler, ZendCon08, September 17, 2008 funkatron.com / funkatron@gmail.com What is AIR? For the desktop Not a browser plugin Build desktop apps

More information

SMAATSDK. NFC MODULE ON ANDROID REQUIREMENTS AND DOCUMENTATION RELEASE v1.0

SMAATSDK. NFC MODULE ON ANDROID REQUIREMENTS AND DOCUMENTATION RELEASE v1.0 SMAATSDK NFC MODULE ON ANDROID REQUIREMENTS AND DOCUMENTATION RELEASE v1.0 NFC Module on Android Requirements and Documentation Table of contents Scope...3 Purpose...3 General operating diagram...3 Functions

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

Introduction to HTML5

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 information

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security Architecture 7/26/2017 EC512 Prof. Skinner 2 Security Types IIS security Not ASP.NET specific Requires Windows accounts (NTFS file system)

More information

Tutorial on text transformation with pure::variants

Tutorial on text transformation with pure::variants Table of Contents 1. Overview... 1 2. About this tutorial... 1 3. Setting up the project... 2 3.1. Source Files... 4 3.2. Documentation Files... 5 3.3. Build Files... 6 4. Setting up the feature model...

More information

Java EE 6 New features in practice Part 2

Java EE 6 New features in practice Part 2 Java EE 6 New features in practice Part 2 Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. License for use and distribution

More information

Bookmarks to the headings on this page:

Bookmarks 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 information

What is XHTML? XHTML is the language used to create and organize a web page:

What 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 information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web 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 information

Schenker AB. Interface documentation Map integration

Schenker AB. Interface documentation Map integration Schenker AB Interface documentation Map integration Index 1 General information... 1 1.1 Getting started...1 1.2 Authentication...1 2 Website Map... 2 2.1 Information...2 2.2 Methods...2 2.3 Parameters...2

More information

Erik Meijer Wes Dyer Jeffrey van Gogh Bart de Smet Matthew Podwysocki

Erik Meijer Wes Dyer Jeffrey van Gogh Bart de Smet Matthew Podwysocki Volta Quo Vadis? Erik Meijer Wes Dyer Jeffrey van Gogh Bart de Smet Matthew Podwysocki What? Fundamentally change the way you think about coordinating and orchestrating asynchronous and event-based programming

More information

JSF - H:PANELGRID. JSF Tag. Rendered Output. Tag Attributes. The h:panel tag renders an HTML "table" element. Attribute & Description.

JSF - 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 information

CSC309 Midterm Exam Summer 2007

CSC309 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 information

django-sekizai Documentation

django-sekizai Documentation django-sekizai Documentation Release 0.6.1 Jonas Obrist September 23, 2016 Contents 1 About 3 2 Dependencies 5 3 Usage 7 3.1 Configuration............................................... 7 3.2 Template

More information

JSF Tags. This tutorial will cover a number of useful JSF tags. For a complete listing of available JSF tags consult the Oracle documentation at:

JSF Tags. This tutorial will cover a number of useful JSF tags. For a complete listing of available JSF tags consult the Oracle documentation at: Overview @author R.L. Martinez, Ph.D. Java EE 7 provides a comprehensive list of JSF tags to support JSF web development. The tags are represented in XHTML format on the server and are converted into HTML

More information

TRAINING GUIDE. Rebranding Lucity Web

TRAINING 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 information

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5

Scripting 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 information

PULSE - API. The purpose of this document is to provide example requests and responses for all relevant Pulse services requests

PULSE - API. The purpose of this document is to provide example requests and responses for all relevant Pulse services requests PULSE - API The purpose of this document is to provide example requests and responses for all relevant Pulse services requests Contents Introduction... 4 Getting Started... 4 Anatomy of a ...6

More information

A designers guide to creating & editing templates in EzPz

A 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 information

SAMPLE CHAPTER. Raymond K. Camden MANNING

SAMPLE CHAPTER. Raymond K. Camden MANNING SAMPLE CHAPTER Raymond K. Camden MANNING Apache Cordova in Action by Raymond K. Camden Sample Chapter 8 Copyright 2016 Manning Publications brief contents PART 1 GETTING STARTED WITH APACHE CORDOVA...

More information

JSF - H:INPUTSECRET. Class name of a validator that s created and attached to a component

JSF - 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 information

Computer Science E-75 Building Dynamic Websites

Computer 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 information

OFBiz Content Management How to

OFBiz Content Management How to 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

More information

Unit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript

Unit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Unit Notes ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Copyright, 2013 by TAFE NSW - North Coast Institute Date last saved: 18 September 2013 by

More information

Documents and computation. Introduction to JavaScript. JavaScript vs. Java Applet. Myths. JavaScript. Standard

Documents and computation. Introduction to JavaScript. JavaScript vs. Java Applet. Myths. JavaScript. Standard Introduction to Prof. Ing. Andrea Omicini II Facoltà di Ingegneria, Cesena Alma Mater Studiorum, Università di Bologna andrea.omicini@unibo.it Documents and computation HTML Language for the description

More information

XAP: extensible Ajax Platform

XAP: 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 information

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner CP3343 Computer Science Project (Year) Technical Report Document Mr Stephen Garner Colin Hopson 0482647 Wednesday 23 rd April 2008 i Contents 1 Introduction... 1 2 The Program Listing... 1 2.1 ASP.Net

More information

Create a cool image gallery using CSS visibility and positioning property

Create 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 information

Web applications Developing Android/Iphone Applications using WebGUI

Web applications Developing Android/Iphone Applications using WebGUI Web applications Developing Android/Iphone Applications using WebGUI Joeri de Bruin Oqapi Software joeri@oqapi.nl 1 Overview Web applications Create WebApp with WebGUI Turn WebApp into native mobile app

More information

Integrating Seam and GWT

Integrating Seam and GWT Integrating Seam and GWT Integrating the JBoss Seam Framework with the GWT Toolkit : Use cases and patterns Ferda Tartanoglu Neox ia 6563 Who we are 2 > Ferda TARTANOGLU, PhD Consultant and Software Architect

More information

Web Services DELMIA Apriso 2017 Implementation Guide

Web Services DELMIA Apriso 2017 Implementation Guide Web Services DELMIA Apriso 2017 Implementation Guide 2016 Dassault Systèmes. Apriso, 3DEXPERIENCE, the Compass logo and the 3DS logo, CATIA, SOLIDWORKS, ENOVIA, DELMIA, SIMULIA, GEOVIA, EXALEAD, 3D VIA,

More information

ASP.NET - MANAGING STATE

ASP.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 information

Lecture 2: Tools & Concepts

Lecture 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 information

Module 2 (III): XHTML

Module 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 information

Université du Québec à Montréal

Université du Québec à Montréal Laboratoire de Recherches sur les Technologies du Commerce Électronique arxiv:1803.05253v1 [cs.se] 14 Mar 2018 Université du Québec à Montréal How to Implement Dependencies in Server Pages of JEE Web Applications

More information

Implementing a chat button on TECHNICAL PAPER

Implementing 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 information

Wed 02 Nov :01:06 AM EST modpow.html

Wed 02 Nov :01:06 AM EST modpow.html Wed 02 Nov 2005 02:01:06 AM EST modpow.html

More information

CS134 Web Site Design & Development. Quiz1

CS134 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 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

Appendix A : Android Studio Code For Android

Appendix A : Android Studio Code For Android Appendix A : Android Studio Code For Android Monitoring : ` public Pubnub pubnub; public static final String PUBLISH_KEY = "pub-c-798bd0f6-540b-48af-9e98-7d0028a5132a"; public static final String SUBSCRIBE_KEY

More information

COPYRIGHT 2012 DROIDLA LIMITED

COPYRIGHT 2012 DROIDLA LIMITED Integrating with your Website COPYRIGHT 2012 DROIDLA LIMITED ALL RIGHTS RESERVED DROIDLA LIMITED v1.0 - NOVEMBER 2012 Contents OVERVIEW OF THE INTEGRATION PROCESS... 2 1. CREATE AN ACCOUNT... 2 2. ACCEPT

More information

JSF. Events. Events and the JSF Life Cycle

JSF. Events. Events and the JSF Life Cycle JSF Events Events and the JSF Life Cycle Typically, you register event handlers with components for example, you might register a value change listener with a menu in a JSF page, like this:

More information

CSE 143 Sample Final Exam #6 Key

CSE 143 Sample Final Exam #6 Key CSE 143 Sample Final Exam #6 Key 1. Statement var1.a(); var1.b(); var1.c(); var2.a(); var2.b(); var3.a(); var3.b(); var4.a(); ((Computer) var1).b(); ((Computer) var1).c(); ((Computer) var2).c(); ((Animal)

More information

CSCI 5333 DBMS Spring 2018 Final Examination. Last Name: First Name: Student Id:

CSCI 5333 DBMS Spring 2018 Final Examination. Last Name: First Name: Student Id: CSCI 5333 DBMS Spring 2018 Final Examination Last Name: First Name: Student Id: Number: Time allowed: two hours. Total score: 100 points. This is a closed book examination but you can bring a cheat sheet.

More information

Week Date Teaching Attended 8 1/3/2010 Lab 6: Secure Connections/ Toolkit 6

Week Date Teaching Attended 8 1/3/2010 Lab 6: Secure Connections/ Toolkit 6 Week Date Teaching Attended 8 1/3/2010 Lab 6: Secure Connections/ Toolkit 6 Aim: The aim of this lab is to investigate the integration of SAML into Web Authentication. Time to complete: 4 hours (Two supervised

More information

Web Programming Paper Solution (Chapter wise)

Web Programming Paper Solution (Chapter wise) .Net.net code to insert new record in database using C#. Database name: College.accdb Table name: students Table structure: std_id number std_name text std_age number Table content (before insert): 2 abcd

More information

Using an ArcGIS Server.Net version 10

Using an ArcGIS Server.Net version 10 Using an ArcGIS Server.Net version 10 Created by Vince DiNoto Vince.dinoto@kctcs.edu Contents Concept... 2 Prerequisites... 2 Data... 2 Process... 3 Creating a Service... 3 Down Loading Shapefiles... 3

More information

JavaServer 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 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 information

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006 Computer Science E-1 Understanding Computers and the Internet Lecture 10: Website Development Wednesday, 29 November 2006 David J. Malan malan@post.harvard.edu 1 Agenda Webservers Structure Permissions

More information

At the Forge RJS Templates Reuven M. Lerner Abstract The power of Ajax to fetch and run JavaScript generated by your server-side language. The past few months, I've written a number of articles in this

More information

Project 3 CIS 408 Internet Computing

Project 3 CIS 408 Internet Computing Problem 1: Project 3 CIS 408 Internet Computing Simple Table Template Processing with Java Script and DOM This project has you run code in your browser. Create a file TableTemplate.js that implements a

More information

Visual Web Tools Reference Guide. ISBN: Publication date:

Visual Web Tools Reference Guide. ISBN: Publication date: Visual Web Tools Reference Guide ISBN: Publication date: Visual Web Tools Reference Guide 1. Visual Web Tools... 1.1. Key Features of Visual Web Tools... 1.2. Other relevant resources on the topic... 2.

More information

-struts_annotation_bootstrap Estrutura do preojeto... LIBS: asm-3.3.jar asm-commons-3.3.jar commons-fileupload-1.3.jar commons-io-2.0.1.jar commons-lang-2.4.jar commons-lang3-3.1.jar freemarker-2.3.19.jar

More information

Session 8. Introduction to Servlets. Semester Project

Session 8. Introduction to Servlets. Semester Project Session 8 Introduction to Servlets 1 Semester Project Reverse engineer a version of the Oracle site You will be validating form fields with Ajax calls to a server You will use multiple formats for the

More information

map1.html 1/1 lectures/8/src/

map1.html 1/1 lectures/8/src/ map1.html 1/1 3: map1.html 5: Demonstrates a "hello, world" of maps. 7: Computer Science E-75 8: David J. Malan 9: 10: --> 1 13:

More information

Discovery Service Infrastructure for Test- bädden

Discovery Service Infrastructure for Test- bädden Discovery Service Infrastructure for Test- bädden för EID 2.0 Implementation guidelines Version 0.70 2013-04-24 This document describes the discovery service infrastructure for testbädden for EID 2.0 and

More information

Wicket and Aida/Web Brief Comparison

Wicket and Aida/Web Brief Comparison Wicket and Aida/Web Brief Comparison Jaroslav Havlín ČVUT FEL Subject X36ASS Introduction The aim of this project is to design a simple reservation system for a small restaurant and to implement it twice,

More information

Generation 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 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 information

First, create a web page with a submit button on it (remember from creating forms in html?):

First, create a web page with a submit button on it (remember from creating forms in html?): Changing Style So far we have only done a little with changing the style of a web page. JavaScript lets us do that as well. We can call a function that allows us to change the style of one or many elements

More information

HTML Overview. With an emphasis on XHTML

HTML 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 information

<tr><td>last Name </td><td><input type="text" name="shippingaddress-last-name"

<tr><td>last Name </td><td><input type=text name=shippingaddress-last-name // API Setup Parameters $gatewayurl = 'https://secure.payscout.com/api/v2/three-step'; $APIKey = '2F822Rw39fx762MaV7Yy86jXGTC7sCDy'; // If there is no POST data or a token-id, print the initial Customer

More information

JSF 2.0 Cookbook. Over 100 simple but incredibly effective recipes for taking control of your JSF applications. Anghel Leonard BIRMINGHAM - MUMBAI

JSF 2.0 Cookbook. Over 100 simple but incredibly effective recipes for taking control of your JSF applications. Anghel Leonard BIRMINGHAM - MUMBAI JSF 2.0 Cookbook Over 100 simple but incredibly effective recipes for taking control of your JSF applications Anghel Leonard BIRMINGHAM - MUMBAI JSF 2.0 Cookbook Copyright 2010 Packt Publishing All rights

More information

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Internet 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 information

Advanced Web Technologies 8) Facelets in JSF

Advanced 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 information

Using htmlarea & a Database to Maintain Content on a Website

Using htmlarea & a Database to Maintain Content on a Website Using htmlarea & a Database to Maintain Content on a Website by Peter Lavin December 30, 2003 Overview If you wish to develop a website that others can contribute to one option is to have text files sent

More information

Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

Page Language=C# AutoEventWireup=true CodeFile=Default.aspx.cs Inherits=_Default %> در این مقاله قصد داریم با استفاده از Ajax کاربر یک پیام را بدون الگین شدن و با استفاده از IP بتواند الیک و یا دیس الیک کند را در ASPآموزش دهیم. برای شروع یک بانک اطالعاتی به نام Test که حاوی دو جدول به

More information

Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013

Extensible 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 information

Part A Short Answer (50 marks)

Part A Short Answer (50 marks) Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to

More information

LINQ as Language Extensions

LINQ as Language Extensions (Language Integrated Query) The main Topics in this lecture are: What is LINQ? Main Advantages of LINQ. Working with LINQ in ASP.Net Introduction: Suppose you are writing an application using.net. Chances

More information

How I Learned to Stop Worrying and Love the KSS

How 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 information

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery. HTML5/CSS3/JavaScript Programming Course Summary Description This class is designed for students that have experience with basic HTML concepts that wish to learn about HTML Version 5, Cascading Style Sheets

More information

INTRANET. EXTRANET. PORTAL.

INTRANET. 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 information

utidylib Documentation Release 0.4

utidylib Documentation Release 0.4 utidylib Documentation Release 0.4 Michal Čihař Nov 01, 2018 Contents 1 Installing 3 2 Contributing 5 3 Running testsuite 7 4 Building documentation 9 5 License 11 6 Changes 13 6.1 0.5....................................................

More information

Computer Science nd Exam Prof. Papa Tuesday, April 28, 2016, 6:00pm 7:20pm

Computer Science nd Exam Prof. Papa Tuesday, April 28, 2016, 6:00pm 7:20pm Computer Science 571 2 nd Exam Prof. Papa Tuesday, April 28, 2016, 6:00pm 7:20pm Name: Student ID Number: 1. This is a closed book exam. 2. Please answer all questions on the test Frameworks and Agile

More information

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/ home.php 1/1 3: * home.php 5: * A simple home page for these login demos. 6: * David J. Malan 8: * Computer Science E-75 9: * Harvard Extension School 10: */ 11: // enable sessions 13: session_start();

More information

Coding Menggunakan software Eclipse: Mainactivity.java (coding untuk tampilan login): package com.bella.pengontrol_otomatis;

Coding Menggunakan software Eclipse: Mainactivity.java (coding untuk tampilan login): package com.bella.pengontrol_otomatis; Coding Menggunakan software Eclipse: Mainactivity.java (coding untuk tampilan login): package com.bella.pengontrol_otomatis; import android.app.activity; import android.os.bundle; import android.os.countdowntimer;

More information

Header. Report Section. Footer

Header. 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 information

sessionx Desarrollo de Aplicaciones en Red EL (2) EL (1) Implicit objects in EL Literals José Rafael Rojano Cáceres

sessionx Desarrollo de Aplicaciones en Red EL (2) EL (1) Implicit objects in EL Literals José Rafael Rojano Cáceres sessionx Desarrollo de Aplicaciones en Red José Rafael Rojano Cáceres http://www.uv.mx/rrojano EL Expression Language Write the code in something else, just let EL call it. EL () EL stand for Expression

More information

COMP REST Programming in Eclipse

COMP REST Programming in Eclipse COMP 4601 REST Programming in Eclipse 1 The Context Need to understand how to pass objects between a client and server. Using JAXB In the following slides, code is taken from the COMP4601SecondBank and

More information

Thu 10/26/2017. Created RESTful Web Service, JavaDB, Java Persistence API, Glassfish server in NetBeans 8

Thu 10/26/2017. Created RESTful Web Service, JavaDB, Java Persistence API, Glassfish server in NetBeans 8 Created RESTful Web Service, JavaDB, Java Persistence API, Glassfish server in NetBeans 8 1 tutorial at http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/restfulwebservices/restfulwebservices.htm

More information

REST AND AJAX. Introduction. Module 13

REST AND AJAX. Introduction. Module 13 Module 13 REST AND AJAX Introduction > Until now we have been building quite a classic web application: we send a request to the server, the server processes the request, and we render the result and show

More information

1. ArrayList and Iterator in Java

1. ArrayList and Iterator in Java 1. ArrayList and Iterator in Java Inserting elements between existing elements of an ArrayList or Vector is an inefficient operation- all element after the new one must be moved out of the way which could

More information

CIW 1D CIW JavaScript Specialist.

CIW 1D CIW JavaScript Specialist. CIW 1D0-635 CIW JavaScript Specialist http://killexams.com/exam-detail/1d0-635 Answer: A QUESTION: 51 Jane has created a file with commonly used JavaScript functions and saved it as "allfunctions.js" in

More information

Cordova - Guide - Custom Plugins

Cordova - Guide - Custom Plugins Cordova - Guide - Custom Plugins Dr Nick Hayward A brief overview of custom plugin development for Cordova. Contents intro structure and design architecture - Android architecture - cross-platform Plugman

More information

(from Chapter 5 & 25.6 of the text)

(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 information

Insert Data into Table using C# Code

Insert Data into Table using C# Code Insert Data into Table using C# Code CREATE TABLE [registration]( [roll_no] [int] NULL, [name] [varchar](50), [class] [varchar](50), [sex] [varchar](50), [email] [varchar](50))

More information