Author: dan.j.allen
Date: 2009-04-08 13:47:50 -0400 (Wed, 08 Apr 2009)
New Revision: 10353
Modified:
trunk/seam-gen/build.xml
Log:
surround HTML comment with <ui:remove> to prevent blank menu item
Modified: trunk/seam-gen/build.xml
===================================================================
--- trunk/seam-gen/build.xml 2009-04-08 17:38:22 UTC (rev 10352)
+++ trunk/seam-gen/build.xml 2009-04-08 17:47:50 UTC (rev 10353)
@@ -1249,7 +1249,7 @@
</copy>
<replace file="${project.home}/view/layout/menu.xhtml">
<replacetoken><![CDATA[<!-- @newMenuItem@
-->]]></replacetoken>
- <replacevalue><![CDATA[<s:link
view="/useradmin/home.xhtml" id="identityManagement"
value="Identity Management" propagation="none" rendered="#{true
or identity.hasRole('admin')}"/> <!-- temporarily enabled for all
-->
+ <replacevalue><![CDATA[<s:link
view="/useradmin/home.xhtml" id="identityManagement"
value="Identity Management" propagation="none" rendered="#{true
or identity.hasRole('admin')}"/><ui:remove><!-- temporarily
enabled for all --></ui:remove>
<!-- @newMenuItem@ -->]]></replacevalue>
</replace>
<replace
file="${project.home}/resources/WEB-INF/components.xml">