[Building Sakai] Message Cntr 2.7.0 and WYSIWYG Editor Not showing Up

Earle Nietzel earle.nietzel at gmail.com
Tue Aug 23 08:58:29 PDT 2011


Hi Noah,

Here is the source and the error is occurring on this line (33):
<p>This page and the entire e-Portfolio should be professional in
nature since you are trying to document your skills and
accomplishments.</p></textarea><script type="text/javascript"
defer="1">sakai.editor.launch('content');</script></td>

In this case sakai undefined.

Why do these lines have a comment "//empty" on them?

<script type="text/javascript" language="JavaScript"
src="/library/js/jquery-1.1.2.js"> // empty
block </script><script type="text/javascript" language="JavaScript"
src="/library/js/headscripts.js"> // empty
block </script><script type="text/javascript" language="JavaScript"
src="/sakai-metaobj-tool/js/nicetitle.js"> // empty
block </script><script type="text/javascript" language="JavaScript"
src="/library/editor/FCKeditor/fckeditor.js"> // empty block
</script><script type="text/javascript"
src="/library/calendar/js/calendar1.js"> // empty block
</script><script type="text/javascript"
src="/library/calendar/js/calendar2.js"> // empty block </script>
</head>

After some tracing I noticed that fckeditor.js is never included since
I put breakpoint on the first line in this file and it is never
called.

On other tools that use the fckeditor I hit the breakpoint.

Earle


Here is the full source:

<html lang="en" xml:lang="en"
xmlns:sakaifn="org.sakaiproject.metaobj.utils.xml.XsltFunctions"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:osp="http://www.osportfolio.org/OspML"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>Portfolio content</title>
<link type="text/css" rel="stylesheet" media="all"
href="/library/skin/tool_base.css">
<link type="text/css" rel="stylesheet" media="all"
href="/library/skin/iportfolio/tool.css">
<link type="text/css" rel="stylesheet" media="all"
href="/sakai-metaobj-tool/css/metaobj.css">
<script type="text/javascript" language="JavaScript"
src="/library/js/jquery-1.1.2.js"> // empty
                    block </script><script type="text/javascript"
language="JavaScript" src="/library/js/headscripts.js"> // empty
                    block </script><script type="text/javascript"
language="JavaScript" src="/sakai-metaobj-tool/js/nicetitle.js"> //
empty
                    block </script><script type="text/javascript"
language="JavaScript" src="/library/editor/FCKeditor/fckeditor.js"> //
empty block </script><script type="text/javascript"
src="/library/calendar/js/calendar1.js"> // empty block
</script><script type="text/javascript"
src="/library/calendar/js/calendar2.js"> // empty block </script>
</head>
<body onLoad="setMainFrameHeight('Main049c1af0x6773x4b8ax9e54x65e4da740223');setFocus(focus_path);">
<div class="portletBody">
<input type="hidden" id="remove_item_msg" value="Remove this item">
<p class="instruction"></p>
<form method="post" onsubmit="a=1;">
<div class="shorttext required">
<span class="reqStar">*</span><label for="displayName">
                                        Save Page As

                                    </label><input type="text"
id="displayName" name="displayName" maxlength="1024" value="Big Home
Page ">
</div>
<div id="content" class="longtext">
<label for="content" class="block">Content</label><img
style="margin-left: 3px"
src="http://dev.ilearn.marist.edu/access/content/group/PortfolioAdmin/marist_portfolio/img/maristHeader.png
"><table>
<tr>
<td><textarea rows="30" cols="80" id="content"
name="content"><h2>Welcome to My Big Home Page</h2>

<p>The opening page delivers an initial reaction to your page and how
you want to present yourself. It also serves as the entrance to your
portfolio information. </p>

<p>This page and the entire e-Portfolio should be professional in
nature since you are trying to document your skills and
accomplishments.</p></textarea><script type="text/javascript"
defer="1">sakai.editor.launch('content');</script></td>
</tr>
</table>
</div>
<input type="hidden" name="childPath" value=""><input type="hidden"
name="childFieldLabel" value=""><input type="hidden" name="childIndex"
value=""><input type="hidden" name="fileHelper" value=""><input
type="hidden" name="editButton" value=""><input type="hidden"
name="removeButton" value="">
<div class="act">
<input type="submit" name="submitButton" class="active" accesskey="s"
value="Save Changes"><input type="submit" name="cancel" accesskey="x"
value="Cancel">
</div>
</form>
</div>
</body>
</html>


More information about the sakai-dev mailing list