cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r526702 - in /cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF: flow/forms_flow_example.js forms/sampletree_template.xml
Date Mon, 09 Apr 2007 10:10:43 GMT
Author: gkossakowski
Date: Mon Apr  9 03:10:42 2007
New Revision: 526702

URL: http://svn.apache.org/viewvc?view=rev&rev=526702
Log:
Fix paths in Sample tree.

Modified:
    cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/forms_flow_example.js
    cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/sampletree_template.xml

Modified: cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/forms_flow_example.js
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/forms_flow_example.js?view=diff&rev=526702&r1=526701&r2=526702
==============================================================================
--- cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/forms_flow_example.js
(original)
+++ cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/forms_flow_example.js
Mon Apr  9 03:10:42 2007
@@ -228,7 +228,7 @@
 function do_sampleTree() {
     var form = new Form("forms/sampletree_model.xml");
     var resolver = cocoon.getComponent(org.apache.excalibur.source.SourceResolver.ROLE);
-    var model = new org.apache.cocoon.forms.formmodel.tree.SourceTreeModel(resolver, "context://samples/blocks/forms");
+    var model = new org.apache.cocoon.forms.formmodel.tree.SourceTreeModel(resolver, ".");
     form.getChild("files").setModel(model);
     form.showForm("sampletree-display-pipeline.jx");
     cocoon.sendPage("xmlresult-display-pipeline.jx",

Modified: cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/sampletree_template.xml
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/sampletree_template.xml?view=diff&rev=526702&r1=526701&r2=526702
==============================================================================
--- cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/sampletree_template.xml
(original)
+++ cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/sampletree_template.xml
Mon Apr  9 03:10:42 2007
@@ -26,11 +26,11 @@
   <jx:macro name="toggle-icon">
 	  <jx:choose>
 	    <jx:when test="${treeNode.isLeaf()}">
-	      <img src="resources/forms/img/tree/win/${treeNode.iconType}.gif" border="0"/>
+	      <img src="servlet:forms:/resource/external/forms/img/tree/win/${treeNode.iconType}.gif"
border="0"/>
 	    </jx:when>
 	    <jx:otherwise>
 	       <a href="#" onclick="return TreeToggleCollapse('${widget.fullName}', '${treeNode.path}')"><img
-	         src="resources/forms/img/tree/win/${treeNode.iconType}.gif" border="0"/></a>
+	         src="servlet:forms:/resource/external/forms/img/tree/win/${treeNode.iconType}.gif"
border="0"/></a>
 	    </jx:otherwise>
 	  </jx:choose>
   </jx:macro>



Mime
View raw message