[
https://issues.apache.org/jira/browse/TRINIDAD-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Winer resolved TRINIDAD-658.
---------------------------------
Resolution: Fixed
Assignee: Adam Winer
Added "mode" flag, which lets you turn on quirks or strict modes.
> Add doctype flag to trh:html and trh:document to allow switching doctype to
> quirks mode
> ---------------------------------------------------------------------------------------
>
> Key: TRINIDAD-658
> URL: https://issues.apache.org/jira/browse/TRINIDAD-658
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.0.2-core
> Reporter: Nate Perkins
> Assignee: Adam Winer
> Priority: Minor
> Fix For: 1.0.3-core
>
>
> At the moment, trh:html and trh:document add the standard doctype. If a user
> desires to switch the doctype in a jspx, a jsp:output call is necessary which
> outputs a doctype to the stream and breaks the AJAX-based PPR in 1.0.2.
> Another side-effect of this is that the generated html has two doctypes. If
> DEBUG_JAVASCRIPT flag is turned on and the page is viewed in IE6 this will
> result in the page not being loaded with an unexpected doctype error.
> Currently there is a context parameter, ENABLE_QUIRKS_MODE, that can be used
> to put html documents into quirks mode. This does not work with xml
> documents. I suggest expanding this context parameter's scope to work with
> both xml and html. This will provide a default doctype for an application.
> The docType attribute for trh:html and trh:document could then be used to
> override the default for a particular page as needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.