Scarab commit: svn commit: r10590 - trunk/src/webapp/WEB-INF/templates/macros/AdvancedQueryMacro.vm

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: ronvoe122
Date: 2008-05-25 13:54:36-0700
New Revision: 10590

Modified:
   trunk/src/webapp/WEB-INF/templates/macros/AdvancedQueryMacro.vm

Log:
SCB1454: Issue search form: use simple input-elements for comments and long text-fields, because large textarea-elements are not necessary for entering a search term.

Modified: trunk/src/webapp/WEB-INF/templates/macros/AdvancedQueryMacro.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/macros/AdvancedQueryMacro.vm?view=diff&rev=10590&p1=trunk/src/webapp/WEB-INF/templates/macros/AdvancedQueryMacro.vm&p2=trunk/src/webapp/WEB-INF/templates/macros/AdvancedQueryMacro.vm&r1=10589&r2=10590
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/macros/AdvancedQueryMacro.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/macros/AdvancedQueryMacro.vm	2008-05-25 13:54:36-0700
@@ -178,12 +178,11 @@
 </div>
 #end
 
-## COMMENT QUERY
 <div>
 <h3>$l10n.CommentsTextSearch</h3>
 <p>
 #fieldErrorMsg($searchGroup.CommentQuery "")
-#textAreaMedium("$searchGroup.CommentQuery.Key" $searchGroup.CommentQuery)
+<input class="fullWidth" name= "$searchGroup.CommentQuery.Key" value="$searchGroup.CommentQuery" type="text" />
 </p>
 </div>
 
@@ -403,9 +402,7 @@
           #attrValueHierarchySelect ($attVal $field "4" true)
         #end
       #else
-        #if ($attVal.Attribute.AttributeType.Name == "long-string" )
-             #textAreaMedium("$attrInput.Value.Key" $attrInput.Value)
-        #elseif ($attVal.Attribute.AttributeType.Name == "date")
+        #if ($attVal.Attribute.AttributeType.Name == "date")
             #set ($ref = $attrInput.Value.Key)
             #set ($datevalue = $scarabR.formatDate($attrInput.Value.value))
             #set ($datevalue_aux = "")
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.