The Dynamic Element Editor displays the parameters and values that pertain to any dynamic elements that are highlighted in the Text Editor. The specific editor that appears here depends on the selection in the Text Editor. The Document Editor uses four different types of Dynamic Element Editors:
Available Page Values Editor
This element editor appears when the insertion point is inside an <dsp:oparam>
tag or anywhere in the Text Editor except within a dynamic element tag. This editor has two tabs: Page Params and Imported Beans:
PageParams
The Page Params tab lists all parameters that have been declared in the active JSP. Select a parameter and click the Insert button to insert that parameter into the page, using the <dsp:valueof param=...>
tag.
ImportedBeans
The Imported Beans tab lists all JavaBeans that have been imported into the page. You can expand each bean to show its properties. Use the Insert button to insert the value of a property into the page and the Import button to import additional beans into the page.
ATG Servlet Bean Editor
The ATG Servlet Bean Editor appears when the cursor is anywhere inside or between <dsp:droplet></dsp:droplet>
tags, except when it is between <dsp:oparam></dsp:oparam>
tags.
The servlet bean editor displays each input parameter and open parameter (OPARAM) defined by the servlet bean. The input parameters are listed in a table that shows these parameters and their values. The value for any input parameter that is not defined in the page is shown as empty. You can enter a value for one of these parameters, and the parameter and its value will be automatically inserted in the page. You can also change the value for a parameter that is defined on the page, and the new value will replace the old value. You can insert an OPARAM by clicking on the arrow to the right of the parameter’s name.
Anchor Editor
This element editor appears when the insertion point is anywhere inside or between <dsp:a href=...></dsp:a>
tags. The Anchor Editor has two parts: Anchor Destination and Open Document button.
AnchorDestination
This field displays the URL to the anchor link destination. To select a file as the destination document:
Click ... to open the Select an Anchor URL dialog. This dialog box displays the directory structure of your document tree.
From the top pane, select the document root that holds the destination file. The active document root is currently selected.
Note: All document roots available to your ATG instance display in this tree menu, including those that are part of applications which are not currently running.
From the bottom pane, select the file that will be the link destination and then click OK.
OpenDocumentbutton
This button is active if the destination is a file within the active application. Click this button to open another Document Editor window for the destination document.
Insert Document Editor
This element editor appears when the insertion point is anywhere inside or between <dsp:include></dsp:include>
tags. The Insert Document Editor has three parts: Inserted Document, Open Document button, and Passed Parameters.
InsertedDocument
This field displays the URL (relative pathname or absolute URL) of the file being inserted at this point. To select a file as the document to be inserted:
Click ... to open the Select a Document to Insert dialog box. This dialog box displays the directory structure of your Web application document tree.
Select the local file to be the destination of the anchor link and click OK.
Note: The wizard assumes the file to embed is local. For destinations that are not local to the current page or Web application, skip the wizard and instead replace the
page
attribute with thesrc
attribute and enter the entire path and file name. When an application references files in another Web application, make sureweb.xml
contains the context path to the secondary application. See Absolute URLs for instructions.
OpenDocumentbutton
Click this button to open another Document Editor window for the inserted document.
PassedParameters
Displays a list of parameters and values that are passed to the inserted document.