Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
4.1, 4.1.1, 4.1.2, 4.1.3, 4.1.5
-
None
-
None
Description
The JavaScript includes are rendered out of order when building portlets using the <ScriptIncludes> tag.
For example, when using a dojo tab widget within a portlet, the following script tag...
<script type="text/javascript"><!--
dojo.require("tapestry.widget.Widget");
// --></script>
...is rendered before the <ScriptIncludes> tag is able to render the dojo configuration script, causing a "dojo is not defined" JavaScript error, since the dojo object does not exist. This prevents the widget from being rendered.
Id fix this myself, but I have no clue where the render decisions for JavaScript is made.