® IBM Software Group © 2006 IBM Corporation JSF Progress Bar This Learning Module shows how to integrate EGL/JSF functionality into a run-time progress.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

® IBM Software Group © 2006 IBM Corporation How to create Popup Pages using EGL/JSF This Learning Module shows how to utilize the RBDe tooling to create.
® IBM Software Group © 2006 IBM Corporation JSF dataTables – Basic Properties and Development Techniques Part I – of a 3-part section on the use of the.
A Proposed Model for GV Express October 2008 GREEN version.
Chapter 6 Photoshop and ImageReady: Part II The Web Warrior Guide to Web Design Technologies.
Excel Lesson 4 Entering Worksheet Formulas
WebDFS Budget Amendment and Personnel Processing.
Internet Technologies 1 Master of Information System Management Java Server Faces Model/View/Controller Design Pattern for Web Development Slides.
® IBM Software Group © 2006 IBM Corporation Additional AJAX Examples and Workshops This learning module provides additional AJAX use cases and examples.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Introductory CMS Training Welcome to the new Montana State University Content Management System!
Quick Start Guide. This 22 page introduction to the Financial Assessment Subsystem provides the user with a visual overview of the components of the system.
® IBM Software Group © 2006 IBM Corporation JSF Menu Component How to create and use JSF Menu components to add custom static and programmatic (dynamic)
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
® IBM Software Group © 2006 IBM Corporation How to read/write XML using EGL This Learning Module shows how to utilize an EGL Library to read/write an XML.
® IBM Software Group © 2006 IBM Corporation JSF Tab Controls This Learning Module shows how to develop server-side EGL applications with dynamic content.
CST JavaScript Validating Form Data with JavaScript.
® IBM Software Group © 2006 IBM Corporation Display contents of a Data Table in Excel right from the browser – No POI needed This section describes how.
® IBM Software Group © 2006 IBM Corporation Creating JSF/EGL Template Pages This section describes how to create.JTPL (Java Template Pages) using the Page.
® IBM Software Group © 2006 IBM Corporation JavaScript – and EGL and.JSP Pages This learning module describes the use of JavaScript in your EGL and.JSP.
PHP Tutorials 02 Olarik Surinta Management Information System Faculty of Informatics.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
Copyright 2007, Information Builders. Slide 1 Maintain & JavaScript: Two Great Tools that Work Great Together Mark Derwin and Mark Rawls Information Builders.
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
® IBM Software Group © 2006 IBM Corporation JSF Tree Control This Learning Module describes the use of the JSF Tree Control – for hierarchical organization.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
Getting Started with Moodle Getting Started Logging In Entering Your Address Viewing a Course Navigating Your Course’s Homepage Personalizing Your.
Moodle (Course Management Systems). Assignments 1 Assignments are a refreshingly simple method for collecting student work. They are a simple and flexible.
IE 411/511: Visual Programming for Industrial Applications
What is Museum Box? A Museum box is a way of presenting information that allows you to create a cube project that can be shared with others. You can use.
® IBM Software Group © 2006 IBM Corporation Programmatically Rendering and Hiding JSF Controls This section describes how to hide and show JSF controls.
Multi-Part Requests/ Parent & Child Service Items.
CSCI 6962: Server-side Design and Programming Introduction to Active Server Pages.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Productivity Programs Common Features and Commands.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Photo Story 3 Importing Pictures. When you create a new Photo Story, the first thing that you will do is import pictures. You can import pictures from.
Working with Elluminate Plan! ©2010 eTeacher LTD..
0 eCPIC User Training: Dependency Mapper These training materials are owned by the Federal Government. They can be used or modified only by FESCOM member.
How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
® IBM Software Group © 2006 IBM Corporation Individual Cell Coloring – in a JSF dataTable Control You may need to programmatically (using EGL) change the.
® IBM Software Group © 2006 IBM Corporation Using JSF Mini-Calendar Controls This section describes how to use a JSF Mini-Calendar Control with EGL It.
® IBM Software Group © 2006 IBM Corporation JSF File Upload Control This Learning Module describes the use of the JSF File Upload component – for allowing.
® IBM Software Group © 2006 IBM Corporation Web JSF Overview – RBD Tooling – for Web Development This unit introduces you to the aspects of the RBD tooling.
® IBM Software Group © 2006 IBM Corporation “Essential” JSF Components and EGL Bindings This Learning Module describes the foundation terms and concepts.
® IBM Software Group © 2006 IBM Corporation Finding Out Which Submit Button Was Clicked – and Other JSF Command Button Techniques This section describes.
® IBM Software Group © 2006 IBM Corporation JSF Panel – Section Controls This Learning Module shows how to develop server-side EGL applications with dynamic.
® IBM Software Group © 2006 IBM Corporation JSF Rich Text Area Component This Learning Module describes the use of the JSF Rich Text Area component – for.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Chapter 12© copyright Janson Industries Java Server Faces ▮ Explain the JSF framework ▮ SDO (service data objects) ▮ Facelets ▮ Pagecode classes.
® IBM Software Group © 2006 IBM Corporation Horizontally-Scroll-able DataTable How to create an area of your.JSP page, where dataTables can scroll (horizontally)
® IBM Software Group © 2006 IBM Corporation Dependent Combo-Box U.I. Development This Learning Module walks you through the options and development techniques.
Logical Operators.  Quiz  Let's look at the schedule  Logical Operators 2.
Learning Aim C.  In this section we will look at how text, tables, forms and frames can be used in web pages.
JavaScript, Third Edition 1 SELECTION LIST Demo. JavaScript, Third Edition 2 Description This web page will edit the slection to ensure an option was.
Section 10.1 Define scripting
Controller.
WikID installation/training
Modules State College of Florida
Together Let’s Design an Online Quiz
Building Web Applications
Conditionally Confirming a Submit
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
EVENT TITLE Time, Date Location
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
EVENT TITLE Time, Date Location
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
Presentation transcript:

® IBM Software Group © 2006 IBM Corporation JSF Progress Bar This Learning Module shows how to integrate EGL/JSF functionality into a run-time progress bar for a web page.

2 Progress Bar Workshop Many web applications have at least one process that could take more than a few seconds to return to the user. Especially common culprits are open-ended (and long-running) search pages, and functionality that accesses remote systems. To mitigate the impatience of certain classes of users (especially Type “A” personality users – you probably know a few), you could add a traditional progress bar, that displays the status of your server-side functionality in a graphic (see below).  Let’s create a page that utilizes a JSF progress bar. Below is a screenshot of what your page will look like when we complete this workshop.

3  Progress Bar Workshop – 1 of 3  First, create a new web page called progressBar.jsp and add the following header text to the top of your page (or something else representative of the functionality)   Once you’ve done that, from Enhanced Faces Components, drag a Progress Bar onto the page  It is found under the enhanced faces components drawer of the palette.  Once the progress bar is on the page, click on it and go to the Properties View. Check:  Do not display when page initially loads  This will make the bar initially hidden on page load

4  Progress Bar Workshop – 2 of 3  Copy the code in the slide ***Notes and completely replace the boiler plate page code. Notice the following function:  Note that the contents of this function are immaterial. In this workshop we implement the progress bar so that it will start counting and not stop until the page is returned (the function has finished executing). doLongServerSideProcess  Return to Page Designer, and your JSP and drag the “doLongServerSideProcess” function onto the screen to create a Submit Button.  Also add an Enhanced Faces Components: “Error Messages” control beneath the button  Notice the JSF Properties and options provided for the hx:progressBar  Update interval etc.

5  Progress Bar Workshop – 3 of 3  Next, click on the “doLongServerSideProcess” button and go to the “quick edit” view. From there add the following onClick event code.  This code sets the progress bar to visible, then tells it to start. The text passed to the start function will be displayed above the bar  When ready, run the page on the server. Experiment with the for/loop in the JSFHandler, to see different Progress Bar effects pb=hX.getComponentById('form1:bar1'); pb.visible(); pb.start('Please wait while your action is being executed on the server...');

6 Progress Bar Workshop – Optional  The page we just implemented is a very simple use case for the progress bar.  By setting the progress bar type to manual, you can adjust where the bar is through the below JavaScript code.  This can be achieved by using the following JavaScript code.  Take a look at the link in the notes section of the slide for more info on this function advancePB() { pb=hX.getComponentById('form1:bar2'); pb.upDatePercentage(pb.percentageDone + 5); pb.redraw(); } function resetPB() { pb=hX.getComponentById('form1:bar2'); pb.upDatePercentage(0); pb.redraw(); }