528
edits
(Created page with "== Intro == This component renders an ATS job and allows a user to apply == 3B Portals Compatibility == This component is fully compatible with 3B Portals == Implementation == === Portals === Drag and drop the component on any page. You can customize the component properties from the Traits Manager. === Visualforce Pages === You can embed the component component in a Visualforce Page using the following syntax:<syntaxhighlight lang="html"> <!-- Load Supporting Compon...") |
No edit summary |
||
Line 13: | Line 13: | ||
You can embed the component component in a Visualforce Page using the following syntax:<syntaxhighlight lang="html"> | You can embed the component component in a Visualforce Page using the following syntax:<syntaxhighlight lang="html"> | ||
<!-- Load Supporting Components and Global Functions --> | <!-- Load Supporting Components and Global Functions --> | ||
<script src="{!URLFOR($Resource.b3o__GeneralUtils, 'index.js')}" defer="true" type="module"></script> | |||
<!-- This Component --> | |||
<script src="{!URLFOR($Resource.b3o__JobPostResources, 'index.js')}" defer="true" type="module"></script> | |||
<job-post | |||
job-id="{!$CurrentPage.parameters.id}" | |||
job-board-name="Default" | |||
></job-post> | |||
<script> | |||
const globals = { | |||
sessionId: '{!GETSESSIONID()}', | |||
siteUrl: '{!$Site.baseUrl}', | |||
useREST: false, | |||
router: b3o.GlobalRemotingRouter | |||
}; | |||
window['globals'] = globals; | |||
</script> | |||
</syntaxhighlight> | </syntaxhighlight> | ||