® IBM Software Group © 2006 IBM Corporation JSF Tree Control This Learning Module describes the use of the JSF Tree Control – for hierarchical organization.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

1 Web Site Design Overview of the Internet Cookie Setton.
® 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.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
© by Pearson Education, Inc. All Rights Reserved.
Internet Technologies 1 Master of Information System Management Java Server Faces Model/View/Controller Design Pattern for Web Development Slides.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
® IBM Software Group © 2006 IBM Corporation Additional AJAX Examples and Workshops This learning module provides additional AJAX use cases and examples.
Dreamweaver Basics In this section you will learn how to:
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Introduction To Form Builder
Create a New Application and Project Open the Create Application dialog. Enter the application name of your choice and the directory. Select No Template.
® IBM Software Group © 2006 IBM Corporation JSF dataTables – Advanced use of Properties and Development Techniques Part III – of a 3-part section on the.
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
® IBM Software Group © 2006 IBM Corporation JSF Menu Component How to create and use JSF Menu components to add custom static and programmatic (dynamic)
® 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.
® 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.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
® IBM Software Group © 2006 IBM Corporation EGL Programming – Data Parts and Assignment Statements – 4 – Arrays These slides walk you through the terms.
Web Technologies Website Development Trade & Industrial Education
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
IE 411/511: Visual Programming for Industrial Applications
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Website Development with Dreamweaver
® IBM Software Group © 2006 IBM Corporation Programmatically Rendering and Hiding JSF Controls This section describes how to hide and show JSF controls.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
® IBM Software Group © 2006 IBM Corporation JSF/EGL Component Properties Deep Dive This section walks you through the options and settings for JSF Component.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Web Site Design Marion Setton
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
CSCI 6962: Server-side Design and Programming AJAX Tools in JSF and ASP.
® IBM Software Group © 2006 IBM Corporation Web JSF Overview – Internet “101” for EGL/JSF Developers This unit introduces you to the technical concepts.
Copyright 2007, Information Builders. Slide 1 Enhancing Maintain Applications with HTML Mark Derwin and Mark Rawls Information Builders.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
® IBM Software Group © 2006 IBM Corporation “Essential” HTML Tags and Page Development Techniques This Learning Module describes the standard HTML tags.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit H Collecting Data with HTML Forms.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit G Using Forms to Control Input.
® IBM Software Group © 2006 IBM Corporation JSF Progress Bar This Learning Module shows how to integrate EGL/JSF functionality into a run-time progress.
IReport Demo Spring 2008 OEDSA Conference. Report Properties.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
PHP Form Introduction Getting User Information Text Input.
® 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.
The Teacher Computing HTML HyperText Markup Language.
® 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.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
® 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.
® IBM Software Group © 2009 IBM CorporationLast Update: 5/27/2009 Setup Guide for the RUI EGL Distance Learning Course RBD v7.5.1 Workstation.
Creating and Editing a Web Page
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Positioning Objects with CSS and Tables
11 Getting Started with ASP.NET Beginning ASP.NET in C# and VB Chapters 1 and 2.
® IBM Software Group © 2006 IBM Corporation Dependent Combo-Box U.I. Development This Learning Module walks you through the options and development techniques.
DREAMWEAVER CS4  What’s New in Dreamweaver CS4? What’s New in Dreamweaver CS4?  Workspace in Dreamweaver CS4Workspace in Dreamweaver CS4  Opening and.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED FORMS.
® IBM Software Group © 2006 IBM Corporation EGL.CSV (Excel) File Reading and Writing This section describes how to access.CSV (Excel Spreadsheet) files.
® IBM Software Group © 2006 IBM Corporation Create EGL/JSF HelloWorld Pages This learning module walks you through the process of creating two simple “hello.
Dynamically Populating a Multiple Selection List Box
Presentation transcript:

® IBM Software Group © 2006 IBM Corporation JSF Tree Control This Learning Module describes the use of the JSF Tree Control – for hierarchical organization and display of information in a web page – static and dynamically bound.

2 Last update: 12/04/2007  OPTIONAL WORKSHOP – a Read/Only Tree Control  Related data can often best be shown in a nested control structure called a “tree control”. In version 7.0.x of RAD and RBD – you can create a read/only data rendering as shown below in the screen capture (it is assumed that subsequent releases will allow provide interactivity, and events/responses between the HTML browser and JSFHandler (server).  At the current release – you can do read-only data rendering. A few prerequisites:  You must be at or above the RBD and RAD product’s code release level  Follow the steps on the next set of slides to build a tree structure.

3 Last update: 12/04/2007  Using the JSF Tree Tag 1 of 5  Create a new web page named treePage.jsp  Add some text to the body  Under EGL Source, create a new package named “common”  Right click on common and create a new EGL source file called records  Copy/Paste the code in the notes section into records.egl

4 Last update: 12/04/2007  Using the JSF Tree Tag 2 of 5 – Creating the JSFHandler  Right click inside of treePage.jsp and click edit page code  Replace the entire boiler plate with the code in the notes section.  Back to the page view, open the enhanced faces components drawer from the Palette.  Drag a Data Tree onto the page  From within the Page Data view  Drag the myCompany record onto the Data Tree you just created

5 Last update: 12/04/2007  Using the JSF Tree Tag 3 of 5 – Configuring the Tree  Select the Data Tree and click the Properties tab   Show root node   Enable node selection   Display tree as table  Click the Add button three times to add columns  “Name”  “Project Status”  “Salary ($)”

6 Last update: 12/04/2007  Using the JSF Tree Tag 4 of 5 – Configuring the Tree  Still in the Properties tab, select the Tree Node List category.  Under Select the nodes to display - expand all the elements and select all checkboxes.  Select each node and ensure that name is selected for the “Label Value”  With projects selected, click add under column data and select “status” for the Attribute  With employees selected, click add twice under column data (leave the first one blank) and select “salary” for the second.

7 Last update: 12/04/2007  Using the JSF Tree Tag 5 of 5 – Change the Tree’s Appearance  Within the page view, click the source tab at the bottom of the window to display the page’s html code.  Add the code in the notes section of this slide into the “ ” section of treePage.jsp  Now when a node is selected (by clicking on it, not by selecting its checkbox), it will be  bold, red, and have a gray background.  When the cursor is over a node, its text will be  underlined, bold and blue  Run on Server and see how it looks!!

8 Last update: 12/04/2007  OPTIONAL – Accessing the Selected (checked) Node Using JavaScript  Using built-in JSF functions, you can access (via JavaScript) a checked tree node’s value on a page – see example   This would allow you to:  Set a hidden variable to the value of what was user-selected  Fire off a Server-Side (EGL) call to a function, that accesses the value and takes appropriate business action.