You are viewing a plain text version of this content. The canonical link for it is here.
Posted to lokahi-commits@incubator.apache.org by to...@apache.org on 2006/06/20 16:19:52 UTC
svn commit: r415725 -
/incubator/lokahi/lokahi/trunk/conf/VM_global_library.vm
Author: toback
Date: Tue Jun 20 09:19:51 2006
New Revision: 415725
URL: http://svn.apache.org/viewvc?rev=415725&view=rev
Log:
Commented out an unused macro
Modified:
incubator/lokahi/lokahi/trunk/conf/VM_global_library.vm
Modified: incubator/lokahi/lokahi/trunk/conf/VM_global_library.vm
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/conf/VM_global_library.vm?rev=415725&r1=415724&r2=415725&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/VM_global_library.vm (original)
+++ incubator/lokahi/lokahi/trunk/conf/VM_global_library.vm Tue Jun 20 09:19:51 2006
@@ -1,6 +1,7 @@
## Display all queued Struts errors
#macro (errorMarkup)
+ <!--Size of errors: $errors.size -->
#if ($errors.exist() )
<ul>
#foreach ($e in $errors.all )
@@ -8,18 +9,18 @@
#end
</ul>
#end
-#end
+#end
## Display all queued Struts errors for a particular property
-#macro (errorMarkupForProperty $property)
- #if ($errors.exist($property) )
- <ul>
- #foreach ($er in $errors.get($property))
- $er
- #end
- </ul>
- #end
-#end
+##macro (errorMarkupForProperty $property)
+# #if ($errors.exist($property) )
+# <ul>
+# #foreach ($er in $errors.get($property))
+# $er
+# #end
+# </ul>
+# #end
+##end
#macro (tooltippopup $name $content)
<DIV onclick='event.cancelBubble = true;' class="popup" id="$name">$content <br> [<a class=closeLink href='#' onclick='hideCurrentPopup(); return false;'>close this tip</a>]</DIV>
@@ -31,7 +32,7 @@
## display messages
#macro (messagesMarkup)
-<!-- $messages.exist() -->
+<!-- Messages exist? $messages.exist() -->
#if ($messages.exist())
<ul>
#foreach ($e in $messages.getAll() )