Custom XHTML page missing header

Which IIQ version are you inquiring about?

8.4

Please share any images or screenshots, if relevant.

Hi Experts,

I am developing a custom XHTML page, but the header is missing. I would like to know how to add the original SailPoint header to my custom XHTML page.

Can you make sure of html tag with below content.

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:c="http://java.sun.com/jstl/core" 
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:sp="http://sailpoint.com/ui">

Hi @Arpitha1 ,

Added the mentioned html tag.

Below is my xhtml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:c="http://java.sun.com/jstl/core" 
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:t="http://myfaces.apache.org/tomahawk"
	  xmlns:sp="http://sailpoint.com/ui"
      xmlns:p="http://primefaces.org/ui">

<h:head>
    <title>File Upload</title>
</h:head>
<h:body>
    <h:form enctype="multipart/form-data">
        <h:panelGrid columns="2">

            <h:outputLabel value="Server:" />
            <h:inputText value="#{fileUploadClass.serverField}" />

            <h:outputLabel value="User:" />
            <h:inputText value="#{fileUploadClass.userField}" />

            <h:outputLabel value="Password:" />
            <h:inputSecret value="#{fileUploadClass.passwordField}" />

            <h:outputLabel value="Target Path:" />
            <h:inputText value="#{fileUploadClass.targetFilePathField}" />

            <h:outputLabel value="File:" />
            <p:fileUpload fileUploadListener="#{fileUploadClass.handleFileUpload}" 
                          mode="advanced" 
                          dragDropSupport="true" 
                          update="messages" />

            <h:commandButton value="Submit" action="#{fileUploadClass.uploadFile}" />

        </h:panelGrid>

        <h:messages id="messages" />

    </h:form>
</h:body>
</html>

Still not see the header:

<ui:composition template="/ngAppPage.xhtml">
<ui:define name="body">


</ui:define>
</ui:composition>

added above solved the issue.

1 Like