The Imported Page builder adds an existing HTML or JSP page to the current model.
By using Imported Page builders, you can develop your HTML or JSP code in your favorite editor and then import the results into the IBM® WebSphere® Portlet Factory Designer. Once you import a page into the WebSphere Portlet Factory Designer, you can use builders to modify those pages.
Create Absolute URLs
Import when builder Call is Saved (design time only)
When the page is imported, the builder modifies the code so that the URLs become absolute. Because the builder directly modifies the HTML for the URLs, the page only needs to be imported at design time.After a page is imported, you can activate any of its HTML elements by using one of the Action Control builders in the WebSphere Portlet Factory Designer.
When using control builders, you must match the name tag attribute from the original HTML file. The name attribute must be used for all activated elements. Use the WebSphere Portlet Factory Designer page location attribute to associate a control with a page element.Store the HTML pages and images at or below the servable_content_root directory level.
To maximize performance, it is better to import an HTML page at design-time rather than at model generation time.
If the files are stored elsewhere and you select Create Absolute URLs
, the absolute URLs are not guaranteed to work. To import an HTML file in another directory or in a mapped or mounted drive use the "file:/
" form of the URL. For example, to import a file on a mapped drive, T:, the URL would be:
Importing pages at design-time can speed up model generation.
Imported Page builder inputs
This topic describes the inputs for the Imported Page builder.
Inserting an imported page
If you plan to insert the page you are importing into another page, you need to take measures to ensure that links on the imported page remain intact once the page is inserted into the other page.
Importing HTTPS pages
You can configure your IDE to use JSSE to support SSL when importing a page that uses the HTTPS protocol.
Parent topic: Builder help
About using the builder call editor