[jboss-cvs] jboss-seam/examples/seambay/view ...
Shane Bryzak
sbryzak at redhat.com
Wed May 2 23:23:19 EDT 2007
User: sbryzak2
Date: 07/05/02 23:23:19
Modified: examples/seambay/view header.xhtml search.xhtml
Added: examples/seambay/view buy.xhtml
Log:
added buy page, cleaned up categories, hierarchical categories
Revision Changes Path
1.7 +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.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- header.xhtml 1 May 2007 01:31:49 -0000 1.6
+++ header.xhtml 3 May 2007 03:23:19 -0000 1.7
@@ -24,7 +24,7 @@
<div class="header_tools_bottom">
<div>
- <s:link view="/buy.xhtml" value="Buy" styleClass="header_action"
+ <s:link view="/buy.xhtml" value="Buy" styleClass="header_action" propagation="none"
/><s:link view="/sell.xhtml" value="Sell" styleClass="header_action" propagation="none"
/><s:link view="/help.xhtml" value="Help" styleClass="header_action"/>
</div>
1.9 +6 -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.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- search.xhtml 1 May 2007 01:31:49 -0000 1.8
+++ search.xhtml 3 May 2007 03:23:19 -0000 1.9
@@ -29,6 +29,12 @@
</h:selectOneMenu>
<h:commandButton action="#{auctionSearch.queryAuctions}" value="Search"/>
+
+ <br/>
+
+ <h:selectBooleanCheckbox value="#{auctionSearch.titleAndDescription}"/>
+ <span>Search title <b>and</b> description</span>
+
</h:form>
</div>
1.1 date: 2007/05/03 03:23:19; author: sbryzak2; state: Exp;jboss-seam/examples/seambay/view/buy.xhtml
Index: buy.xhtml
===================================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>seamBay</title>
<link href="style/home.css" rel="stylesheet" type="text/css"/>
<link href="style/common.css" rel="stylesheet" type="text/css"/>
<link href="style/buy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="container">
<ui:include src="header.xhtml"/>
<div class="content">
<div class="buyHeader">
Buy
</div>
<div class="buyContent">
<div class="buySectionHeader">
Search
</div>
<div class="search">
<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>
<br/>
<h:selectBooleanCheckbox value="#{auctionSearch.titleAndDescription}"/>
<span>Search title <b>and</b> description</span>
<br/>
<h:commandButton action="#{auctionSearch.queryAuctions}" value="Search"/>
</h:form>
</div>
<div class="buySectionHeader">
Browse Categories
</div>
<div class="buyCategories">
<div class="leftCategories">
<ui:repeat value="#{leftCategories}" var="cat">
<div>
<s:link view="/search.xhtml" action="#{auctionSearch.queryAuctions}" value="#{cat.name}" propagation="none" styleClass="mainCategory">
<f:param name="categoryId" value="#{cat.categoryId}"/>
</s:link><span class="dot">...</span>
</div>
<div class="subCatContainer">
<ui:repeat value="#{categoryAction.getSubCategories(cat)}" var="subcat">
<s:link view="/search.xhtml" action="#{auctionSearch.queryAuctions}" value="#{subcat.name}" propagation="none" styleClass="subCategory">
<f:param name="categoryId" value="#{subcat.categoryId}"/>
</s:link>
</ui:repeat>
</div>
</ui:repeat>
</div>
<div class="rightCategories">
<ui:repeat value="#{rightCategories}" var="cat">
<div>
<s:link view="/search.xhtml" action="#{auctionSearch.queryAuctions}" value="#{cat.name}" propagation="none" styleClass="mainCategory">
<f:param name="categoryId" value="#{cat.categoryId}"/>
</s:link><span class="dot">...</span>
</div>
<div class="subCatContainer">
<ui:repeat value="#{categoryAction.getSubCategories(cat)}" var="subcat">
<s:link view="/search.xhtml" action="#{auctionSearch.queryAuctions}" value="#{subcat.name}" propagation="none" styleClass="subCategory">
<f:param name="categoryId" value="#{subcat.categoryId}"/>
</s:link>
</ui:repeat>
</div>
</ui:repeat>
</div>
<br class="clear"/>
</div>
</div>
</div>
</div>
</body>
</html>
More information about the jboss-cvs-commits
mailing list