Alloy Ajax in Liferay Portlet
|
|
- Darren Woods
- 5 years ago
- Views:
Transcription
1 Alloy Ajax in Liferay Portlet Liferay serveresource and alloy aui-io-request module made Ajax easy to implement in Liferay Portlet. If you have basic knowledge of Ajax and you want to learn how ajax call happens by Alloy A.io.requestmethod then this article can help you to understand inside out. At the end of this article you will be able to know how A.io.request works and what s the role of serveresource method to implement Ajax. New to Ajax? i) AJAX stands for Asynchronous JavaScript and XML. ii) AJAX is not a new programming language.its new way to use existing standards. iii) Using AJAX we can exchange data with server and update a portion of web page without reloading the whole page. iv) In Portlet Application serveresource is the method which provides data like JSON, XML as response 1.Ajax call with minimum code <%@ taglib uri=" prefix="portlet" %> <%@ taglib uri=" prefix="theme" %> <%@ taglib uri=" prefix="aui" %> <theme:defineobjects/> <portlet:defineobjects /> <portlet:resourceurl var="resourceurl"/> A.io.request('<%=resourceURL.toString()%>'); ); <input type="button" value="click" onclick="callserveresource()">
2 The above code should call the below method of your portlet System.out.println("#############AJAX CALL####################"); Note 1: We are just creating a resource URL by <portlet:resourceurl var= resourceurl /> Note 2: A.io.request is the JavaScript alloy function which needs a URL for AJAX call. Note 3: Print something in your serveresource method to check whether its really calling serveresource method or not. 2.Send some data to serveresource method by Ajax call <portlet:resourceurl var="resourceurl"/> data: { site: ' author: 'Hamidul Islam' ); ); <input type="button" value="click" onclick="callserveresource()"> In the above code we are sending two parameters site and author to serveresource method. You can read these two parameters in your serveresource method as below * Read data sent by AJAX String site = ParamUtil.getString(resourceRequest, "site"); String author = ParamUtil.getString(resourceRequest, "author"); System.out.println("The value of site parameter sent by AJAX "+site); System.out.println("The value of author parameter sent by AJAX "+author); Problem: You might be thinking that you can read the posted data or parameters in your serveresource method without any problem. But serveresource method will ignore any parameters without namespace. Therefore you get nothing in your serveresource method. There are two solutions for it. Solution 1: Append <portlet:namespace /> to the parameter. With this approach your data should look like this data: { <portlet:namespace />site: ' <portlet:namespace />author: 'Hamidul Islam'
3 Solution 2: In the above solution the code does not look so good. To avoid this add the below two lines in your liferayportlet.xml <requires-namespaced-parameters>false</requires-namespaced-parameters> <ajaxable>true</ajaxable> Therefore your liferay-portlet.xml should look like below <portlet> <portlet-name>alloy-ajax-demo</portlet-name> <icon>/icon.png</icon> <requires-namespaced-parameters>false</requires-namespaced-parameters> <ajaxable>true</ajaxable> <header-portlet-css>/css/main.css</header-portlet-css> <footer-portlet-javascript>/js/main.js</footer-portlet-javascript> <css-class-wrapper>alloy-ajax-demo-portlet</css-class-wrapper> </portlet> In this approach you no need to append <portlet:namespace /> to the parameters 3.Submit form data by Ajax You can submit the whole form data by ajax. You just need to mention your form ID that you want to submit. In the below code we are submitting form data by form ID fm taglib uri=" prefix="portlet" %> taglib uri=" prefix="theme" %> taglib uri=" prefix="aui" %> <theme:defineobjects/> <portlet:defineobjects /> <portlet:resourceurl var="resourceurl"/> form: { id: 'fm' ); ); Full Name:<input type="text" name="fullname"/> Age:<input type="text" name="age"/> <input type="button" value="submit Form Data" onclick="callserveresource()"> Read submitted form data as below * Read form data sent by AJAX String fullname = ParamUtil.getString(resourceRequest, "fullname"); String age = ParamUtil.getString(resourceRequest, "age"); System.out.println("The value of fullname "+fullname); System.out.println("The value of age "+age);
4 4.Receive data from server Till now we have seen only how to submit data by AJAX. We can also receive data from server. In the below code we will send id to serveresource method and serveresource will send back the full name of the user matching with the id. form: { id: 'fm', on: { success: function() { alert(this.get('responsedata')); ); ); Full Name:<input type="text" name=" address"/> <input type="button" value="submit Form Data" onclick="callserveresource()"> serveresource: * Read form data sent by AJAX Long companyid = CompanyThreadLocal.getCompanyId(); String address = ParamUtil.getString(resourceRequest, " address"); User user = null; try { user = UserLocalServiceUtil.getUserBy Address(companyId, address); catch (PortalException e) { catch (SystemException e) { resourceresponse.setcontenttype("text/html"); PrintWriter writer = resourceresponse.getwriter(); if(user == null){ writer.print("no matching with the ID"); else{ writer.print("matches id. The full name of the user: "+ user.getfullname()); writer.flush(); writer.close(); 5.Read JSON Data sent by server serveresource method also can generate JSON data. With Alloy you can read JSON data easily. Below is the code datatype: 'json', form: { id: 'fm'
5 , on: { success: function() { alert(this.get('responsedata').fullname); ); ); Full Name:<input type="text" name=" address"/> <input type="button" value="submit Form Data" onclick="callserveresource()"> serveresource: * Read form data sent by AJAX Long companyid = CompanyThreadLocal.getCompanyId(); String address = ParamUtil.getString(resourceRequest, " address"); User user = null; try { user = UserLocalServiceUtil.getUserBy Address(companyId, address); catch (PortalException e) { catch (SystemException e) { resourceresponse.setcontenttype("text/html"); PrintWriter writer = resourceresponse.getwriter(); JSONObject jsonobject = JSONFactoryUtil.createJSONObject(); if(user == null){ jsonobject.put("fullname", "No matching with the ID"); else{ jsonobject.put("fullname", "Matches id. The full name of the user: "+user.getfullname()); writer.print(jsonobject.tostring()); writer.flush(); writer.close(); Call back function: You have seen only success as call back function till now. However this is not only the call back function. Here is the full list 1. start 2. complete 3. success 4.failure 5.end We can assume that these are Life Cycle methods of Alloy Ajax Call. You can mention all the call back function like success. Tips: 1. Reuse of ajax connection
6 You can define an ajax connection once and reuse multiple times. For example var ajaxrequest = A.io.request( <%=resourceurl.tostring()%> ); Later on you can use the connection as bellow ajaxrequest.start(); 2. autoload: false autoload: false is used when you want to define only the ajax connection but not to call it for the first time. Later on you can use this connection var ajaxrequest = A.io.request( <%=resourceurl.tostring()%>, { ); autoload: false, 3. Set property or call methods dynamically for the ajax connection Once you have ajax connection variable you can set different property like ajaxrequest.start(); ajaxrequest.stop(); ajaxrequest.set( uri, some url ); ajaxrequest.set( datatype, xml ); ajaxrequest.set( method, GET ); ajaxrequest.set( cache, false);
Contents. Demos folder: Demos\14-Ajax. 1. Overview of Ajax. 2. Using Ajax directly. 3. jquery and Ajax. 4. Consuming RESTful services
Ajax Contents 1. Overview of Ajax 2. Using Ajax directly 3. jquery and Ajax 4. Consuming RESTful services Demos folder: Demos\14-Ajax 2 1. Overview of Ajax What is Ajax? Traditional Web applications Ajax
More informationUSE OF EXPANDO API IN LIFERAYS
USE OF EXPANDO API IN LIFERAYS By Akaram siddiqui contact@attuneuniversity.com www.attuneuniversity.com Expando Api In Liferay the Expando service is a "generic" service which allows you to dynamically
More informationAdvanced Software Engineering
Agent and Object Technology Lab Dipartimento di Ingegneria dell Informazione Università degli Studi di Parma Advanced Software Engineering JSR 168 Prof. Agostino Poggi JSR 168 Java Community Process: http://www.jcp.org/en/jsr/detail?id=168
More informationClient Side JavaScript and AJAX
Client Side JavaScript and AJAX Client side javascript is JavaScript that runs in the browsers of people using your site. So far all the JavaScript code we've written runs on our node.js server. This is
More informationJSR-286: Portlet Specification 2.0
JSR-286: Portlet Specification 2.0 for Portal and Portlet Developers Ate Douma Apache Software Foundation Member Apache Portals and Apache Wicket Committer & PMC Member JSR-286 & JSR-301 Expert Group Member
More informationAJAX and JSON. Day 8
AJAX and JSON Day 8 Overview HTTP as a data exchange protocol Components of AJAX JSON and XML XMLHttpRequest Object Updating the HTML document References Duckett, chapter 8 http://www.w3schools.com/ajax/default.asp
More informationAjax DWR dojo In WebSphere Portal
Ajax DWR dojo In WebSphere Portal 1 / 24 Review History Version Date Author Change Description 1.0a 10-Feb-09 Imtiaz B Syed New Document 1.0 10-Feb-09 Chaitanya P Paidipalli Review 2 / 24 Introduction
More informationHTTP Communication on Tizen
HTTP Communication on Tizen 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 sdkim777@gmail.com
More informationAdvanced Web Systems 4- PORTLET API specifications (JSR 286) A. Venturini
Advanced Web Systems 4- PORTLET API specifications (JSR 286) A. Venturini Contents Summary from jsr 168 Needs addressed by JSR 286 Analysis of the Portlet API specification JSR-168 Portlet API Portlet
More informationWeb Application Security
Web Application Security Rajendra Kachhwaha rajendra1983@gmail.com September 23, 2015 Lecture 13: 1/ 18 Outline Introduction to AJAX: 1 What is AJAX 2 Why & When use AJAX 3 What is an AJAX Web Application
More informationPORTIONS (PORTlet actions) User Guide
PORTIONS (PORTlet actions) User Guide Controller Specification of the application's controller portlet.xml
More informationA.A. 2008/09. What is Ajax?
Internet t Software Technologies AJAX IMCNE A.A. 2008/09 Gabriele Cecchetti What is Ajax? AJAX stands for Asynchronous JavaScript And XML. AJAX is a type of programming made popular in 2005 by Google (with
More informationBirkbeck (University of London)
Birkbeck (University of London) MSc Examination Department of Computer Science and Information Systems Internet and Web Technologies (COIY063H7) 15 Credits Date of Examination: 20 May 2015 Duration of
More informationIT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://
IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : 070-480 Title : Programming in HTML5 with JavaScript and CSS3 Version : Demo 1 / 6 1. Topic 1, Volume
More informationJavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How!
TS-6824 JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How! Brendan Murray Software Architect IBM http://www.ibm.com 2007 JavaOne SM Conference Session TS-6824 Goal Why am I here?
More informationImplementing JSR 168 inter-portlet communication using Rational Application Developer V6.0 and WebSphere Portal V5.1
Implementing JSR 168 inter-portlet communication using Rational Application Developer V6.0 and WebSphere Portal V5.1 Level: Intermediate Asim Saddal (mailto:asaddal@us.ibm.com) Senior IT Specialist, IBM
More informationCSC 337. JavaScript Object Notation (JSON) Rick Mercer
CSC 337 JavaScript Object Notation (JSON) Rick Mercer Why JSON over XML? JSON was built to know JS JSON JavaScript Object Notation Data-interchange format Lightweight Replacement for XML It's just a string
More informationLIFERAY 6.1 CERTIFICATION, PROFESSIONAL DEVELOPER.
LIFERAY 6.1 CERTIFICATION, PROFESSIONAL DEVELOPER http://www.liferay.com/es/documentation/liferay-portal/6.1/development/ Félix Glez 2014 INDEX INDEX... 1 PORTLET DEVELOPMENT 20%... 5 JSR-286... 5 Phases...
More informationJquery Ajax Json Php Mysql Data Entry Example
Jquery Ajax Json Php Mysql Data Entry Example Then add required assets in head which are jquery library, datatable js library and css By ajax api we can fetch json the data from employee-grid-data.php.
More informationAdvanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration
Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration 2012 IBM Corporation Ideas behind this session Broaden the discussion when considering
More informationIN Development in Platform Ecosystems Lecture 3: json, ajax, APIs
IN5320 - Development in Platform Ecosystems Lecture 3: json, ajax, APIs 3rd of September 2018 Department of Informatics, University of Oslo Magnus Li - magl@ifi.uio.no 1 Today s lecture 1. Objects and
More informationAJAX. Ajax: Asynchronous JavaScript and XML *
AJAX Ajax: Asynchronous JavaScript and XML * AJAX is a developer's dream, because you can: Read data from a web server - after the page has loaded Update a web page without reloading the page Send data
More informationA synchronous J avascript A nd X ml
A synchronous J avascript A nd X ml The problem AJAX solves: How to put data from the server onto a web page, without loading a new page or reloading the existing page. Ajax is the concept of combining
More informationCopyright Descriptor Systems, Course materials may not be reproduced in whole or in part without prior written consent of Joel Barnum
Ajax The notion of asynchronous request processing using the XMLHttpRequest object has been around for several years, but the term "AJAX" was coined by Jesse James Garrett of Adaptive Path. You can read
More informationHuman-Computer Interaction Design
Human-Computer Interaction Design COGS120/CSE170 - Intro. HCI Instructor: Philip Guo Lab 6 - Connecting frontend and backend without page reloads (2016-11-03) by Michael Bernstein, Scott Klemmer, and Philip
More informationHTTP Communication on Tizen (Tizen Ver. 2.3)
HTTP Communication on Tizen (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 informationAt the Forge Prototype Reuven M. Lerner Abstract Prototype eases the burden of using JavaScript in Ajax. During the last few months, we have looked at ways to use JavaScript, a version of which is included
More informationPaul Withers Intec Systems Ltd By Kind Permission of Matt White and Tim Clark
XPages Blast Paul Withers Intec Systems Ltd By Kind Permission of Matt White and Tim Clark Lead Developer at Matt White Creators of IdeaJam and IQJam Creator of XPages101.net Founder member of the LDC
More informationAjax. David Matuszek's presentation,
Ajax David Matuszek's presentation, http://www.cis.upenn.edu/~matuszek/cit597-2007/index.html Oct 20, 2008 The hype Ajax (sometimes capitalized as AJAX) stands for Asynchronous JavaScript And XML Ajax
More informationProgramming in HTML5 with JavaScript and CSS3
www.dumpspdf.com Microsoft 70-480 Programming in HTML5 with JavaScript and CSS3 Version: Demo 20.0 QUESTION NO: 1 You are in the process of creating a client web form for ABC.com. The form contains an
More informationAt 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 informationENRICHING PRIMO RECORDS WITH INFORMATION FROM WORDPRESS. Karsten Kryger Hansen Aalborg University Library
ENRICHING PRIMO RECORDS WITH INFORMATION FROM WORDPRESS Karsten Kryger Hansen Aalborg University Library AGENDA Who am I History and use case Information distribution Detour: HTML, JavaScript etc. in Primo
More informationPortlets (JSR-168) Dave Landers. BEA Systems, Inc. Dave Landers Portlets (JSR-168)
Portlets (JSR-168) Dave Landers BEA Systems, Inc. dave.landers@4dv.net dave.landers@bea.com Page 1 Agenda Introduction Concepts Portals, Portlets, WebApps The Basics API, Modes, States, Lifecycle of a
More informationUsing XML and RDBMS Data Sources in XPages Paul T. Calhoun NetNotes Solutions Unlimited, Inc
Using XML and RDBMS Data Sources in XPages Paul T. Calhoun NetNotes Solutions Unlimited, Inc 2010 by the individual speaker Sponsors 2010 by the individual speaker Speaker Information Independent Consultant,
More informationAJAX and PHP AJAX. Christian Wenz,
AJAX and PHP Christian Wenz, AJAX A Dutch soccer team A cleaner Two characters from Iliad A city in Canada A mountain in Colorado... Asynchronous JavaScript + XML 1 1 What is AJAX?
More information<form>. input elements. </form>
CS 183 4/8/2010 A form is an area that can contain form elements. Form elements are elements that allow the user to enter information (like text fields, text area fields, drop-down menus, radio buttons,
More informationModule 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains 2 components
Module 5 JavaScript, AJAX, and jquery Module 5 Contains 2 components Both the Individual and Group portion are due on Monday October 30 th Start early on this module One of the most time consuming modules
More informationAJAX. Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11. Sérgio Nunes
AJAX Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11 Sérgio Nunes Server calls from web pages using JavaScript call HTTP data Motivation The traditional request-response cycle in web applications
More informationWorking Bootstrap Contact form with PHP and AJAX
Working Bootstrap Contact form with PHP and AJAX Tutorial by Ondrej Svestka Bootstrapious.com Today I would like to show you how to easily build a working contact form using Boostrap framework and AJAX
More informationDC71 INTERNET APPLICATIONS DEC 2014
Q.2 a. What are the Core Attributes of XHTML elements? Id - Uniquely identifies the element in a page. All ids in a document must be distinct. Among other uses, a URL ending in #some id can lead directly
More informationPortlets and Ajax: Building More Dynamic Web Apps
Portlets and Ajax: Building More Dynamic Web Apps Subbu Allamaraju Senior Staff Engineer BEA Systems, Inc. TS-4003 2007 JavaOne SM Conference Session TS-4003 Goals Goals of the of Session the Session Learn
More informationExam Questions
Exam Questions 200-550 Zend Certified PHP Engineer https://www.2passeasy.com/dumps/200-550/ 1. How many elements does the array $pieces contain after the following piece of code has been executed? $pieces
More informationWWW. HTTP, Ajax, APIs, REST
WWW HTTP, Ajax, APIs, REST HTTP Hypertext Transfer Protocol Request Web Client HTTP Server WSGI Response Connectionless Media Independent Stateless Python Web Application WSGI : Web Server Gateway Interface
More informationSession 11. Calling Servlets from Ajax. Lecture Objectives. Understand servlet response formats
Session 11 Calling Servlets from Ajax 1 Lecture Objectives Understand servlet response formats Text Xml Html JSON Understand how to extract data from the XMLHttpRequest object Understand the cross domain
More informationIt is highly recommended that you are familiar with HTML and JavaScript before attempting this tutorial.
AJAX About the Tutorial AJAX is a web development technique for creating interactive web applications. If you know JavaScript, HTML, CSS, and XML, then you need to spend just one hour to start with AJAX.
More informationIT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://
IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : LRP-614 Title : Portal Developer Version : DEMO 1 / 5 1.The method to define a column in a layout template
More informationLiferay Developer's Guide
Liferay Developer's Guide Liferay Developer's Guide Connor McKay, Editor Jorge Ferrer, Editor Copyright 2011 by Liferay, Inc. This work is offered under the Creative Commons Attribution-Share Alike Unported
More informationWeb Programming/Scripting: PHP and AJAX Refresher
CS 312 Internet Concepts Web Programming/Scripting: PHP and AJAX Refresher Dr. Michele Weigle Department of Computer Science Old Dominion University mweigle@cs.odu.edu http://www.cs.odu.edu/~mweigle/cs312-f11
More informationAJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages
AJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages AJAX = Asynchronous JavaScript and XML.AJAX is not a new programming language, but a new way to use existing standards. AJAX is
More informationIn this exercise we shall be using jsfiddle.net to build a simple data driven web site in HTML5. Building Blocks
Web Building Blocks In this exercise we are going to look at the four building blocks of the web: structure, style, content and action. This methodology forms the basis of a data driven web site. In this
More informationBeyond the Portlet API
Beyond the Portlet API (More) Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for WebSphere Ideas behind this session Broaden the discussion when
More informationAjax- XMLHttpResponse. Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of
Ajax- XMLHttpResponse XMLHttpResponse - A Read only field Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of XMLHttpRequest.responseType. This
More informationHyperlinks, Tables, Forms and Frameworks
Hyperlinks, Tables, Forms and Frameworks Web Authoring and Design Benjamin Kenwright Outline Review Previous Material HTML Tables, Forms and Frameworks Summary Review/Discussion Email? Did everyone get
More informationTutorials Php Y Jquery Mysql Database Without Refreshing Code
Tutorials Php Y Jquery Mysql Database Without Refreshing Code Code for Pagination using Php and JQuery. This code for pagination in PHP and MySql gets. Tutorial focused on Programming, Jquery, Ajax, PHP,
More informationStatic Webpage Development
Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for PHP Given below is the brief description for the course you are looking for: - Static Webpage Development Introduction
More informationXML. Jonathan Geisler. April 18, 2008
April 18, 2008 What is? IS... What is? IS... Text (portable) What is? IS... Text (portable) Markup (human readable) What is? IS... Text (portable) Markup (human readable) Extensible (valuable for future)
More information/ Introduction to XML
Introduction to XML XML stands for Extensible Markup Language. It is a text-based markup language derived from Standard Generalized Markup Language (SGML). XML tags identify the data and are used to store
More information"Charting the Course... WebSphere Portal 8 Development using Rational Application Developer 8.5. Course Summary
Course Summary Description This course will introduce attendees to Portlet development using Rational Application Developer 8.5 as their development platform. It will cover JSR 286 development, iwidget
More informationREST 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 informationTerm Paper. P r o f. D r. E d u a r d H e i n d l. H o c h s c h u l e F u r t w a n g e n U n i v e r s i t y. P r e s e n t e d T o :
Version: 0.1 Date: 02.05.2009 Author(s): Doddy Satyasree AJAX Person responsable: Doddy Satyasree Language: English Term Paper History Version Status Date 0.1 Draft Version created 02.05.2009 0.2 Final
More informationAccessing the Progress OpenEdge AppServer. From Progress Rollbase. Using Object Script
Accessing the Progress OpenEdge AppServer From Progress Rollbase Using Object Script Introduction Progress Rollbase provides a simple way to create a web-based, multi-tenanted and customizable application
More informationAJAX Programming Chris Seddon
AJAX Programming Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 What is Ajax? "Asynchronous JavaScript and XML" Originally described in 2005 by Jesse
More informationimport com.ibm.portal.portlet.service.impersonation.impersonationservice;
Filter Class: package com.ibm.impersonationwithfilter; import java.io.ioexception; import javax.naming.context; import javax.naming.initialcontext; import javax.naming.namingexception; import javax.portlet.portletexception;
More informationMultimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 07 Minor Subject
Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 07 Minor Subject Ludwig-Maximilians-Universität München Online Multimedia WS 2015/16 - Tutorial 06 (NF) - 1 Today s Agenda Recap AJAX
More informationUser Interaction: jquery
User Interaction: jquery Assoc. Professor Donald J. Patterson INF 133 Fall 2012 1 jquery A JavaScript Library Cross-browser Free (beer & speech) It supports manipulating HTML elements (DOM) animations
More informationAjax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be
More informationIT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://
IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : C2040-423 Title : IBM WebSphere Portal 8.5 Solution Development Version : DEMO 1 / 4 1.Isabel wants
More informationHTML Forms. By Jaroslav Mohapl
HTML Forms By Jaroslav Mohapl Abstract How to write an HTML form, create control buttons, a text input and a text area. How to input data from a list of items, a drop down list, and a list box. Simply
More informationActual4Test. Actual4test - actual test exam dumps-pass for IT exams
Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : LRP-614 Title : Portal Developer Vendor : Liferay Version : DEMO 1 / 4 Get Latest & Valid LRP-614 Exam's
More informationPart of this connection identifies how the response can / should be provided to the client code via the use of a callback routine.
What is AJAX? In one sense, AJAX is simply an acronym for Asynchronous JavaScript And XML In another, it is a protocol for sending requests from a client (web page) to a server, and how the information
More informationThe Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013
The Hypertext Markup Language (HTML) Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline HTML Structures Tables Forms New HTML5 Elements Summary HTML Tables 4 Tables Tables are created with
More informationNetworking & The Web. HCID 520 User Interface Software & Technology
Networking & The Web HCID 520 User Interface Software & Technology Uniform Resource Locator (URL) http://info.cern.ch:80/ 1991 HTTP v0.9 Uniform Resource Locator (URL) http://info.cern.ch:80/ Scheme/Protocol
More informationSession 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 informationLiferay Faces. Reference Documentation ga2
Liferay Faces Reference Documentation 3.1.1-ga2 Liferay Faces Copyright 2000-2012 Liferay, Inc. All rights reserved. Legal Notice Copyright 2000-2012 Liferay, Inc. All rights reserved. This copyrighted
More informationUsing Adobe Flex in JSR-286 Portlets
Using Adobe Flex in JSR-286 Portlets This article shall show you how the Adobe Flex SDK can be used in a Portal environment to enhance the user interface for a Portlet. It has also previously been possible
More informationSEEM4570 System Design and Implementation. Lecture 4 AJAX and Demo
SEEM4570 System Design and Implementation Lecture 4 AJAX and Demo Prerequisite Please follow lecture note 3 up to P. 19 to set up your app environment. We build everything on top of it. In index.html,
More informationPete Forde Partner, Unspace Interactive Toronto, ON January 9, 2007
TIFF (Uncompressed) decompressor are needed to see this picture. QuickTime and a TIFF (Uncompressed) decompressor are needed to see this picture. Pete Forde Partner, Unspace Interactive Toronto, ON January
More informationJinx Malware 2.0 We know it s big, we measured it! Itzik Kotler Yoni Rom
Jinx Malware 2.0 We know it s big, we measured it! Itzik Kotler Yoni Rom This is how your browser looks like before Jinx has loaded This is how your browser looks like after Jinx has loaded Did you see
More informationPRAjax PHP Reflected Ajax Developer Manual
PRAjax PHP Reflected Ajax Developer Manual Index PRAjax PHP Reflected Ajax... 1 Index... 2 What is PRAjax?... 3 PRAjax in short... 3 Schematic overview... 4 Introduction... 5 Requirements... 5 Installation...
More informationc122mar413.notebook March 06, 2013
These are the programs I am going to cover today. 1 2 Javascript is embedded in HTML. The document.write() will write the literal Hello World! to the web page document. Then the alert() puts out a pop
More informationLab 4: create a Facebook Messenger bot and connect it to the Watson Conversation service
Lab 4: create a Facebook Messenger bot and connect it to the Watson Conversation service Overview In this lab, you'll create advanced Node-RED flows that: Connect the Watson Conversation service to Facebook
More informationAJAX ASYNCHRONOUS JAVASCRIPT AND XML. Laura Farinetti - DAUIN
AJAX ASYNCHRONOUS JAVASCRIPT AND XML Laura Farinetti - DAUIN Rich-client asynchronous transactions In 2005, Jesse James Garrett wrote an online article titled Ajax: A New Approach to Web Applications (www.adaptivepath.com/ideas/essays/archives/000
More informationController/server communication
Controller/server communication Mendel Rosenblum Controller's role in Model, View, Controller Controller's job to fetch model for the view May have other server communication needs as well (e.g. authentication
More informationLiferay DXP profile for Dynatrace
Liferay DXP profile for Dynatrace This document provides description of Dynatrace profile created for monitoring of Liferay DXP installations. Version Liferay version Dynatrace Version Created by Created
More informationAjax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be
More information'Standard' JSON Recordset
Intro to jqgrid Part 2: Getting the Data Posted At : December 20, 2011 3:37 PM Posted By : Cutter Related Categories: jqgrid, Ajax, Development, JQuery, ColdFusion As I mentioned in an Intro to jqgrid,
More informationCMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB
CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 8 HTML Forms and Basic CGI Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you will
More informationChapter 1 - Model Driven Forms
Chapter 1 - Model Driven Forms Objectives This chapter includes the following model driven forms topics: Setup FormGroup initialization FormControl object Validation SubForms 1.1 Model Driven Forms Overview
More informationAJAX Programming Overview. Introduction. Overview
AJAX Programming Overview Introduction Overview In the world of Web programming, AJAX stands for Asynchronous JavaScript and XML, which is a technique for developing more efficient interactive Web applications.
More informationLesson 12: JavaScript and AJAX
Lesson 12: JavaScript and AJAX Objectives Define fundamental AJAX elements and procedures Diagram common interactions among JavaScript, XML and XHTML Identify key XML structures and restrictions in relation
More informationJavaScript CSCI 201 Principles of Software Development
JavaScript CSCI 201 Principles of Software Development Jeffrey Miller, Ph.D. jeffrey.miller@usc.edu Outline JavaScript Program USC CSCI 201L JavaScript JavaScript is a front-end interpreted language that
More information& ( ); INSERT INTO ( ) SELECT
Oracle apex array Craig is a Development Consultant at Explorer. Craig has an MSc in Computing Science and is an experienced software engineer, utilising development tools such as PL/SQL and APEX to provide
More informationBiocomputing II Coursework guidance
Biocomputing II Coursework guidance I refer to the database layer as DB, the middle (business logic) layer as BL and the front end graphical interface with CGI scripts as (FE). Standardized file headers
More informationUnified Task List. IBM WebSphere Portal V7.0 Review the hardware and software requirements Review the product documentation
Unified Task List Software requirements The information in this topic provides details about the software required to install or develop using the Unified Task List portlet. For information about supported
More informationIBM Realtests LOT-911 Exam Questions & Answers
IBM Realtests LOT-911 Exam Questions & Answers Number: LOT-911 Passing Score: 800 Time Limit: 120 min File Version: 35.4 http://www.gratisexam.com/ IBM LOT-911 Exam Questions & Answers Exam Name: IBM WebSphere
More informationPIC 40A. Review for the Final. Copyright 2011 Jukka Virtanen UCLA 1 06/05/15
PIC 40A Review for the Final 06/05/15 Copyright 2011 Jukka Virtanen UCLA 1 Overview Final is on: Monday, June 08, 2015 11:30 AM - 2:30 PM Geology 4645 Double check on myucla.edu. 06/05/15 Copyright Jukka
More informationKonaKart Tile Portlets for Liferay. 24th January DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK
KonaKart Tile Portlets for Liferay 24th January 2018 DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK 1 Table of Contents KonaKart Tile Portlets... 3 Creation of Portlets...
More informationAjax Application Design
Ajax Application Design Reuven M. Lerner Abstract Asynchronous is the operative word with Ajax, and here's what it's all about. During the past few months, I've used this column to explore a number of
More informationIBM C IBM WebSphere Portal 8.0 Solution Development. Download Full version :
IBM C9520-911 IBM WebSphere Portal 8.0 Solution Development Download Full version : http://killexams.com/pass4sure/exam-detail/c9520-911 QUESTION: 59 Bill is developing a mail portlet. One of the requirements
More informationVendor: Liferay. Exam Code: LRP-614. Exam Name: Liferay Certified Professional Developer. Version: Demo
Vendor: Liferay Exam Code: LRP-614 Exam Name: Liferay Certified Professional Developer Version: Demo QUESTION 1 The method to define a column in a layout template is: A. $layout.createcolumn() B. $layout.definecolumn()
More information