Hi all, i have just started using JBOSS Enterprise Portal Platform, i have a portlet which renders CSS to be run in quirks mode.
So, my requirement is very basic but i am not able to figure out how to do that..
I want to create a page in my portal that will run in quirks mode (no doctype), so basically i wanted to customize a skin/layout to remove the doctype declaration from the HTML page.
Many thanks in advance
You can use Extension Machanism . There is an example: https://github.com/gatein/gatein-portal/tree/master/examples/extension --> It override the template: UIHomePagePortlet.gtmpl
To resolve your case, you can override this file : UIPortalApplication.gtmpl --> Add your code to this file to check if a page need a doctype or not