Perform the following steps to configure the custom JSP UI control that is to be displayed next to a repository attribute.
Log into EnterWorks Classic as a user in the Administrator group.
In the Feature bar, select the desired repository, click Edit, and select Attribute Properties.
The Attribute Properties screen for the selected repository will appear.
In the attribute’s Calculation Label field, enter the text you want to appear when the user hovers over the button to the right of the field.
Click the attribute’s Calculation URL field. The Attribute Calculation URL Setup editor will appear. Set the configuration values as desired:
Calculation Ind.: The Calculation Indicator controls how the control will behave when the control is clicked.
<none>: No calculation indicator will be displayed. This is the default for any attribute for which no calculations are to be performed.
Open as Dialog: This opens the selected JSP page as a dialog prompt.
No User Interface: This opens the selected JSP page in the background. There will not to be any user input fields on the form.
Open as Window: This opens the selected JSP page in a new window.
Hidden Window: Similar to No User Interface. No pop-up is shown.
Control with Window: A pop-up window will appear that has a button for the attribute. The attribute will not be updated.
Control with Hidden Window: A hidden pop-up window will appear that has a button for the attribute. The attribute will not be updated.
Calculated Attribute: The attribute value may be updated by the custom control. This is used for an attribute that is going to be updated by a pop-up page but there is not a button to open the page.
Calculation URL: This is the name of the JSP page you want to invoke.
Note: The EnterWorks Classic UI calls a JSP page. The New UI looks for an HTML page with the same name as the JSP page specified here and uses it. If this control will only be used in the New UI, the contents of the JSP page are not used, however, if the control needs to operate in both UIs, both the JSP page and the HTML page need to be operational.
When you are finished editing the custom controls, click the OK button to save your changes and exit. Default mapping messages will indicate updates or snapshot update.