Multiple rendering set example

Suppose you want to create one ZIETrans application, and from that application, allow users to access two host applications that look very different from one another. You have decided you want different rendering sets for each, but want to use the power of ZIETrans default rendering and have as few specific screen customizations as possible.

Call one application APPA and the other application APPB:
  1. Create a rendering set specifically tailored to APPA
  2. Create a rendering set specifically tailored to APPB
  3. Create a transformation "APPA" that has a default rendering tag with a parameter for the APPA rendering set
  4. Create a transformation "APPB" that has a default rendering tag with a parameter for the APPB rendering set
  5. Create a screen customization that recognizes only the first screen of APPA and call it APPAfirst, with actions:
    1. set global variable "WhichApp" to "APPA"
    2. apply transformation APPA
  6. Create a screen customization that recognizes only the first screen of APPB, call it APPBfirst, with actions:
    1. set global variable "WhichApp" to "APPB"
    2. apply transformation APPB
  7. Create a screen customization called APPArest, that recognizes true if global variable "WhichApp" equals "APPA", with action: apply transformation APPA
  8. Create a screen customization called APPBrest, that recognizes true if global variable "WhichApp" equals "APPB", with action: apply transformation APPB
  9. Order the screen customizations in your project settings Events tab like so: APPAfirst, APPBfirst, APPArest, APPBrest