ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / WEBDEV specific features / Page types
  • Overview
  • How to?
  • Importing an HTML page into a WEBDEV site
  • Imported elements
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
WEBDEV allows you "suck up" the existing HTML pages. The page is imported in the WEBDEV project and each element of the page is automatically converted into a WEBDEV element (Static control, HTML control, Link, etc.).
The principle of this feature is mainly based on retrieving the style of an HTML page.
For example: The following HTML page...
... becomes the following page in WEBDEV:
Remark: To import a DremWeaver page or DremWeaver elements, see Importing DreamWeaver elements into a WEBDEV site.
How to?

Importing an HTML page into a WEBDEV site

To import an HTML page into a WEBDEV site:
  1. Open the WEBDEV project into which the page must be imported.
  2. On the "Project" tab, in the "Project" group, expand "Import" and select "An HTML page".
  3. Specify the path or the URL of the HTML page to import. The preview of the HTML page to import is displayed.
    Remark: You also have the ability to start the page import via a Drag and Drop of the HTM file into the page editor of WEBDEV.
  4. Select the import mode. The styles and the images associated with the imported page can be managed according to two methods:
    • If "I import an independent page into the project" is selected:
      • a WEBDEV style sheet (".WWS" file) is created and automatically associated with the imported page. This style sheet contains all the CSS styles of the initial page.
      • the different images associated with the imported page will be copied to a specific directory ("<PageName>" subdirectory of the default project directory).
    • If "I import several pages of the same site into the project" is selected:
      • the styles of the imported page are automatically added to the style sheet associated with the project.
      • the different images associated with the imported page will be copied into the "<ProjectName>_WEB" directory of the project.
  5. Validate. The HTML page is automatically included in the current WEBDEV project.
    • If identical styles are identified in the HTML page to import, only one type is created in the imported page.
    • If a style used in an already imported HTML page is detected, this same style will be re-used.
Remark: When importing an HTML page, we recommend that you do not perform any "copy-paste" operations.

Imported elements

The table below presents the main transformations performed between the initial HTML page and the created WEBDEV page:
Source HTML pageCreated WEBDEV page
LinkLink control associated with the action of the source link
Java appletJava Applet control associated with the source Java Applet
<OBJECT> and <BLINK> tagsHTML control with the content of source tags
ImageImage control associated with the source image
StaticStatic control or HTML Static control with the content of initial static.

Remark: The map areas are not imported.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help