cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r526614 - in /cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms: file_explorer_model.xml file_explorer_template.xml
Date Sun, 08 Apr 2007 23:17:18 GMT
Author: gkossakowski
Date: Sun Apr  8 16:17:17 2007
New Revision: 526614

URL: http://svn.apache.org/viewvc?view=rev&rev=526614
Log:
Fix file tree sample:
* rewrite links to images by using servlet: protocol
* change src attribute in model. context: protocol should not be used because location of
blocks is not part of any (even informal) contract!

Modified:
    cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_model.xml
    cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_template.xml

Modified: cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_model.xml
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_model.xml?view=diff&rev=526614&r1=526613&r2=526614
==============================================================================
--- cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_model.xml
(original)
+++ cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_model.xml
Sun Apr  8 16:17:17 2007
@@ -24,7 +24,7 @@
 
   <fd:widgets>    
     <fd:tree id="directories" root-visible="true" selection="single">
-      <fd:tree-model type="source" src="context://samples/blocks/forms">
+      <fd:tree-model type="source" src=".">
         <!-- keep only directories -->
         <fd:fileset>
           <fd:exclude pattern="*"/>

Modified: cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_template.xml
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_template.xml?view=diff&rev=526614&r1=526613&r2=526614
==============================================================================
--- cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_template.xml
(original)
+++ cocoon/whiteboard/ajax-forms-refactoring/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/forms/file_explorer_template.xml
Sun Apr  8 16:17:17 2007
@@ -25,11 +25,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