Skip to Content
0
Former Member
Jul 04, 2014 at 10:14 AM

HTML5 DOCTYPE in custom WPC web form

32 Views

Hello,

we are implementing a custom WPC web form along following SAP documentation:

http://scn.sap.com/docs/DOC-22253

The new web form incorporates JS-Scripts from an open source project (Galleria.io).

However, this JS-Application requires a HTML5 DOCTYPE, which needs to bedefined in the root of an HTML document. At runtime of the web form the HTML5 DOCTYPE is missing and the JS-Application is not properly running.

I found following SAP note "1713259 - PRT support for HTML5 doctype" which focuses on this topic. It mentions two possible options:

- Enable HTML5 DOCTYPE for entire portal environment,

- ... or enable HTML5 DOCTYPE only for custom portal applications.

However we only want to enable HTML5 DOCTYPE for the WPC component runtime.

Is there any option to enable this via configuration in WPC... or any other ideas?

Best regards

Mario