[seam-commits] Seam SVN: r10271 - in trunk/seam-gen/view: stylesheet and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Apr 2 01:27:41 EDT 2009
Author: dan.j.allen
Date: 2009-04-02 01:27:41 -0400 (Thu, 02 Apr 2009)
New Revision: 10271
Modified:
trunk/seam-gen/view/layout/menu.xhtml.ftl
trunk/seam-gen/view/stylesheet/theme.css
Log:
use drop down menu to group entity list pages in main menu bar
Modified: trunk/seam-gen/view/layout/menu.xhtml.ftl
===================================================================
--- trunk/seam-gen/view/layout/menu.xhtml.ftl 2009-04-02 00:15:41 UTC (rev 10270)
+++ trunk/seam-gen/view/layout/menu.xhtml.ftl 2009-04-02 05:27:41 UTC (rev 10271)
@@ -9,12 +9,17 @@
<h:outputText value="${'#'}{projectName}:"/>
<s:link view="/home.xhtml" value="Home" propagation="none"/>
</rich:toolBarGroup>
+ <rich:dropDownMenu showDelay="250" hideDelay="0" submitMode="none">
+ <f:facet name="label">Browse data</f:facet>
<#foreach entity in c2j.getPOJOIterator(cfg.classMappings)>
- <s:link view="/${entity.shortName}List.xhtml"
- value="${entity.shortName} List"
-includePageParams="false"
- propagation="none"/>
+ <rich:menuItem>
+ <s:link view="/${entity.shortName}List.xhtml"
+ value="${entity.shortName} List"
+ includePageParams="false"
+ propagation="none"/>
+ </rich:menuItem>
</#foreach>
+ </rich:dropDownMenu>
<!-- @newMenuItem@ -->
<rich:toolBarGroup location="right">
<h:outputText value="signed in as: ${'#'}{credentials.username}" rendered="${'#'}{identity.loggedIn}"/>
Modified: trunk/seam-gen/view/stylesheet/theme.css
===================================================================
--- trunk/seam-gen/view/stylesheet/theme.css 2009-04-02 00:15:41 UTC (rev 10270)
+++ trunk/seam-gen/view/stylesheet/theme.css 2009-04-02 05:27:41 UTC (rev 10271)
@@ -165,6 +165,10 @@
vertical-align: bottom;
}
+.rich-toolbar-item a {
+ text-decoration: none;
+}
+
.rich-datalist {
list-style: square;
margin: 6px 0 1px 0;
More information about the seam-commits
mailing list