[
https://issues.jboss.org/browse/RF-12494?page=com.atlassian.jira.plugin.s...
]
Brayan Zimmerli commented on RF-12494:
--------------------------------------
I denoted a workaround for developers struggling with the resource ordering of jquery.js,
when employing a jquery-depending javascript snipped on their site.
https://community.jboss.org/message/773908#773908
Resource ordering problem with the showcase
-------------------------------------------
Key: RF-12494
URL:
https://issues.jboss.org/browse/RF-12494
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: resource handling
Reporter: Brian Leathem
Assignee: Lukáš Fryč
Priority: Blocker
Fix For: 4.3.0.M2
We've picked up what looks like a bug with resource ordering in the showcase:
On building the jbas71 showcase, and deploying to a "full" JBoss AS 7.1.1.Final
server I get the following error on the showcase home page:
{quote}
Uncaught ReferenceError: jQuery is not defined (packed.js:3096)
{quote}
Looking at the html page source, packed.js comes before jquery.js:
{code}
<head>
<title>RichFaces Showcase</title>
<link type="text/css" rel="stylesheet"
href="/showcase/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0-SNAPSHOT/Packed/blueSky/skinning.css"
/>
<script type="text/javascript"
src="/showcase/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0-SNAPSHOT/Packed/packed/packed.js"></script>
<script type="text/javascript"
src="/showcase/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0-SNAPSHOT/Packed/jquery.js"></script>
<link type="text/css" rel="stylesheet"
href="/showcase/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.0-SNAPSHOT/Packed/blueSky/packed/packed.css"
/>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira