Browse Prior Art Database

Method and algorithm for providing alternate row shading of discrete data

IP.com Disclosure Number: IPCOM000168195D
Original Publication Date: 2008-Feb-29
Included in the Prior Art Database: 2008-Feb-29
Document File: 1 page(s) / 25K

Publishing Venue

IBM

Abstract

Automatic and alternate row shading of discrete data

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 67% of the total text.

Page 1 of 1

Method and algorithm for providing alternate row shading of discrete data

A system is disclosed that provides a method for providing alternate row shading of discrete data using WebSphere Portlet Factory (WPF) page automation and an additional algorithm. Providing alternate row shading for table data in web-based applications is common place. WPF provides such shading using its own proprietary mechanism that employs proprietary Extensible Markup Language (XML) tagging. This tagging is processed by a WPF JAVA engine that produces HyperText Markup Language (HTML) which contains tables that list data with alternate row shading. With this technique, it is easy for a developer to use WPF to provide alternate row shading in tables for arbitrarily sized data. However, this technique only works for data of a particular nature - data that is obtained in repeated chunks. Having the data in repeated chunks (e.g. multiple address records, multiple sales invoices, etc.) allows WPF to easily loop through the data and generate alternately shaded rows programmatically. For discrete data that is provided in a single chunk (e.g. a single address record or a single sales invoice) the WPF engine is unable to provide alternate row shading. The invention disclosed here augments the WPF method for alternate row shading so that a developer can use it to provide alternate shading for a chunk of discrete data.

To accomplish this augmentation, two o...