## ============================================================================ ## Filename : WebJSPSearchTemplate.vm ## Note(s) : This template is used to generate a search.jsp file for a given data class. ## ## Note: The generated code is dependent on the ThinkUI framework. ## Please refer to the SQL Client documentation for details. ## ## Copyright (c) 2007 ThinkUI Software Inc. All rights reserved. ## ============================================================================ ## ## **************************************************************************** ## The following variables are available in this template. For more ## information on any of the following variable, please refer to the user guide. ## **************************************************************************** ## $projectName ## $authorName ## $headerText ## $objectName ## $objectVar ## $objectCaption ## $pkAttrNames ## $auditAttrNames ## $attrNames ## $dataClass ## $date ## $auditTrailColumns ## $colspan ## $codeGen ## $cmt ## <%-- $cmt ============================================================================= $cmt Project : ${projectName} $cmt Filename : ${objectVar}/search.jsp $cmt Standards: J2EE 1.3 $cmt History : $date $authorName Created $cmt Note(s) : This screen is used to search/list ${objectName} objects. $cmt $cmt ${headerText} $cmt ============================================================================= $cmt $Header: /thinkui/cvsrepo/SQLClientWebsite/html/template/WebJSPSearchTemplate.vm.txt,v 1.3 2008/05/21 04:24:38 Huy Exp $ $cmt $Log: WebJSPSearchTemplate.vm.txt,v $ $cmt Revision 1.3 2008/05/21 04:24:38 Huy $cmt Updated for 1.0.6 release. $cmt $cmt --%> <%@ include file="../include/directives.jspf" %> <%@ include file="../include/taglib.jspf" %> <%@ include file="../include/header.jspf" %>
 

This screen allows you to search for ${objectCaption.toLowerCase()} information. If an appropriate ${objectCaption.toLowerCase()} is not found, you can create a new ${objectCaption.toLowerCase()}.

<%@ include file="../include/messages.jspf" %>
#foreach( $attrName in ${attrNames} ) #set( $attr = ${dataClass.getAttribute($attrName)} ) #end #if ($auditTrailColumns) #foreach( $attrName in ${auditAttrNames} ) #set( $attr = ${dataClass.getAttribute($attrName)} ) #end #end #foreach( $attrName in ${attrNames} ) #set( $attr = ${dataClass.getAttribute($attrName)} ) #end #if ($auditTrailColumns) #foreach( $attrName in ${auditAttrNames} ) #set( $attr = ${dataClass.getAttribute($attrName)} ) #end #end
 
${objectCaption} Id
Note: results are sorted by ${objectCaption} Ids.

*Required Field
#foreach( $attrName in ${pkAttrNames} ) #set( $attr = ${dataClass.getAttribute($attrName)} ) #if ($codeGen.isIncludeAttrName($attrName)) #end #end #foreach( $attrName in ${attrNames} ) #set( $attr = ${dataClass.getAttribute($attrName)} ) #if ($codeGen.isIncludeAttrName($attrName)) #end #end #if ($auditTrailColumns) #end
Please enter the search criteria and press Search button.
${objectCaption} ${attr.getCaption()}
Prefix search text with the special '%' regular expression symbol to perform a "contains" search of the text.

<%@ include file="../include/footer.jspf" %>