| Author |
HATS Transformation Being Lost
|
|
| Cheri Duchrow 2006-02-07, 5:45 pm |
| I have used previous versions of HATS and done some minimal customizations.
I have recently started to explore HATS 6.0 and have the following
situation. I have created a screen customization with a screen
transformation (jsp) for the signon screen. My version of the signon screen
comes up just fine when I run the application. If I press a function key
that is not allowed while on this screen it comes back displaying the error
message Function key not allowed which I would expect but instead of using
my custom transformation to display the screen it uses the default rendering
like I did not put a customization on it. It also does this on subfile
screens when I page up or down past the first or last roll of the subfile.
I looses the custom transformation and shows the default transformation with
the error message. Screen recognition for the signon screen is set to pick
up the word Sign On within a rectangular region.
What do I need to do to keep my custom transformation when and error message
comes back?
Thanks
| |
| Rick Pezzimenti 2006-02-07, 8:45 pm |
| Cheri Duchrow wrote:
> I have used previous versions of HATS and done some minimal customizations.
> I have recently started to explore HATS 6.0 and have the following
> situation. I have created a screen customization with a screen
> transformation (jsp) for the signon screen. My version of the signon screen
> comes up just fine when I run the application. If I press a function key
> that is not allowed while on this screen it comes back displaying the error
> message Function key not allowed which I would expect but instead of using
> my custom transformation to display the screen it uses the default rendering
> like I did not put a customization on it. It also does this on subfile
> screens when I page up or down past the first or last roll of the subfile.
> I looses the custom transformation and shows the default transformation with
> the error message. Screen recognition for the signon screen is set to pick
> up the word Sign On within a rectangular region.
>
> What do I need to do to keep my custom transformation when and error message
> comes back?
>
> Thanks
>
>
This is due to the fact that when you create a customization, HATS
implicitly puts a condition that the host screen is 'NOTINHIBITED' in
the description section of the file. You can view this by looking at the
XML source for the .event file. You'll see a line of code that looks
something like
<description>
<oia invertmatch="false" optional="false" status="NOTINHIBITED"/>
.....other conditions...
</description>
change the status to "DONTCARE" instead of "NOTINHIBITED" and you'll
achieve the result you desire.
Rick Pezzimenti
Senior Consultant
Independent Systems Integrators
| |
| Cheri Duchrow 2006-02-08, 5:45 pm |
| Rick
Thanks for the answer. This seems to take care of things so far in the
situations that I need to have handled.
Cheri
"Rick Pezzimenti" <rick.pezzimenti@isi.com.au> wrote in message
news:dsbkr9$f81o$1@news.boulder.ibm.com...
> Cheri Duchrow wrote:
>
> This is due to the fact that when you create a customization, HATS
> implicitly puts a condition that the host screen is 'NOTINHIBITED' in the
> description section of the file. You can view this by looking at the XML
> source for the .event file. You'll see a line of code that looks something
> like
>
> <description>
> <oia invertmatch="false" optional="false" status="NOTINHIBITED"/>
> ....other conditions...
> </description>
>
>
> change the status to "DONTCARE" instead of "NOTINHIBITED" and you'll
> achieve the result you desire.
>
> Rick Pezzimenti
> Senior Consultant
> Independent Systems Integrators
|
|
|
|