jeudi 16 avril 2015

JDeveloper 11 and ADF - change the page DTD to HTML5

I have an Oracle ADF / WebLogic project built by someone else with JDeveloper 11 (and the integrated WL server).


The problem is that the HTML DTD is outputted as:



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://ift.tt/kTyqzh">


and I want to change it to HTML5 mode, and I don't know how (I'm a front-end developer):



<!doctype html>


The pages start with this:



<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://ift.tt/GWZiet" version="2.1"
xmlns:f="http://ift.tt/HcrI1S"
xmlns:h="http://ift.tt/HjFrZb"
xmlns:af="http://ift.tt/HgGZ15">

<jsp:directive.page contentType="text/html;charset=UTF-8"/>

<f:view>

<af:document id="d1">
....


Has anyone done this in JDev 11? I couldn't find the answer anywhere. Some people say that JDev 12 does it, but I'm not sure if I can import and build the project in v12 without a lot of changes.


Aucun commentaire:

Enregistrer un commentaire