ovidiu 02/05/20 17:19:04
Modified: src/scratchpad/schecoon/webapp/docs samples.xml
src/scratchpad/schecoon/webapp/examples/calc calc.js
Removed: src/scratchpad/schecoon .cvsignore build.bat build.sh
build.xml
src/scratchpad/schecoon/emacs prj.el.in
src/scratchpad/schecoon/legal LICENSE.jakarta-commons
LICENSE.sisc
src/scratchpad/schecoon/lib commons-jpath-1.0b1.jar
rhino1.5r4-continuations-20020429.jar
sisc-1.3.3.jar sisc.heap
src/scratchpad/schecoon/src/cocoon components.xconf
java-language.xconf jpath.xconf sitemap.xconf
user-roles.xconf
src/scratchpad/schecoon/src/logkit category.xconf
target.xconf
src/scratchpad/schecoon/src/org/apache/cocoon/components/flow
AbstractInterpreter.java ContinuationsManager.java
ContinuationsManagerImpl.java Interpreter.java
InterpreterSelector.java ScriptSource.java
WebContinuation.java flow.xconf
src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript
JSCocoon.java JSGlobal.java JSLog.java
JSWebContinuation.java JavaScriptInterpreter.java
system.js
src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/scheme
SchemeInterpreter.java system.scm
src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor
treeprocessor-builtins2.xml
src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor/sitemap
CallFunctionNode.java CallNodeBuilder2.java
ContinueNode.java ContinueNodeBuilder.java
ScriptNode.java ScriptNodeBuilder.java
src/scratchpad/schecoon/src/org/apache/cocoon/markup/xsp
jpath.xsl
src/scratchpad/schecoon/src/org/apache/cocoon/transformation
AugmentTransformer.java
Log:
Integrated in the main trunk.
Revision Changes Path
1.2 +4 -0 xml-cocoon2/src/scratchpad/schecoon/webapp/docs/samples.xml
Index: samples.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/docs/samples.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- samples.xml 16 Apr 2002 00:45:51 -0000 1.1
+++ samples.xml 21 May 2002 00:19:04 -0000 1.2
@@ -22,6 +22,10 @@
<li><link href="examples/calc/">Calculator</link> - a simple
example using continuations to maintain the state between
requests.</li>
+
+ <li><link href="examples/survey/">Survey</link> - an example
+ of how to use flow control to edit an XML document.</li>
+
</ul>
</s1>
</body>
1.8 +4 -0 xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/calc.js
Index: calc.js
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/calc.js,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- calc.js 16 Apr 2002 00:36:07 -0000 1.7
+++ calc.js 21 May 2002 00:19:04 -0000 1.8
@@ -3,6 +3,10 @@
function calculator(uriPrefix)
{
prefix = uriPrefix;
+
+ print ("a = " + a);
+ print ("b = " + b);
+
var a = getNumber("a");
var b = getNumber("b", a);
var op = getOperator(a, b);
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]