Question

I hope here are some SAP-Netweaver-Experts ...

I developed a very simple JSF-Application in SAP NWDS

with the "SAP Component Library for JSF"

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sap.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sap.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
<html>
    <head>
        <title>Hallo ?</title>
    </head>
    <body>
    <h:form>
    <h:messages/>
    <hr>
        <h:panelGrid border="0" columns="2">
            <h:outputText value="First Name" style="color: #808080; font-style: normal; font-size: 12px; font-family: Verdana, Arial, Sans-Serif; font-weight: bold"></h:outputText>
            <h:inputText value="#{person.name}"></h:inputText>
        </h:panelGrid>
        <h:commandButton value="Submit" action="submit"></h:commandButton>  
    </h:form>
    </body>
</html>
</f:view>

If I run the JSF-Application I get an Popup-Alert with this text "Fatal application error: The standard rendering document type is not supported. Contact your administrator"

I have no Idea what the "standard render document type" is and where I can configured it.

Any Ideas or Hints?

Regards Kay

Was it helpful?

Solution

The Problem was the line

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

It seems that this LSF-Framework gives the DOCTYPE in the <f:view>-Element and the error is related to the second doctype

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top