Author: reto
Date: Tue Mar 9 12:27:14 2010
New Revision: 920832
URL: http://svn.apache.org/viewvc?rev=920832&view=rev
Log:
fixed documentation for alert message
Modified:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt
Modified:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt
URL:
http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt?rev=920832&r1=920831&r2=920832&view=diff
==============================================================================
---
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt
(original)
+++
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt
Tue Mar 9 12:27:14 2010
@@ -2,79 +2,79 @@
<bundle:///web-resources-scripts-title>
<http://discobits.org/ontology#infoBit> "Javascript
Library"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<bundle:///web-resources-scripts-content-el/3-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
<bundle:///web-resources-scripts-content-el/3-title>
<http://discobits.org/ontology#infoBit>
"Overlay"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e24 <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-title> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e24 <http://discobits.org/ontology#pos> "0"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e24
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e23
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e23 <http://discobits.org/ontology#pos> "1"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e23 <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/1-content> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e22 <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/3-content> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e22 <http://discobits.org/ontology#pos> "1"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e22
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e86
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/2> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e86
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e86 <http://discobits.org/ontology#pos>
"2" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e85
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/3-content> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e85 <http://discobits.org/ontology#pos>
"1" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e85
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+<bundle:///web-resources-scripts-content>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e84 .
+<bundle:///web-resources-scripts-content>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e86 .
<bundle:///web-resources-scripts-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#OrderedContent> .
-<bundle:///web-resources-scripts-content>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e21
.
-<bundle:///web-resources-scripts-content>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e20
.
-<bundle:///web-resources-scripts-content>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e1f
.
-<bundle:///web-resources-scripts-content>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e1e
.
-<bundle:///web-resources-scripts-content-el/1-content>
<http://discobits.org/ontology#infoBit> "<code
xmlns=\"http://www.w3.org/1999/xhtml\">StatusMessage</code> allows to
add/remove status messages (e.g. saving) to an overlay (absolut positioned
<code xmlns=\"http://www.w3.org/1999/xhtml\">div</code>) which follows the
mouse pointer. During a ajax request a status message can be added and after
the response the message can be removed. Each message is added to an
array.\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong
xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div
xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n<html
xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta
http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n
<link type=\"text/css\" href=\"/style/style.css\
" rel=\"stylesheet\" />\n\t\t<script src=\"/jquery/jquery-1.3.2.min.js\"
type=\"text/javascript\" />\n\t\t<script
src=\"/scripts/status-message.js\" type=\"text/javascript\" />\n\n
<title>Simple</title>\n </head>\n <body>\n
<div>\n <a href=\"#\"
onclick=\"statusMessage.add('id-of-message', 'text to display');\">click
here to add the message </a> <br/>\n <a href=\"#\"
onclick=\"statusMessage.remove('id-of-message');\">click here to remove the
message </a>\n </div>\n
</body>\n</html>\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
.
+<bundle:///web-resources-scripts-content>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e83 .
+<bundle:///web-resources-scripts-content>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e82 .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e84
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/1> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e84 <http://discobits.org/ontology#pos>
"1" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e84
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
<bundle:///web-resources-scripts-content-el/1-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
-<bundle:///web-resources-scripts-content-el/3>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e22
.
-<bundle:///web-resources-scripts-content-el/3>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e1d
.
+<bundle:///web-resources-scripts-content-el/1-content>
<http://discobits.org/ontology#infoBit> "<code
xmlns=\"http://www.w3.org/1999/xhtml\">StatusMessage</code> allows to
add/remove status messages (e.g. saving) to an overlay (absolut positioned
<code xmlns=\"http://www.w3.org/1999/xhtml\">div</code>) which follows the
mouse pointer. During a ajax request a status message can be added and after
the response the message can be removed. Each message is added to an
array.\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong
xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div
xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n<html
xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta
http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n
<link type=\"text/css\" href=\"/style/style.css\
" rel=\"stylesheet\" />\n\t\t<script src=\"/jquery/jquery-1.3.2.min.js\"
type=\"text/javascript\" />\n\t\t<script
src=\"/scripts/status-message.js\" type=\"text/javascript\" />\n\n
<title>Simple</title>\n </head>\n <body>\n
<div>\n <a href=\"#\"
onclick=\"statusMessage.add('id-of-message', 'text to display');\">click
here to add the message </a> <br/>\n <a href=\"#\"
onclick=\"statusMessage.remove('id-of-message');\">click here to remove the
message </a>\n </div>\n
</body>\n</html>\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
.
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e81
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e81
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/0-content> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e81 <http://discobits.org/ontology#pos>
"1" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e80
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e80 <http://discobits.org/ontology#pos>
"1" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e80
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/1-content> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7f
<http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-title> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7f <http://discobits.org/ontology#pos>
"0" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7f
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e82
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e82 <http://discobits.org/ontology#pos>
"3" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e82
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/3> .
<bundle:///web-resources-scripts-content-el/3>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
-<bundle:///web-resources-scripts-content-el/0-content>
<http://discobits.org/ontology#infoBit> "The <code
xmlns=\"http://www.w3.org/1999/xhtml\">ModificationStatus</code> is a global
object with a field <code
xmlns=\"http://www.w3.org/1999/xhtml\">isModified</code> indicating if some
saveable information has been changed on the page. \n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nThe isModified field can be set
by client code (see example: if the user clicks on the div with the blue
background color <code xmlns=\"http://www.w3.org/1999/xhtml\">isModified</code>
is set to true), or alternatively elements that fire change events can be
registered for being monitored using <code
xmlns=\"http://www.w3.org/1999/xhtml\">watchElements</code> (the following
example adds listeners to all input fields).<code
xmlns=\"http://www.w3.org/1999/xhtml\">watchElements</code> takes a jquery
selector string to specify the elements to be wat
ched.<br xmlns=\"http://www.w3.org/1999/xhtml\"></br><br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong
xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div
xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n<html
xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta
http-equiv=\"Content-Type\" content=\"text/html;
charset=UTF-8\"/>\n\t\t<script
src=\"/jquery/jquery-1.3.2.min.js\"\n\t\t\t\ttype=\"text/javascript\"
/>\n\t\t<script src=\"/scripts/modification-status.js\"
type=\"text/javascript\" />\n\t\t<script
type=\"text/javascript\">\n\t\t\tModificationStatus.watchElements(\"input\");\n\t\t</script>\n
<title>Simple</title>\n </head>\n
<body>\n <div>\n <div>click to modify:\n
<div style=\"background-color: blue
\" \n onclick=\"this.style.backgroundColor = 'red';
ModificationStatus.isModified = true\">\n </div>\n
</div>\n\t\t<a
href=\"http://clerezza.org/\">clerezza.org</a>\n\t\t<a
href=\"http://clerezza.org/\">clerezza.org</a>\n\t\t<input
type=\"text\" / >\n
</body>\n</html>\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
.
+<bundle:///web-resources-scripts-content-el/3>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7e .
+<bundle:///web-resources-scripts-content-el/3>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e85 .
<bundle:///web-resources-scripts-content-el/0-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///web-resources-scripts-content-el/0-content>
<http://discobits.org/ontology#infoBit> "The <code
xmlns=\"http://www.w3.org/1999/xhtml\">ModificationStatus</code> is a global
object with a field <code
xmlns=\"http://www.w3.org/1999/xhtml\">isModified</code> indicating if some
saveable information has been changed on the page. \n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nThe isModified field can be set
by client code (see example: if the user clicks on the div with the blue
background color <code xmlns=\"http://www.w3.org/1999/xhtml\">isModified</code>
is set to true), or alternatively elements that fire change events can be
registered for being monitored using <code
xmlns=\"http://www.w3.org/1999/xhtml\">watchElements</code> (the following
example adds listeners to all input fields).<code
xmlns=\"http://www.w3.org/1999/xhtml\">watchElements</code> takes a jquery
selector string to specify the elements to be wat
ched.<br xmlns=\"http://www.w3.org/1999/xhtml\"></br><br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong
xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div
xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n<html
xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta
http-equiv=\"Content-Type\" content=\"text/html;
charset=UTF-8\"/>\n\t\t<script
src=\"/jquery/jquery-1.3.2.min.js\"\n\t\t\t\ttype=\"text/javascript\"
/>\n\t\t<script src=\"/scripts/modification-status.js\"
type=\"text/javascript\" />\n\t\t<script
type=\"text/javascript\">\n\t\t\tModificationStatus.watchElements(\"input\");\n\t\t</script>\n
<title>Simple</title>\n </head>\n
<body>\n <div>\n <div>click to modify:\n
<div style=\"background-color: blue
\" \n onclick=\"this.style.backgroundColor = 'red';
ModificationStatus.isModified = true\">\n </div>\n
</div>\n\t\t<a
href=\"http://clerezza.org/\">clerezza.org</a>\n\t\t<a
href=\"http://clerezza.org/\">clerezza.org</a>\n\t\t<input
type=\"text\" / >\n
</body>\n</html>\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
.
<bundle:///web-resources-scripts-content-el/3-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
<bundle:///web-resources-scripts-content-el/3-content>
<http://discobits.org/ontology#infoBit> "The <code
xmlns=\"http://www.w3.org/1999/xhtml\">Overlay</code> behave similarly to an OS
window. Unlike true browser popup windows, the overlay is floating DHTML
elements embedded directly within the page context. The Overlay is positioned
above the flow of a page and is draggable, resizable and has a close button.
The Overlay has a method show with arguments body, header, width and height,
which renders the overlay. The body and the header can be html elements or
text. The width (default value: 46em) and height (default value: 37em) can be
defined absolutely or relatively.\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nThe following css and scripts
have to be included:\n<div xmlns=\"http://www.w3.org/1999/xhtml\"
class=\"tx-blockcode\">\n <link
href=\"/yui/container/assets/container-core.css\" rel=\"stylesheet\" type=\"tex
t/css\"/>\n <script src=\"/yui/yahoo-dom-event/yahoo-dom-event.js\"
type=\"text/javascript\"/>\n <script src=\"/yui/element/element-min.js\"
type=\"text/javascript\"/>\n <script
src=\"/yui/container/container-min.js\" type=\"text/javascript\"/>\n
<script src=\"/yui/dragdrop/dragdrop-min.js\"
type=\"text/javascript\"/>\n <script src=\"/yui/resize/resize-min.js\"
type=\"text/javascript\"/>\n <script src=\"/yui/utilities/utilities.js\"
type=\"text/javascript\"/>\n <script src=\"/scripts/overlay.js\"
type=\"text/javascript\"/>\n</div>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong
xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>;:\n\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div
xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n...\n
<body>\n <div style=\"display: none\">\n <div
id=\"myOverlayBody\">body</d
iv>\n </div>\n <div>\n <a href=\"#\"
onclick=\"Overlay.show($('#myOverlayBody').html(),'header', '20em',
'10em');\">click here to add the overlay </a> <br/>\n
</div>\n
</body>\n...\n<br></br>\n</div>\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
.
-<bundle:///web-resources-scripts-content-el/2>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e1c
.
-<bundle:///web-resources-scripts-content-el/2>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e1b
.
+<bundle:///web-resources-scripts-content-el/2>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7d .
+<bundle:///web-resources-scripts-content-el/2>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7c .
<bundle:///web-resources-scripts-content-el/2>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7b
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7b <http://discobits.org/ontology#pos>
"1" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7b
<http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content>
.
<bundle:///web-resources-scripts-content-el/2-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
<bundle:///web-resources-scripts-content-el/2-title>
<http://discobits.org/ontology#infoBit> "Alert
Message"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7a
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7a
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/0-title> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7a <http://discobits.org/ontology#pos>
"0" .
<bundle:///web-resources-scripts-content-el/2-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
-<bundle:///web-resources-scripts-content-el/2-content>
<http://discobits.org/ontology#infoBit> "AlertMessage shows a dialog box on top
of a page. AlertMessage has a method show, which creates and renders a dialog
box. This method takes as argument a callback function, which is executed when
the \"accept\"-button is pressed, message, a header message, text for the
\"accept\"-button and text for the \"decline\"-button. The message, header
message, text for \"accept\"-button, text for the \"decline\"-button are
optional. The default values are shown in the following example.\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nAlertMessage needs the following
css and javascript:\n <div xmlns=\"http://www.w3.org/1999/xhtml\"
class=\"tx-blockcode\">\n<link
href=\"/yui/container/assets/container-core.css\" rel=\"stylesheet\"
type=\"text/css\"/><br></br>\n<script
src=\"/yui/yahoo-dom-event/yahoo-dom-event.js\" type=\"text/ja
vascript\"/><br></br>\n<script src=\"/yui/element/element-min.js\"
type=\"text/javascript\"/><br></br>\n<script
src=\"/yui/container/container-min.js\"
type=\"text/javascript\"/><br></br>\n</div>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div
xmlns=\"http://www.w3.org/1999/xhtml\"
class=\"tx-blockcode\">\nAlertMessage.show(function(){alert(\"done\");}, \"Are
you sure you want to lose the unsaved changes\", \"Unsaved changes\", \"Yes\",
\"No\");\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1a
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1a <http://discobits.org/ontology#pos> "0"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1a <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/1-title> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e19 <http://discobits.org/ontology#pos> "0"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e19
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e19 <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/0-title> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e18
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e18 <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/0-content> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e18 <http://discobits.org/ontology#pos> "1"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e20 <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/1> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e20 <http://discobits.org/ontology#pos> "1"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e20
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1e
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1e <http://discobits.org/ontology#pos> "3"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1e <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/3> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1d <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/3-title> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1d <http://discobits.org/ontology#pos> "0"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1d
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1b
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1b <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/2-title> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1b <http://discobits.org/ontology#pos> "0"
.
-<bundle:///web-resources-scripts-content-el/1-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///web-resources-scripts-content-el/2-content>
<http://discobits.org/ontology#infoBit> "AlertMessage shows a dialog box on top
of a page. AlertMessage has a method show, which creates and renders a dialog
box. This method takes as argument a callback function, which is executed when
the \"accept\"-button is pressed, message, a header message, text for the
\"accept\"-button and text for the \"decline\"-button. The message, header
message, text for \"accept\"-button, text for the \"decline\"-button are
optional. The default values are shown in the following example.\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nAlertMessage needs the following
css and javascript:\n <div xmlns=\"http://www.w3.org/1999/xhtml\"
class=\"tx-blockcode\">\n<link
href=\"/yui/container/assets/container-core.css\" rel=\"stylesheet\"
type=\"text/css\"/>\n<script src=\"/jquery/jquery-1.3.2.min.js\"
type=\"text/javascript\" />\n<
;script src=\"/yui/yahoo-dom-event/yahoo-dom-event.js\"
type=\"text/javascript\"/>\n<script src=\"/yui/element/element-min.js\"
type=\"text/javascript\"/>\n<script
src=\"/yui/container/container-min.js\"
type=\"text/javascript\"/>\n<script src=\"/scripts/alert-message.js\"
type=\"text/javascript\"/>\n</div>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br
xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div
xmlns=\"http://www.w3.org/1999/xhtml\"
class=\"tx-blockcode\">\nAlertMessage.show(function(){alert(\"done\");}, \"Are
you sure you want to lose the unsaved changes\", \"Unsaved changes\", \"Yes\",
\"No\");\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<bundle:///web-resources-scripts-content-el/1-title>
<http://discobits.org/ontology#infoBit> "Status
Message"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1c <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/2-content> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1c <http://discobits.org/ontology#pos> "1"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1c
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-<bundle:///web-resources-scripts-content-el/0-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///web-resources-scripts-content-el/1-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7e
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7e <http://discobits.org/ontology#pos>
"0" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7e
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/3-title> .
<bundle:///web-resources-scripts-content-el/0-title>
<http://discobits.org/ontology#infoBit> "Modification
Status"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-<bundle:///web-resources-scripts-content-el/1>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e23
.
+<bundle:///web-resources-scripts-content-el/0-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///web-resources-scripts-content-el/1>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e79 .
<bundle:///web-resources-scripts-content-el/1>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
-<bundle:///web-resources-scripts-content-el/1>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e1a
.
-<bundle:///web-resources-scripts-content-el/0>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e18
.
-<bundle:///web-resources-scripts-content-el/0>
<http://discobits.org/ontology#contains> _:A78ce6e94X3aX125bba622b6X3aXX2dX6e19
.
+<bundle:///web-resources-scripts-content-el/1>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e80 .
<bundle:///web-resources-scripts-content-el/0>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e17 <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e17 <http://discobits.org/ontology#pos> "1"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e17
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e21 <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/0> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e21 <http://discobits.org/ontology#pos> "0"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e21
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1f <http://discobits.org/ontology#pos> "2"
.
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1f
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:A78ce6e94X3aX125bba622b6X3aXX2dX6e1f <http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/2> .
-<bundle:///web-resources-scripts> <http://discobits.org/ontology#contains>
_:A78ce6e94X3aX125bba622b6X3aXX2dX6e17 .
-<bundle:///web-resources-scripts> <http://discobits.org/ontology#contains>
_:A78ce6e94X3aX125bba622b6X3aXX2dX6e24 .
+<bundle:///web-resources-scripts-content-el/0>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7a .
+<bundle:///web-resources-scripts-content-el/0>
<http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e81 .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e79
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e79 <http://discobits.org/ontology#pos>
"0" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e79
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/1-title> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7c <http://discobits.org/ontology#pos>
"0" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7c
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/2-title> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7c
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e83
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e83 <http://discobits.org/ontology#pos>
"0" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e83
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/0> .
<bundle:///web-resources-scripts>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
+<bundle:///web-resources-scripts> <http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7f .
+<bundle:///web-resources-scripts> <http://discobits.org/ontology#contains>
_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7b .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7d
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7d <http://discobits.org/ontology#pos>
"1" .
+_:AX2dX304e41c0X3aX1274283458aX3aXX2dX7e7d
<http://discobits.org/ontology#holds>
<bundle:///web-resources-scripts-content-el/2-content> .