® IBM Software Group © 2006 IBM Corporation Finding Out Which Submit Button Was Clicked – and Other JSF Command Button Techniques This section describes.

Slides:



Advertisements
Similar presentations
STUDENT INFORMATION SYSTEM (SIS) Course Approval Procedure.
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.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
® 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.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 7 Using Macros and Visual Basic for Applications (VBA) with Excel.
Using Macros and Visual Basic for Applications (VBA) with Excel
® IBM Software Group © 2006 IBM Corporation Securing Your Application With WebSphere Security You will need to develop Login procedures for your web applications.
Add the word linked between the words or and information in the first line of the text. submit.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
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.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
® IBM Software Group © 2006 IBM Corporation EGL / SOA – Creating and Consuming EGL Web Services This Learning Module shows how to utilize the RBD tooling.
® IBM Software Group © 2006 IBM Corporation BIRT Integration with EGL Damian Madden – Jon Sayles.
® IBM Software Group © 2006 IBM Corporation JSF dataTables – Advanced use of Properties and Development Techniques Part III – of a 3-part section on the.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
® 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 EGL/Web Project QuickStart – 3 of 4 – Creating the U.I. Layer These slides walk you through the process of.
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.
® 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.
HTML, Third Edition--Illustrated Complete 1 HTML – Third Edition Illustrated Complete Unit I Designing Web Pages.
® 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 2007, Information Builders. Slide 1 Maintain & JavaScript: Two Great Tools that Work Great Together Mark Derwin and Mark Rawls Information Builders.
® IBM Software Group © 2006 IBM Corporation JSF Tree Control This Learning Module describes the use of the JSF Tree Control – for hierarchical organization.
® IBM Software Group © 2006 IBM Corporation EGL Programming – Data Parts and Assignment Statements – 4 – Arrays These slides walk you through the terms.
Moodle (Course Management Systems). Assignments 1 Assignments are a refreshingly simple method for collecting student work. They are a simple and flexible.
Copyright 2007, Information Builders. Slide 1 WebFOCUS Maintain – Enhancing Objects with JavaScript Mark Derwin Information Builders Information Builders.
® IBM Software Group © 2006 IBM Corporation Programmatically Rendering and Hiding JSF Controls This section describes how to hide and show JSF controls.
® IBM Software Group © 2006 IBM Corporation JSF/EGL Component Properties Deep Dive This section walks you through the options and settings for JSF Component.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
® IBM Software Group © 2006 IBM Corporation Web JSF Overview – Internet “101” for EGL/JSF Developers This unit introduces you to the technical concepts.
® IBM Software Group © 2008 IBM CorporationLast Update: 6/1/2008 BIRT Integration with EGL Damian Madden – Jon Sayles.
® IBM Software Group © 2006 IBM Corporation “Essential” HTML Tags and Page Development Techniques This Learning Module describes the standard HTML tags.
® IBM Software Group © 2006 IBM Corporation.JSP Page Flow – and Managing State in your Web Application This learning module covers the salient features.
® IBM Software Group © 2006 IBM Corporation JSF Progress Bar This Learning Module shows how to integrate EGL/JSF functionality into a run-time progress.
® IBM Software Group © 2006 IBM Corporation EGL/Web Project QuickStart – 2 of 4 – Creating the Business Logic Layer These slides walk you through the process.
® IBM Software Group © 2006 IBM Corporation Individual Cell Coloring – in a JSF dataTable Control You may need to programmatically (using EGL) change the.
PhotoStory 3 Tutorial Created 1/5/10. When you open PhotoStory3 to can begin a new project, edit a project already started or just view creations. Click.
® 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 JSF Panel – Section Controls This Learning Module shows how to develop server-side EGL applications with dynamic.
FOCUS II Demonstration Simply click the mouse to advance through the presentation. Or; Tap the right arrow key on the keyboard to advance through the slides.
® 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.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
® IBM Software Group © 2006 IBM Corporation AJAX-Enabling Your JSF Components and Web Pages This learning module covers the use of AJAX technology to enable.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
WaveMaker Visual AJAX Studio 4.0 Training Java Script Events.
® IBM Software Group © 2006 IBM Corporation Dependent Combo-Box U.I. Development This Learning Module walks you through the options and development techniques.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
® IBM Software Group software © 2011 IBM Corporation Rational Business Developer v8 Services.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
® 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 © 2009 IBM Corporation BIRT Integration with EGL v P. Michael Virga.
Howto: Custom page design Creating your own ASPX page Step-by-step guide.
® IBM Software Group © 2006 IBM Corporation Create EGL/JSF HelloWorld Pages This learning module walks you through the process of creating two simple “hello.
Development Environment
Database application MySQL Database and PhpMyAdmin
System I (AS400) Login You will need to develop Login procedures for your web applications. This short section describes how to do this for System I.
Social Media And Global Computing Introduction to Visual Studio
System I (AS400) Login You will need to develop Login procedures for your web applications. This short section describes how to do this for System I.
Presentation transcript:

® IBM Software Group © 2006 IBM Corporation Finding Out Which Submit Button Was Clicked – and Other JSF Command Button Techniques This section describes how to use JSF and EGL JSF Component Tree Interface statements to: 1. Find out which Submit Button was clicked at run-time, 2. work with JSF Submit Buttons from a U.I. Programming perspective

2 Last update: 12/04/2007 Working with JSF Submit (Command) Buttons  You may need (or just want) to do a number of U.I. programming techniques with JSF Submit Buttons, including:  Change their text or look  Hide/Show them  Obtain the JSF ID of whatever button was clicked by a user at run-time  We’ve already seen a couple of techniques for doing some of the above, but not specifically getting “which button was clicked”. So, we’ve created a JSF/EGL page for you, to show you how you can obtain that information. This workshop assumes you’ve finished prior labs in this course, and will also require you to update the externalTypes entries in the FacesContext.egl under: \EGLSource\com.ibm.egl.jsf\ See ***Notes

3 Last update: 12/04/2007 Update FacesContext.egl  From Project Explorer:  Open FacesContext.egl (assuming you don’t have any new customized externalTypes):  Select and copy all of the source in the ***Notes section of this slide  Replace the entire contents of the existing FacesContext file  Save your changes Note – the new entries specific to these programming techniques are:  getRequestParameterMap()  The externalType: Map

4 Last update: 12/04/2007 Create the Initial Page – and Copy in the EGL jsfButtonSelect.jsp  From Project Explorer, create a new.JSP page named: jsfButtonSelect.jsp  From the EGL code, select the existing code in the Notes section of this slide, and replace the existing boiler-plate   And save your code  Note the following (from reading the //comments):  Global variables of externalTypes, to access the submit (command) buttons you will place on the form in the next step  Different functions to obtain get and set the button properties  In this screen capture note that many of these functions are collapsed in the editor – so that you can see the whichButton() function  Different EGL/JSF Component Tree programming techniques. If you are not clear on these, please return to that section in this course.

5 Last update: 12/04/2007 Create the Page – 1 of 2  From Page Designer:  From Page Data, drag and drop the customers array on the page, and create the JSF dataTable shown below  With the dataTable selected:  Add two new columns (Update and Delete)  Give the dataTable a border, alternate row colors, 8-row paging  From the palette/Enhanced Faces Components  Drag a Command-Button into each of the new columns in the dataTable – note, these should be named: button1 and button2 as their JSF IDs – in order to match the expected EGL calls s  Drag a Display Errors error messages component below the dataTable  Drag the addNewRowToArrayAndDataTable (this should be named: button3), hideShowButton() and setButtonTitle() functions below the dataTable

6 Last update: 12/04/2007 Create the Page – 2 of 2  From Page Data, drag and drop the whichButton() function on top of both the Update and Delete Command-Buttons trueVal  From the All Attributes mode, select the Add A New Row button, to the dataTable, and render it compute – tied to the EGL boolean variable: trueVal  Run the page on the server, and test the functionality. If there is a problem, check to see that all of the button names match with the expected EGL JSF Component Tree references in the JSFHandler code.