Scarab commit: svn commit: r10702 - trunk/src/webapp/WEB-INF/templates/screens/admin/GlobalAttributeEdit.vm

Hussayn Dabbous <[email protected]>
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2009-02-19 10:52:57-0800
New Revision: 10702

Modified:
   trunk/src/webapp/WEB-INF/templates/screens/admin/GlobalAttributeEdit.vm

Log:
This commit refers to SCB2797

There was a compatibility issue with linux and windows. The #parse directve seems to
work differently on both OS. I have switched to use of the renderer instead. That still
needs testing on the linux side.

Modified: trunk/src/webapp/WEB-INF/templates/screens/admin/GlobalAttributeEdit.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/screens/admin/GlobalAttributeEdit.vm?view=diff&pathrev=10702&r1=10701&r2=10702
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/screens/admin/GlobalAttributeEdit.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/screens/admin/GlobalAttributeEdit.vm	2009-02-19 10:52:57-0800
@@ -63,8 +63,8 @@
 
       <h3>$l10n.GlobalAttributeInfo</h3>
 
-      #parse("screens/admin/globalAttributeEdit/GlobalAttributeProperties.vm")
-      
+      $renderer.render("screens/admin/globalAttributeEdit", "GlobalAttributeProperties.vm")
+
       <div class="functnbar3">
         <input type="submit" value="$l10n.Save"  name="eventSubmit_doSaveattributedata" />
         #if (!$createNew)
@@ -79,13 +79,13 @@
           #set ($pcaos = $attribute.ParentChildAttributeOptions)
           #set ($maxNum = $pcaos.size())
  
-          #parse ("screens/admin/globalAttributeEdit/GlobalAttributeOptions.vm")
+          $renderer.render("screens/admin/globalAttributeEdit", "GlobalAttributeOptions.vm")
 
           <div class="functnbar3">
             <input type="submit" value="$l10n.Save"  name="eventSubmit_doSaveoptions" />
           </div>
 
-          #parse("screens/admin/globalAttributeEdit/GlobalAttributeTransitionManagement.vm")
+          $renderer.render("screens/admin/globalAttributeEdit", "GlobalAttributeTransitionManagement.vm")
 
         </div>
       #end

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=1193459
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.