[jboss-cvs] jboss-seam/examples/wiki/view ...
Christian Bauer
christian at hibernate.org
Thu Dec 20 07:34:53 EST 2007
User: cbauer
Date: 07/12/20 07:34:53
Modified: examples/wiki/view dirDisplay_d.xhtml
Log:
JBSEAM-1743 - Clipboard for copying/moving of nodes
Revision Changes Path
1.7 +4 -2 jboss-seam/examples/wiki/view/dirDisplay_d.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: dirDisplay_d.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/dirDisplay_d.xhtml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- dirDisplay_d.xhtml 20 Dec 2007 12:23:04 -0000 1.6
+++ dirDisplay_d.xhtml 20 Dec 2007 12:34:53 -0000 1.7
@@ -123,7 +123,8 @@
</s:fragment>
<s:fragment>
- <h:panelGroup styleClass="undecoratedLink" rendered="#{not empty childNodesList}">
+ <h:panelGroup styleClass="undecoratedLink"
+ rendered="#{not empty childNodesList and directoryHome.instance.id != wikiRoot.id}">
<h:outputText value="#{messages['lacewiki.label.Clipboard.Select']}: "/>
<h:outputLink value="#" onclick="selectCheckBoxes('wikiFileSelect'); switchClipboardControl();" tabindex="1">
<h:outputText value="#{messages['lacewiki.label.Clipboard.All']}"/>
@@ -175,7 +176,8 @@
<h:outputText styleClass="buttonLabel" escape="false" value="#{messages['lacewiki.button.Clipboard.Clear']}"/>
</h:commandLink>
<h:commandLink action="#{directoryHome.paste()}"
- rendered="#{not empty clipboard.items and s:hasPermission('Node', 'create', directoryHome.instance)}"
+ rendered="#{not empty clipboard.items and directoryHome.instance.id != wikiRoot.id
+ and s:hasPermission('Node', 'create', directoryHome.instance)}"
tabindex="1"
accesskey="#{messages['lacewiki.button.Clipboard.Paste.accesskey']}"
styleClass="button">
More information about the jboss-cvs-commits
mailing list