® 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.

Slides:



Advertisements
Similar presentations
MET: How to Order Replacement Parts Using RPP
Advertisements

Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Benchmark Series Microsoft Access 2010 Level 1
Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
Crystal Reports In Depth Session XII. Crystal Reports - In Depth Reports outside of halFILE Selecting an ODBC Datasource Selecting a second table and.
XP New Perspectives on Microsoft Access 2002 Tutorial 61 Microsoft Access 2002 Tutorial 6 – Creating Custom Reports.
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.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
® IBM Software Group © 2006 IBM Corporation JSF Menu Component How to create and use JSF Menu components to add custom static and programmatic (dynamic)
Adobe Forms THE FORM ELEMENT PANEL. Creating a form using the Adobe FormsCentral is a quick and easy way to distribute a variety of forms including surveys.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
® 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.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
® 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.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
® IBM Software Group © 2006 IBM Corporation Creating JSF/EGL Template Pages This section describes how to create.JTPL (Java Template Pages) using the Page.
Quick Start Guide: Filters Advanced Learn about: 1.What filters are and their functionality 2.How to create a filter using Samples, Equipment & Labels.
® 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.
Developing Effective Reports
® 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.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
Web Technologies Website Development Trade & Industrial Education
® 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.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
® 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.
IReport Demo Spring 2008 OEDSA Conference. Report Properties.
® 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.
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
Chapter 2 – Introduction to the Visual Studio .NET IDE
® 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 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.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 12 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 12 Accessing.
® 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.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
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.
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.
Learning Aim C.  In this section we will look at how text, tables, forms and frames can be used in web pages.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Word 2010 Headers and Footers You can make your document look professional and polished by utilizing headers and footers. The header is a section of the.
1 Word Processing Intermediate Using Microsoft Office 2000.
Lessons Copy and Paste Text Drag and Drop Text 2-Saving Documents 3- Printing 4-Inserting Tables Modifying Page Layout Format Page Margins Insert a Blank.
® IBM Software Group © 2006 IBM Corporation EGL.CSV (Excel) File Reading and Writing This section describes how to access.CSV (Excel Spreadsheet) files.
1 © 2008 IBM Corporation Topic EGL Calls to Remote Programs (Overview)  EGL Calls to Remote Programs (Overview)  Calling RPG program  Calling a CL program.
® IBM Software Group © 2006 IBM Corporation Create EGL/JSF HelloWorld Pages This learning module walks you through the process of creating two simple “hello.
JavaScript, Sixth Edition
Y.-H. Chen International College Ming-Chuan University Fall, 2004
Creating Oracle Business Intelligence Interactive Dashboards
Chapter 2 – Introduction to the Visual Studio .NET IDE
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.
Database Applications – Microsoft Access
Integrating JavaScript and HTML
PowerPoint Drag and Drop (new)
Accessing Databases with ADO.NET, Handling Exceptions, and Printing
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.
Learning the Basics of Microsoft Word 2010 for Microsoft Windows
Dynamically Populating a Multiple Selection List Box
Presentation transcript:

® 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 also shows how to use JavaScript to modify values at run-time. Note that there are a few steps that, for the release were necessary, but for future releases may not be. We have documented these steps inside this section.

2 Last update: 12/04/2007 JSF Mini-Calendar Controls You may want to use JSF mini-calendar components (see page below) in your application – as a central visual motif. Here’s a simple page that contains a JSF Mini-Calendar that allows users to :  Select a date  Upon selection, that calendar-date value is copied (via JavaScript) to an input field  And then upon the user hitting Enter (form submit), the value is used in EGL logic Input field, valued via JavaScript JSFMini-CalendarControl JSF Error Messages component

3 Last update: 12/04/2007 Create the Page – 1 of 4  From Project Explorer, create a.JSP page named: miniCalendarPage.jsp   Change the page header text  Add a JSF Select - Calendar component  From the next slide, create the JSFHandler code…

4 Last update: 12/04/2007 Create the JSFHandler – 2 of 4  From the Notes section below, copy the JSFHandler source over (completely replace the existing) boiler-plate code.  Note the following:  Dates – with dateFormat specified – Note that this is necessary for this release  The date2 field specified as allowing nulls – to display as a blank on-screen  Setting the date2 field to null  Displaying the selected date as a string, which is formatted using an EGL built-in function Save your code

5 Last update: 12/04/2007 Customize the Mini-Calendar – 3 of 4  From Page Designer / From Page Data:  Drag and drop date1 on top of the Calendar –From the Calendar’s properties, specify a custom Date Pattern  *** With the Calendar selected, from source mode, add the single line shown here – into the calendar’s JSF properties 

6 Last update: 12/04/2007 Create the Page – 4 of 4 – Add the JavaScript and Finish the Page  With the Calendar selected, from the QuickEdit view, add the following statement (shown below) to the onchange function.  Note this will make the value of the date2 field, equal to what is selected in the Mini-Calendar.  Finally, from Page Data:  Drag and drop date2 on the page – and make it an input field  From Options – de-select the command buttons  Ensure that an ErrorMessages control is placed on the field  Drag and drop the showTheDate function on the page, where it will become a Submit Button document.getElementById('form1:textDate21').value = thisObj.value;

7 Last update: 12/04/2007 Run The Page on the Server Run the page on the server Select a date Note that this will populate the empty input field Click the Submit Button Input field, valued via JavaScript JSFMini-CalendarControl JSF Error Messages component