This page (revision-4) was last changed on 26-Nov-2021 10:22 by JMyers

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 26-Nov-2021 10:22 1 KB JMyers to previous
3 26-Nov-2021 10:22 1 KB JMyers to previous | to last
2 26-Nov-2021 10:22 1 KB JMyers to previous | to last
1 26-Nov-2021 10:22 1 KB JMyers to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed one line
EMBE
[{TableOfContents }]
At line 3 changed 5 lines
The purpose of this document is to describe how the setup to allow users to embed Self Service Public Forms within an external web page..
Audience
This white paper is intended for System Administrators and Approvers within Self Service and ePersonality.
Prerequisites
Users of this white paper should be familiar with the Windows Operating System user interfaces and able to successfully navigate through the standard windows objects.
!!!EMBEDDED PUBLIC FORMS
At line 5 added 6 lines
!!Embedding a Self Servie Public Form Within an External Web Page
The public form must be embedded inside a .jsp page, with arguments PUBLIC=true and FORM=~[insert form name here].\\ \\
For example: http://localhost:8988/selfService/EmbeddedTestPage.jsp?PUBLIC=true&FORM=WPRPO\\ \\
To embed the public form, we need to add a ‘jsp include statement’ with page set to the url of the public form'\\ \\
For example: <jsp:include page="public?FORM=WPRPO" />\\ \\
%%information Please note that this statement hard codes the web page to load only the WPRPO public form. Changing the FORM argument in the URL will do nothing. A separate external .jsp page will need to be created to embed another public form.%%
At line 12 added 7 lines
!!Retrieving Web Resources on the Server
To retrieve web resources such as page images, we need to include the dynamic web resource path via JSP. To do this, we include the following JSP statements in the external page:\\ \\
*<%@ page import="com.highlinecorp.web.*,com.highlinecorp.schema.*" %>
*<% String resourcePath = Settings.getDynamicWebResourcePath()+"/images/PublicForms/EmbeddedDemo/";%>\\ \\
The second statement assigns the resource path of all external page images on the server to the Java variable, resourcePath. Each image src in the external page will need to be linked via JSP to this resource path.\\ \\
For example:\\
<a><img src="<%=resourcePath%>bnav-sit_off.gif" alt="Site Map" id="bnav-sit" height="13" width="55"></a>
At line 14 removed 31 lines
Embedded Public Forms
Embedding a Public Form
The public form must be embedded inside a .jsp page, with arguments PUBLIC=true and FORM=[insert form name here].
For example: http://localhost:8988/selfService/EmbeddedTestPage.jsp?PUBLIC=true&FORM=WPRPO
To embed the public form, we need to add a ‘jsp include statement’ with page set to the url of the public form
For example: <jsp:include page="public?FORM=WPRPO" />
Please note that this statement hard codes the web page to load only the WPRPO public form. Changing the FORM argument in the URL will do nothing. A separate external .jsp page will need to be created to embed another public form.
Retrieving Web Resources on the Server
To retrieve web resources such as page images, we need to include the dynamic web resource path via JSP. To do this, we include the following JSP statements in the external page:
• <%@ page import="com.highlinecorp.web.*,com.highlinecorp.schema.*" %>
• <% String resourcePath = Settings.getDynamicWebResourcePath()+"/images/PublicForms/EmbeddedDemo/";%>
The second statement assigns the resource path of all external page images on the server to the Java variable, resourcePath. Each image src in the external page will need to be linked via JSP to this resource path.
For example: <a><img src="<%=resourcePath%>bnav-sit_off.gif" alt="Site Map" id="bnav-sit" height="13" width="55"></a>