[
https://jira.jboss.org/jira/browse/RF-4112?page=com.atlassian.jira.plugin...
]
Adam Hauner commented on RF-4112:
---------------------------------
Oops, ignore previous comment.
HTML 4.01 says, that type attribut is required for SCRIPT element:
18.2.1 The SCRIPT element
<!ELEMENT SCRIPT - - %Script; -- script statements -->
<!ATTLIST SCRIPT
charset %Charset; #IMPLIED -- char encoding of linked resource --
type %ContentType; #REQUIRED -- content type of script language --
src %URI; #IMPLIED -- URI for an external script --
defer (defer) #IMPLIED -- UA may defer execution of script --
http://www.w3.org/TR/html4/interact/scripts.html#edef-SCRIPT
Use <script type="text/javascript"> instead of
<script>
-------------------------------------------------------
Key: RF-4112
URL:
https://jira.jboss.org/jira/browse/RF-4112
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.1
Environment: all environments
Reporter: Petr Ferschmann
Assignee: Nick Belaevski
Fix For: 3.3.0
RichFaces uses non-valid <script> (eg. in suggestion). But it is not correct. It
should use <script type="text/javascript">. JavaScript is not the only
scripting language in current browsers.
RichFaces should try to be more HTML valid.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira