[an error occurred while processing this directive]
> developer > web app development
Naming Conventions for Group and Element Repeat Aliases
by exteNd Composer Product Team, eBusiness Integration Products, Novell
Date Created: 2001-02-23 14:28:00.000
  Introduction
introduction

The 'For Group' and 'For Element' repeat types both use alias names. Both also use alias names to distinguish the source of a Map Action and the target for a Map Action. The following naming conventions will help the user distinguish alias names by Repeat Type and Source or Target. 

When using 'Group/Repeat For Group' prefix all group names with the lowercase first letter of the DOM name the group occurs in plus the lowercase letter "g" to denote that this alias is a 'Repeat For Group' alias. This will help the user keep the proper source/destination and repeat types logic when referencing these groups. 

Use the following DOM name abbreviations: Input = i, Input1 = i1, Input2 = i2, Temp = t, Output = o. For instance, when defining a group on the Input DOM declared on an element whose name is DEPARTMENT, name the group "igDEPARTMENT". When defining the target in a Repeat For Group action on an Output DOM, name the alias "ogDEPARTMENT".  Below is an example of the 'Declare Group' for an input DOM:

When using 'Repeat For Element' prefix all source alias names with the lowercase first letter of the DOM name they occur in plus the lowercase letter "e" to denote that this alias is a 'Repeat For Element' alias. Prefix all target alias names with the lowercase first letter of the DOM name they occur in plus the lowercase letter "e" to denote that this alias is a 'Repeat For Element' alias. 

Use the following DOM name abbreviations: Input = i, Input1 = i1, Input2 = i2, Temp = t, Output = o. For instance, when defining a 'Repeat For Element' on an Input DOM on an element whose name is INVOICE, name the source alias "ieINVOICE". Then name the target alias "oeINVOICE".