[jboss-cvs] jboss-seam/examples/dvdstore/web/WEB-INF/incl ...
Norman Richards
norman.richards at jboss.com
Thu Mar 22 17:13:34 EDT 2007
User: nrichards
Date: 07/03/22 17:13:34
Modified: examples/dvdstore/web/WEB-INF/incl admin_nav.xhtml
store_nav.xhtml
Log:
add process status tab to clean up admin page
Revision Changes Path
1.10 +13 -3 jboss-seam/examples/dvdstore/web/WEB-INF/incl/admin_nav.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: admin_nav.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/web/WEB-INF/incl/admin_nav.xhtml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- admin_nav.xhtml 22 Feb 2007 06:03:49 -0000 1.9
+++ admin_nav.xhtml 22 Mar 2007 21:13:34 -0000 1.10
@@ -1,8 +1,18 @@
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib">
+
<ul>
- <li class="current">
- <s:link view="/admin/admin.xhtml" value="Manage Orders" propagation="none"/>
- </li>
+ <li id="page_admin"><s:link view="/admin/admin.xhtml" value="Manage Orders" propagation="none"/></li>
+ <li id="page_process"><s:link view="/admin/process.xhtml" value="Process Status" propagation="none"/></li>
</ul>
+
+ <script language="JavaScript">
+ function setClass(id, className) {
+ obj = document.getElementById(id);
+ if (obj != null) {
+ obj.className = className;
+ }
+ }
+ setClass("page_" + "#{page}", "current");
+ </script>
</div>
1.4 +1 -0 jboss-seam/examples/dvdstore/web/WEB-INF/incl/store_nav.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: store_nav.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/web/WEB-INF/incl/store_nav.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- store_nav.xhtml 22 Feb 2007 06:03:49 -0000 1.3
+++ store_nav.xhtml 22 Mar 2007 21:13:34 -0000 1.4
@@ -3,6 +3,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
+
<ul>
<li id="page_home"><s:link view="/home.xhtml" value="Home" propagation="none"/></li>
<li id="page_shop"><s:link view="/browse.xhtml" value="Shop" propagation="none"/></li>
More information about the jboss-cvs-commits
mailing list