지난번 질문에도 있던 부분이긴 한데요..

widget:preferences... 부분 이 아무리해도 안되서 질문합니다..
API 문서라고 올려놓으신 것에 포함된 간단한 메모장 예제 입니다..
화면이 뜨면 textarea에 __DEFAULT__ 라고 떠야 할텐데
undefined가 뜹니다.
이거 뭐가 잘못된건지 모르겠네요...


그리고 새로 올리신 AllBlog예제 이거도 역시 이상합니다
문서 중간에 갑자기 새로운 HTML이 등장하면서....
음..이거도 당췌 실행해볼 수가 없네요..


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:widget="http://wzdapi.com/widget/">
<head>

<script src="http://wzdapi.com/widget/emulator.js"></script>


<meta name="author" content="WzdWorks" />
<meta name="description" content="간단한 메모장입니다." />
<meta name="apiVersion" content="1.0" />
<meta name="debugMode" content="false" />
<link rel="icon" type="image/png" href="http://123.212.41.38/logo.PNG" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>메모장</title>

<widget:preferences>
  <widget:preference name="memo" type="text" defaultValue="__DEFAULT__" />
</widget:preferences>

<style>
/*<![CDATA[*/
  textarea {
    border: 1px solid black;
    width: 400px;
    height: 400px;
    overflow: auto;
  }
/*]]>*/
</style>
<script>
//<![CDATA[
var Memo = {
  onChange: function() {
    widget.setValue('memo', this.value);
  }
};
widget.onLoad = function(){
  var elem = widget.body.getElementsByTagName('textarea')[0];
  elem.value = widget.getValue('memo');
  elem.onchange = Memo.onChange;
};

//]]>

</script>


</head>
<body>
<textarea></textarea>
</body>
</html>