ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
WEBDEV allows you "suck up" the existing HTML pages. The page is imported into the WEBDEV project and each page element is automatically converted into a WEBDEV element (Static Text control, HTML control, Link control, ...).
The principle of this feature is mainly based on retrieving the style of an HTML page.
Note: If you're importing a Dremweaver page or elements, see Importing DreamWeaver elements into a WEBDEV website.
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 can also launch the page import by simply dragging and dropping the HTM file into WEBDEV's page editor.
  4. Select the import mode. The styles and the images associated with the imported page can be managed according to two methods:
    • If the "I import an independent page into the project" option 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 the "I import several pages of the same site into the project" option 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.
Note When importing an HTML page, it is advisable not to copy and paste.

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: Maparea are not imported.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 02/01/2025

Send a report | Local help