|
|
|
|
|
- Overview
- How to?
- To create a Link control associated with an item containing an email address
- RAD page trick: Automatic creation of the link associated with the email address
Link control associated with an item containing an email address
In a database, the email address of customers, suppliers, and so on, is often one of the items stored. Why not directly create the links to these addresses in your site? WEBDEV allows you to easily create a Link control used to automatically send an email. For example, a Web user who is looking at a list of suppliers can directly send an email to one of the suppliers. When a click is performed on the Link control, the messaging software of Web user will be opened and the email address of recipient will be displayed. To create a Link control associated with an item containing an email address To create a link control associated with an item containing an email address: - On the "Creation" tab, in the "Usual controls" group, click "Link".
- Click where you want to create the control in the page. The control appears in the editor.
- Open the control description window (select "Description" in the context menu).
- Go to the "General" tab:
- In the "Link action" section, select the type "Custom link (email, phone, etc.)".
- In the "Address" section, select "email".
- Go to the "Details" tab and select:
- "Automatically prefix URL property".
- "..Value represents the link URL (compatibility with WEBDEV 1.5)".
- Go the "Binding" tab and select the item to be bound to the control.
- Validate the control description.
RAD page trick: Automatic creation of the link associated with the email address - In the data model editor, display the window of items for the relevant file ("Description of items" in the context menu).
- Select the item containing an email address.
- Click "Parameters of the control bound to the selected item (shared information)".
- The shared information management window appears.
- In "Type of control", select "Link". The description window of the Link control created by RAD is displayed.
- Go to the "General" tab:
- In the "Link action" section, select the type "Custom link (email, phone, etc.)".
- In the "Address" section, select "email".
- Go to the "Details" tab and select:
- "Automatically prefix URL property".
- "..Value represents the link URL (compatibility with WEBDEV 1.5)".
- Go the "Binding" tab and select the item to be bound to the control.
- Validate the control description and the window of data file items.
- Generate the analysis: under the "Analysis" pane, in the "Analysis" group, pull down "Generation" and select "Generate".
When creating a RAD page, the Link control will be automatically created with all the necessary characteristics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|