JavaScript Libraries User's Guide

Similar documents
Table of contents. DMXzone Colorpicker Manual DMXzone

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Overview... 7 Tabs... 8 Selected Tables... 8 Load Tables Button Selected Views... 8 Load Views Button Clear Selection Button...

X Generic Event Extension. Peter Hutterer

Open Source Used In Cisco Configuration Professional for Catalyst 1.0

Sensor-fusion Demo Documentation

MCAFEE THREAT INTELLIGENCE EXCHANGE RESILIENT THREAT SERVICE INTEGRATION GUIDE V1.0

Feed Cache for Umbraco Version 2.0

SopaJS JavaScript library package

Guest Book. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Elegans Documentation

XStatic Documentation

git-pr Release dev2+ng5b0396a

KonaKart Shopping Widgets. 3rd January DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK

RTI Connext DDS Core Libraries

Siebel Mobile Guide: Disconnected Siebel Innovation Pack 2014 Rev. A

Splunk. Splunk. Deployment Guide

Transparency & Consent Framework

Additional License Authorizations for HPE OneView for Microsoft Azure Log Analytics

Oracle Utilities Customer Self Service

Migration Tool. Migration Tool (Beta) Technical Note

FUJITSU Software Interstage AR Processing Server V1.0. Messages

Colgate, WI

Oracle Utilities Customer Self Service

FUJITSU Cloud Service K5 SF Restrictions / Advisory Notes. Version 1.5 FUJITSU LIMITED

FUJITSU Software Interstage Studio V11.1. Installation Guide

mp3fm Documentation Release Akshit Agarwal

ReportPlus Embedded Web SDK Guide

Tailor Documentation. Release 0.1. Derek Stegelman, Garrett Pennington, and Jon Faustman

Packet Trace Guide. Packet Trace Guide. Technical Note

Scanner Installation: Quick Start for Remote Deposit Complete

Enterprise Payment Solutions. Scanner Installation April EPS Scanner Installation: Quick Start for Remote Deposit Complete TM

Adobe Connect. Adobe Connect. Deployment Guide

Folder Poll General User s Guide

NDIS Implementation Guide

LoadMaster VMware Horizon (with View) 6. Deployment Guide

Spotter Documentation Version 0.5, Released 4/12/2010

Siebel Mobile Guide: Disconnected Siebel Innovation Pack 2016, Rev. C

Epic. Epic Systems. Deployment Guide

LANDISVIEW Beta v1.0-user Guide

RTXAGENDA v Use Manual. A program, free and easy to use, to modify your RT4 phonebook, on PC.

RTXAGENDA v Use Manual. A program, free and easy to use, to modify your RT4, RT5 or RT6 phonebook, on PC.

TWO-FACTOR AUTHENTICATION Version 1.1.0

HTML5 and CSS3 for Web Designers & Developers

Inptools Manual. Steffen Macke

Release Notes. Amster 5. ForgeRock AS 201 Mission St., Suite 2900 San Francisco, CA 94105, USA (US)

utidylib Documentation Release 0.4

NTLM NTLM. Feature Description

MASTERS COURSE IN FULL STACK WEB APPLICATION DEVELOPMENT W W W. W E B S T A C K A C A D E M Y. C O M

Firebase PHP SDK. Release

PHP-FCM Documentation

Mobile Admin GETTING STARTED GUIDE. Version 8.2. Last Updated: Thursday, May 25, 2017

Siebel Mobile Guide: Disconnected Siebel Innovation Pack 2015, Rev. D

VMware vcenter Log Insight Manager. Deployment Guide

SW MAPS TEMPLATE BUILDER. User s Manual

Moodle. Moodle. Deployment Guide

dublincore Documentation

deepatari Documentation

Hyper-V - Windows 2012 and 8. Virtual LoadMaster for Microsoft Hyper-V on Windows Server 2012, 2012 R2 and Windows 8. Installation Guide

TIBCO FTL Message Switch Release Notes

macos Fax Driver User's Guide

Dellve CuDNN Documentation

User s Guide for macos with Stata and R

sensor-documentation Documentation

Testworks User Guide. Release 1.0. Dylan Hackers

CA File Master Plus. Release Notes. Version

agate-sql Documentation

UX400. OpenUI5 Development Foundations COURSE OUTLINE. Course Version: 02 Course Duration: 5 Day(s)

Wowza Cloud Preview. Quick Start Guide. Copyright by Wowza Media Systems, LLC. All rights reserved.

MEAS HTU21D PERIPHERAL MODULE

Table of Contents. iii

KEMP Driver for Red Hat OpenStack. KEMP LBaaS Red Hat OpenStack Driver. Installation Guide

RSA Two Factor Authentication

Quick Start Guide. BlackBerry Workspaces app for Android. Version 5.0

BlackBerry Enterprise Service 10. September 10, 2014 Version: 10 and 10.1.x. Compatibility Matrix

iwrite technical manual iwrite authors and contributors Revision: 0.00 (Draft/WIP)

CS 4961 Senior Design. Planetary Surface Flyover Movie Generator. Software Design Specification

Bar Code Discovery. Administrator's Guide

UX/UI Controller Component

ClassPad Manager Subscription

DATAGATE MK2. Box Contents. Additional Features (licenses) Features. Safety

invenio-formatter Documentation

Installing Enterprise Switch Manager

User Guide. Calibrated Software, Inc.

PyCon APAC 2014 Documentation

Linkify Documentation

Trimble. ecognition. Release Notes

Siebel Mobile Guide: Connected Siebel 2018

ThingLink User Guide. Andy Chen Eric Ouyang Giovanni Tenorio Ashton Yon

Developing Ajax Web Apps with GWT. Session I

Tenable Hardware Appliance Upgrade Guide

MEAS TEMPERATURE SYSTEM SENSOR (TSYS01) XPLAINED PRO BOARD

How-to Guide SAP NetWeaver 04. Web Dynpro Themes. Version Applicable Releases: SAP NetWeaver 7.0

XEP-0099: IQ Query Action Protocol

inflection Documentation

XEP-0087: Stream Initiation

A Model-Controller Interface for Struts-Based Web Applications

Oracle FLEXCUBE Direct Banking UI Content Delivery Optimization Guide Release

ExaFMM. Fast multipole method software aiming for exascale systems. User's Manual. Rio Yokota, L. A. Barba. November Revision 1

Helix ALM Data Warehouse. User Guide Version

Transcription:

FUJITSU Software Interstage Application Server JavaScript Libraries User's Guide Windows/Solaris/Linux B1WS-1049-02ENZ0(00) November 2013

Preface Purpose of This Document This document provides information about the following JavaScript Libraries. - jquery Mobile - jquery UI Intended Readers This document is intended for users who will create and run applications using this framework. Registered trademarks Microsoft, Active Directory, ActiveX, Excel, Internet Explorer, MS-DOS, MSDN, Visual Basic, Visual C++, Visual Studio, Windows, Windows NT, Windows Server, and Win32 are trademarks or registered trademarks of Microsoft Corporation in the United States and other countries. Oracle and Java are registered trademarks of Oracle Corporation and its subsidiaries and affiliated companies in the United States and other countries. Company names and product names in this document may be trademarks or registered trademarks of their respective companies. Other trademarks and registered trademarks are generally trademarks or registered trademarks of their respective companies. Export Permissions Note that the permission of the Minister of Economy, Trade and Industry may be required in order to provide this document to a nonresident. Copyrights Copyright 2012-2013 FUJITSU LIMITED November 2013 Second Edition November 2012 First Edition - i -

Contents Chapter 1 jquery Mobile...1 1.1 Release Information...1 1.1.1 New Features and Enhancements...1 1.1.2 Information Related to Compatibility...1 1.2 Functionality Overview...1 1.3 How to Develop an Application Using jquery Mobile...2 1.3.1 Files Provided...2 1.3.2 How to Embed the Application...2 1.3.3 How to Create an HTML Page using jquery Mobile...3 1.4 API References...3 1.5 Method of Operation...3 1.6 Migration Method...3 1.7 Support List...3 1.8 Notes...4 1.9 Restrictions...4 1.10 Messages...4 1.11 FAQs...5 1.12 Samples...5 1.13 jquery License Terms...5 Chapter 2 jquery UI...6 2.1 Functionality Overview...6 2.2 How to Develop an Application Using jquery Mobile...6 2.2.1 Files Provided...6 2.2.2 How to Embed the Application...7 2.2.3 How to Create an HTML Page using jquery UI...8 2.3 API References...9 2.4 Method of Operation...9 2.5 Support List...9 2.6 Notes...9 2.7 Restrictions...9 2.8 Messages...10 2.9 jquery License Terms...10 - ii -

Chapter 1 jquery Mobile This chapter explains how to use jquery Mobile. 1.1 Release Information 1.1.1 New Features and Enhancements Functionality that has been added or enhanced since the previous version/level is explained below. Category Overview New feature Page List view Added a popup widget that pops up on the current page. - The list view can be expanded and collapsed. Accordion is also supported. - Added a feature to automatically insert delimiters in the list view. Yes Yes Content The icons and widths for collapsibles and collapsible sets can be customized. Slider Added sliderstart and sliderstop events. Yes Other Enhanced support for jquery 1.8.3. Yes 1.1.2 Information Related to Compatibility This section explains the functionalities that are incompatible with the previous version/level. Incompatible functionality Visual quality Enhanced the display so that the user can easily identify that it is "read-only". Improved the usability by enlarging the icons so that the user can tap them easier. Changed the default for the toolbar buttons to "mini". Enhanced the widths of the field container elements. 1.2 Functionality Overview jquery Mobile (JavaScript framework) is supported. With jquery Mobile, applications that support smart devices can be developed quickly and easily. ("Smart device" is a generic term for any device that has operability equivalent to that of a smartphone.) Features - Development is possible with only HTML knowledge While development is possible with only HTML knowledge, advanced customization can be achieved using JavaScript or CSS. - A large number of components are provided for smart devices Components such as toolbars, buttons and lists are provided out of the box. Just by combining these components with the HTML, applications can then be developed. - Cross-platform support Since smart devices and the browser are widely supported, a site that supports cross-platforms can easily be created. This product contains jquery Mobile1.2.0 and jquery 1.8.3. - 1 -

1.3 How to Develop an Application Using jquery Mobile 1.3.1 Files Provided The script files, style sheets and images shown below are provided. Files that have ".min" before the file extension are compressed version files, where spaces, line breaks and comments have been removed to reduce the file size. We recommend using these in the production environment. Files that do not have ".min" before the extension include spaces, line breaks and comments for readability, and can be used for development and debugging. Files provided jquery.mobile-1.2.0.js jquery.mobile-1.2.0.min.js jquery.mobile-1.2.0.css jquery.mobile-1.2.0.min.css jquery-1.8.3.js jquery-1.8.3.min.js images/ajax-loader.gif images/ajax-loader.png images/icons-18-black.png images/icons-18-white.png images/icons-36-black.png images/icons-36-white.png Description jquery Mobile script jquery Mobile script compressed version jquery Mobile style sheet jquery Mobile style sheet compressed version jquery script jquery script compressed version Image used in the style sheet Image used in the style sheet Image used in the style sheet Image used in the style sheet Image used in the style sheet Image used in the style sheet 1.3.2 How to Embed the Application jquery Mobile is embedded in the application (WAR/EAR) before being used. 1. Copy the <drive name>:\smartp\jquerymobile\runtime directory of this product media to the application directory (this is at the same level as the WEB-INF directory). 2. Insert the following between the HTML <head>-</head> tags: <link rel="stylesheet" href="runtime/jquery.mobile-1.2.0.min.css"/> <script src="runtime/jquery-1.8.3.min.js"> </script> <script src="runtime/jquery.mobile-1.2.0.min.js"> </script> 3. Package the HTML, JSP, and class files that were created. An example of the application directory structure is shown below. index.jsp /runtime/jquery.mobile-1.2.0.min.css /runtime/jquery-1.8.3.min.js /runtime/jquery.mobile-1.2.0.min.js /runtime/images/ajax-loader.gif /runtime/images/ajax-loader.png /runtime/images/icons-18-black.png /runtime/images/icons-18-white.png /runtime/images/icons-36-black.png /runtime/images/icons-36-white.png /WEB-INF/web.xml etc. - 2 -

1.3.3 How to Create an HTML Page using jquery Mobile For details on how to create an HTML page using jquery Mobile, refer to the "Demos and documentation" webpage (http:// jquerymobile.com/demos/1.2.0/) on the jquery Mobile website (http://jquerymobile.com/). 1.4 API References For details, refer to the "Demos and documentation" webpage (http://jquerymobile.com/demos/1.2.0/) on the jquery Mobile website (http://jquerymobile.com/). 1.5 Method of Operation For details, refer to the Java EE Operator's Guide, Java EE Operator's Guide (Java EE 6 Edition) and J2EE User's Guide. 1.6 Migration Method This section explains how to migrate jquery Mobile that was embedded in applications in the previous version to the latest jquery Mobile that is provided in this version. The application you are currently using will change; therefore it is recommended that you back up the application resources beforehand in case the migration fails. 1. Switch the runtime 1. Delete the runtime directory that is embedded directly under the application (on the same line as the WEB-INF directory). 2. Copy the <drive name>:\smartp\jquerymobile\runtime directory of this product media so that it is directly under the application. 2. Edit the application Edit the text between the HTML <head> and </head> tags as follows: <link rel="stylesheet" href="runtime/jquery.mobile-1.2.0.min.css"/> <script src="runtime/jquery-1.8.3.min.js"> </script> <script src="runtime/jquery.mobile-1.2.0.min.js"> </script> After the edit of the application is complete, package and then redeploy the application. 1.7 Support List Operating Environment Operations are supported in the environments shown below. Server Product name/edition/features Features Product name/edition Java EE 5 Java EE 6 J2EE Interstage Application Server Enterprise Edition V11.1 Yes Yes Yes Interstage Application Server Standard-J Edition V11.1 Yes Yes Yes Yes: Supported No: Unsupported Client Client Requirements The client works with a web browser that must support HTML5. Operating systems that are supported: - 3 -

Operating system version Android 2.3.4 Android 2.3.5 Android 3.2 Android 4.0.3 Android 4.0.4 Windows Phone 7.5 ios 5.1 Web browser Web browsers that are supported: Internet Explorer 9 and 10 Google Chrome 25.0.1364.97 m Firefox 19.0 1.8 Notes - This product supports jquery Mobile. However, this does not necessarily indicate that the jquery and jquery Mobile communities support this product. - The method of reading jquery Mobile-related files from the Contents Delivery Network (CDN) is not supported. For details on how to embed these files in the Web application, refer to 1.3 How to Develop an Application Using jquery Mobile. - Do not change the names of the files provided. - Do not change the content of the files provided. - When used with other components of this product, only web browsers or operating systems that have been tested to confirm the behavior of the component should be used. - The samples cannot be used for commercial/business purposes. - Because of the jquery Mobile specification, the elements that are displayed may be different depending on which platform (PC, operating system, web browser) is used. - Incompatibility may occur in the next version. 1.9 Restrictions J2EE components cannot be used. 1.10 Messages This page explains the cause of and action required to resolve the following messages that may occur when using jquery Mobile. Error Loading Page Cause The link destination information may be invalid. Action Check the link destination information, for example id, URL, or access privileges. Use a web browser that supports HTML5. Check the network status. - 4 -

1.11 FAQs This page explains the actions required to resolve the following problems that may occur when using jquery Mobile. Nothing is displayed in the web browser window Use a web browser that supports HTML5. 1.12 Samples The samples are stored under <drive name>:\smartp\jquerymobile\sample of this product media. For details on the samples, refer to the readme - this is bundled with the samples. - <drive name> \smartp\jquerymobile\sample\pizza\readme_e.html 1.13 jquery License Terms Copyright 2013 jquery Foundation and other contributors http://jquery.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - 5 -

Chapter 2 jquery UI This chapter explains how to use jquery UI. 2.1 Functionality Overview "jquery UI" is a library that provides a comprehensive set of "official" jquery plugin components including widgets, animations and advanced effects. Using jquery UI, it is possible to develop powerful web applications with advanced usability. Features - Easy to create pages that have a consistent design Using themes, it is easy to provide consistent page design even when using different widgets. - Enhanced window usability Methods that enhance usability are provided. - Enhanced jquery methods and animation The following jquery methods have been enhanced: -.show(),.hide() - Display and hide elements using custom effects -.position() - Determine the position of an element relative to another The following have been added as animation enhancements: - Color animation - Animation using the class attribute This product contains jquery UI 1.10.0 and jquery 1.8.3. 2.2 How to Develop an Application Using jquery Mobile 2.2.1 Files Provided Files that have ".min" before the extension are compressed version files, where spaces, line breaks, and comments have been removed in order to reduce the file size. It is recommended that these be used for operations. Files that do not have ".min" before the extension include spaces, line breaks, and comments for readability, and can be used for development and debugging. Directory File Description /smartp/jqueryui/runtime/js jquery-ui-1.10.0.custom.js jquery UI script /smartp/jqueryui/runtime/css/<theme directory name> (Note) /smartp/jqueryui/runtime/css/<theme directory name>/images (Note) jquery-ui-1.10.0.custom.min.js jquery-ui-i18n.js jquery-ui-i18n.min.js jquery-1.8.3.js jquery-1.8.3.min.js jquery-ui.css jquery.ui.theme.css *.png jquery UI script compressed version jquery UI datepicker multilingual support script jquery UI datepicker multilingual support script compressed version jquery script jquery script compressed version jquery UI style sheet jquery UI style sheet (part of jquery-ui.css) Images used in the style sheet Note: The theme directory names are shown below. - 6 -

Black Tie Blitzer Cupertino Dark Hive Dot Luv Eggplant Excite Bike Flick Hot Sneaks Humanity Le Frog Mint Choc Overcast Pepper Grinder Redmond Smoothness South Street Start Sunny Swanky Purse Trontastic UI darkness UI lightness Vader Theme name Directory name corresponding to the theme name black-tie blitzer cupertino dark-hive dot-luv eggplant excite-bike flick hot-sneaks humanity le-frog mint-choc overcast pepper-grinder redmond smoothness south-street start sunny swanky-purse trontastic ui-darkness ui-lightness vader 2.2.2 How to Embed the Application jquery UI is embedded in the application (WAR/EAR) before being used. 1) Copy the files 1. Create a "runtime" directory in the application directory (at the same level as the WEB-INF directory). 2. Copy the jquery and jquery UI JavaScript files that are in the <drive name>:smartp\jqueryui\runtime\js directory of this product media to the "runtime" directory that was created in Step 1. Note that the datepicker JavaScript should also be copied when datepicker is used. 3. If necessary, create a "css" directory in the "runtime" directory that was created in Step 1. 4. Copy the directory corresponding to the theme name that was used under the <drive name>:\smartp\jqueryui\runtime\css directory of this product media to runtime\css. - 7 -

2) Edit the HTML file Insert the following between the HTML <head> and </head> tags. <link rel="stylesheet" href="runtime/css/xxxx/jquery-ui.css"/> <script src="runtime/jquery-1.8.3.min.js"> </script> <script src="runtime/jquery-ui-1.10.0.custom.min.js "> </script> "xxxx" is the directory name that corresponds to the theme name. Note that, normally, only the jquery UI script and jquery script compressed versions should be used. 3) Package the files Package the HTML, JSP, and class files that were created. An example of the application directory structure is shown below. index.jsp /runtime/jquery-1.8.3.min.js /runtime/ jquery-ui-1.10.0.custom.min.js /runtime/css/xxxx/jquery-ui.css /runtime/css/xxxx/images/*.png /WEB-INF/web.xml etc. 2.2.3 How to Create an HTML Page using jquery UI For details on how to create an HTML page using jquery UI, refer to the "jquery UI Demos" webpage (http://jqueryui.com/demos/) on the jquery UI website (http://jqueryui.com/). - 8 -

2.3 API References For details, refer to the "jquery UI Documentation" webpage (http://api.jqueryui.com/) on the jquery UI website (http://jqueryui.com/). 2.4 Method of Operation For details, refer to the Java EE Operator's Guide, Java EE Operator's Guide (Java EE 6 Edition) and J2EE User's Guide. 2.5 Support List Operating Environment Operations are supported in the environments shown below. Server Product name/edition/features Features Product name/edition Java EE 5 Java EE 6 J2EE Interstage Application Server Enterprise Edition V11.1 Yes Yes Yes Interstage Application Server Standard-J Edition V11.1 Yes Yes Yes Yes: Supported No: Unsupported Client Client Requirements The client works with a web browser that must support HTML5. Web browsers that are supported: Internet Explorer 9 and 10 Google Chrome 25.0.1364.97 m Firefox 19.0 2.6 Notes - This product supports jquery UI. However, this does not necessarily indicate that the jquery and jquery UI communities support this product. - The method of reading jquery UI-related files from the Contents Delivery Network (CDN) is not supported. For details on how to embed these files in the Web application, refer to 2.2 How to Develop an Application Using jquery Mobile. - Do not change the names of the files provided. - Do not change the content of the files provided. - When used with other components of this product, only web browsers or operating systems that have been tested to confirm the behavior of the component should be used. - Because of the jquery UI specification, the elements that are displayed may be different depending on which platform (PC, operating system, web browser) is used. - Incompatibility may occur in the next version. 2.7 Restrictions J2EE components cannot be used. - 9 -

2.8 Messages No message is output when jquery UI is used. 2.9 jquery License Terms Copyright 2013 jquery Foundation and other contributors http://jquery.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - 10 -