[jbosstools-issues] [JBoss JIRA] (JBIDE-9872) Html editor should be able to show html files even though they don't end in .html

Victor Rubezhny (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 13:29:16 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634267#comment-12634267 ] 

Victor Rubezhny commented on JBIDE-9872:
----------------------------------------

There will be many problems while detecting the document type by its content as well as we can not guaranteed to identify properly the type of content. WTP Structured Model is also not guaranteed to work properly with such files.

Also (as noted in your example) using VPE (JSPMultiPageEditor) for *.php files will conflict with PHP Development Tools (PDK) is installed. This will produce conflicts in VPE (JSPMultiPageEditor) and WTP Structured Model.

Probably, JBIDE-8049 will give you an example of probable content type conflict.
                
> Html editor should be able to show html files even though they don't end in .html
> ---------------------------------------------------------------------------------
>
>                 Key: JBIDE-9872
>                 URL: https://issues.jboss.org/browse/JBIDE-9872
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Visual Page Editor core
>            Reporter: Max Rydahl Andersen
>            Assignee: Yahor Radtsevich
>             Fix For: 3.3.0.M4, 3.3.0.Beta1
>
>
> take a working index.html and rename it to index.php and suddenly the editor don't want to show it complaining about non matching content type.
> rename back to .html and it works fine.
> Can't we make the editor accept content without having it registered as supporter of the identified content type?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list