[jboss-cvs] jboss-seam/examples/seambay/view ...

Shane Bryzak sbryzak at redhat.com
Mon Apr 2 01:39:32 EDT 2007


  User: sbryzak2
  Date: 07/04/02 01:39:32

  Modified:    examples/seambay/view   header.xhtml search.xhtml
  Log:
  search by category
  
  Revision  Changes    Path
  1.3       +1 -1      jboss-seam/examples/seambay/view/header.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: header.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seambay/view/header.xhtml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- header.xhtml	29 Mar 2007 13:55:07 -0000	1.2
  +++ header.xhtml	2 Apr 2007 05:39:32 -0000	1.3
  @@ -18,7 +18,7 @@
           <div class="header_search">
             <h:form>
               <h:inputText id="searchTerm" value="#{auctionSearch.searchTerm}"/>
  -            <h:commandButton action="#{auctionSearch.queryAuctions}" value="Search"/>
  +            <h:commandButton action="#{auctionSearch.queryAllAuctions}" value="Search"/>
             </h:form>
           </div>
         </div>
  
  
  
  1.2       +8 -0      jboss-seam/examples/seambay/view/search.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: search.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seambay/view/search.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- search.xhtml	29 Mar 2007 13:55:07 -0000	1.1
  +++ search.xhtml	2 Apr 2007 05:39:32 -0000	1.2
  @@ -18,11 +18,19 @@
         
         <div class="banner"></div>
   
  +      <h:messages globalOnly="true"/>
  +
         <div id="searchHeader">
           <h:form>
             <h:inputText id="searchTerm" value="#{auctionSearch.searchTerm}" styleClass="searchTerm"/>
  +          <h:selectOneMenu id="selectedCat" value="#{auctionSearch.searchCategory}">
  +            <s:selectItems value="#{categories}" var="cat" label="#{cat.name}" noSelectionLabel="All Categories"/>
  +            <s:convertEntity />
  +          </h:selectOneMenu>
  +          
             <h:commandButton action="#{auctionSearch.queryAuctions}" value="Search"/>
           </h:form>
  +        
         </div>
         
         <div id="searchSidebar">
  
  
  



More information about the jboss-cvs-commits mailing list