Global Variables and Macro Variables Part 1
How to use Global Variables to populate Macro Variables in a HATS Transformation Macro If you want to populate a macro variable with a global variable value, there is an easy way to do so. The first step is to make sure that there is a global variable to prompt from. Create a Global Variable In your screen customization, go to the Actions tab. Choose Add and select Set Global Variable . Name the global variable and give it an initial value so that we can use it in the macro later. Click Finish and make sure that the actions are in the proper... [More]
Tags:  customization hats macro variables transformation global |
Integrated Web Application Server for i (aka LWI)
Did you know that if you're running V5R4 or later, you can make use the Integrated Web Application Server for i to run your WebFacing Web applications as an alternative to WAS? The server, also referred to as Light Weight Infrastructure (LWI), is free, open source, and bundled with your IBM i. Curious? I originally planned for this post to be an LWI deployment how-to, but quickly found that a handy guide already existed showing you how to get started in glorious detail. There's also quite a comprehensive Frequently Asked Questions page that... [More]
Tags:  integrated hatscafe lwi webfacing server |
Creating projects with HATS V7.5 after applying RAD V7.5.5 fix pack may cause problems
If you have HATS V7.5.0.x installed and have upgraded to RAD V7.5.5 fix pack level, when you create a new project you will get a WebContent folder when you create a HATS Web project. This is in addition to the Web Content folder that the HATS Toolkit creates and uses. This problem occurs when you are using RAD V7.5.5 or later. This extra WebContent folder may cause problems, especially when using Integration Objects. To eliminate this extra WebContent folder in a HATS Web project: Right click on your HATS project and choose Properties Select... [More]
Tags:  hats rad content webcontent |
How to map keystrokes to other functionality in a HATS web project
The following code sample shows how to map the Up and Down
arrow keys to shift the focus to the previous and next input fields
respectively in a HATS web project. This block of code can be added to the header of an
individual transformation to apply this feature to a single page or
to the template of the project to apply to all transformations. <script type="text/javascript"> function setNextFocus(e){ var i,j,direction; if (!e) var e = window.event; if((e.keyCode == 38) || (e.which == 38)) //up arrow=38 direction... [More]
Tags:  hats custom input transformation hatscafe mapping javascript |
How to map keystrokes to other functionality in a HATS web project - Part 2
The following code sample shows how to map the Up and Down arrow keys to move the focus up and down a column of input fields in a HATS web project. The following screen shows a transformation with vertical columns which this code would be ideally suited for: This block of code can be added to the header of an individual transformation to apply this feature to that page. <script type="text/javascript"> function setNextField(e){ if(!document.forms["HATSForm"]) return; //get the screen size of the current host screen ... [More]
Tags:  input hats custom javascript mapping transformation hatscafe |
The difference between IOs and Macros
Integration objects play an important role in managing the state of an application or creating a new host connection. However, they typically are used for starting a new HATS connection from within an existing HATS customization. So when should you use an integration object? Web services and combining multiple hosts data onto a single screen are the two options of choice. Integration objects are essentially a Java wrapper the encapsulates the macro state management. What I mean by that is, you can call setters and getters on the integration... [More]
Tags:  hatscafe integration macro hats object |
Subtle HATS Topics
I've been toying with the idea of writing a number of short articles covering HATS topics that have come up in the past. Some more esoteric or subtle HATS topics. These wouldn't be multi-author white papers--nothing that elaborate. Just a casual discussion of issues raised and solved in the past--issues that somebody else might encounter. My question is, where should I put such items? Would folks be more likely to find them in a section under Documents or should I make them Blog posts? This would be topics like connection pooling, servlet... [More]
Tags:  hatscafe hats |
WebFacing Webinar on September 2nd
If you are still using the IBM WebFacing Tool as part of WDSC or are running your WebFacing workload on IBM i V5R4 or lower, but are contemplating an upgrade, then do not miss this online event. This one-hour webinar is targetted towards existing WebFacing users and will provide information about: IBM WebFacing Tool directions and recent enhancements New integrated development environment requirements Changes in IBM WebFacing Tool packaging New deployment requirements and pricing The webinar will be held on Wednesday, September 2, 2009 at... [More]
Tags:  webfacing webinar |
New Samples and Snippets section is OPEN |
Just released IBM Systems Magazine article_Hats off to HATS V8
HATS V8 offers new, exciting capabilities that further strengthen the
solution’s ability to provide practical, low-cost, low-risk, industrial-strength
UI transformation and service enablement. Get a quick HATS refresher and
then delve into the new features delivered in HATS V8, which became available in
August. See this IBM Systems Magazine article Hats off to HATS V8. I
Tags:  hats v8 article systems_magazine |
New WebFacing Server PTFs
There is now a new PTF available for the WebFacing server for both V5R4 and V6R1. The new PTF for each release includes the following updates to the WebFacing Server. 1) The server has been enhanced to support passwords with a maximum length of 10 or 128 characters (depending upon the system settings). 2) There is improved handling of communications errors when establishing a session as well as better detection of when user jobs have failed to start. This will eliminate the build-up of stale connections to the server. The communications changes... [More]
Tags:  webfacing server hats hatscafe |
How to highlight the current HATS input field
The following code sample can be used to change the appearance of the active HATS input field. This block of code can be added to the header of an individual transformation to apply this feature to a single page or to the template of the project to apply to all transformations. <script type="text/javascript"> function highlight(e) { //get event from browser if (!e) var e = window.event; var element = e.srcElement || e.target; if(element != null){ //focus event occurs when input gains focus ... [More]
Tags:  input hats transformation hatscafe javascript custom |
HATS V7.5.1.2 fix pack is available
A few functions have been extended in HATS V7.5.1.2 fix pack : disconnectOnClose support for Internet Explorer 9 Field Minus and Field Plus keys added to the host terminal
keypad VT PF keys added to the host terminal and Visual Macro Editor (VME)
keypads VT session color settings
For more information on these, please read the HATS V7.5.1.2 Release Notes .
Tags:  hats host vt rational |
HATS V8 is now available
For all who've been anxiously awaiting a new release of HATS, it is now available. Highlights in HATS V8 Dojo widget support RESTful web services JSR 286 standard portlets Automatic disconnect and refresh for JSR 286 standard portlets iPad support Simplified specification for rich client, type-ahead support Screen capture support for video terminal (VT) connections Support for the latest development environments Support for the latest runtimes Bidirectional language support enhancements Read What's new in IBM Host Access Transformation... [More]
Tags:  hats dojo jsr286 rest ipad |
HATS V8.0.0.1 fix pack is available
HATS V8.0.0.1 fix pack is available In addition to fixes for the HATS 8.0 release, the following functions have been extended in the HATS V8.0.0.1 fix pack: Mozilla Firefox Versions 6 and 7 support User configuration of RESTful web service package names HATS Dojo widget settings support for global variables Fill from global variable Extract global variable support for non-text host screen planes Field Minus and Field Plus keys added to the host terminal keypad VT PF keys added to the host terminal and Visual Macro Editor (VME) keypads VT... [More]
|