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

Shane Bryzak sbryzak at redhat.com
Tue Apr 17 01:38:28 EDT 2007


  User: sbryzak2
  Date: 07/04/17 01:38:27

  Modified:    examples/seambay/view  search.xhtml
  Log:
  minor
  
  Revision  Changes    Path
  1.5       +7 -3      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.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- search.xhtml	16 Apr 2007 03:57:41 -0000	1.4
  +++ search.xhtml	17 Apr 2007 05:38:27 -0000	1.5
  @@ -38,9 +38,13 @@
             Matching Categories
           </div>
           
  -        <ui:repeat value="#{auctionSearch.searchCategories}" var="cat">
  -          <div><s:link action="#{auctionSearch.selectCategory(cat)}" value="#{cat.key.name}"/> (#{cat.value})</div>
  -        </ui:repeat>
  +        <h:form>
  +          <h:dataTable id="categories" value="#{auctionSearch.searchCategories}" var="entry">
  +            <h:column>
  +              <h:commandLink action="#{auctionSearch.selectCategory(entry.key)}" value="#{entry.key.name}"/> (#{entry.value})
  +            </h:column>
  +          </h:dataTable>
  +        </h:form>
         </div>
   
         <div id="searchResults">
  
  
  



More information about the jboss-cvs-commits mailing list