[jboss-cvs] jboss-seam/examples/wiki/view ...
Christian Bauer
christian.bauer at jboss.com
Thu Feb 22 08:05:44 EST 2007
User: cbauer
Date: 07/02/22 08:05:44
Modified: examples/wiki/view profile.xhtml dirEdit.xhtml
docEdit.xhtml
Log:
Fixed broken buttons (still ugly in IE but I don't care)
Revision Changes Path
1.4 +6 -6 jboss-seam/examples/wiki/view/profile.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: profile.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/profile.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- profile.xhtml 22 Feb 2007 11:52:25 -0000 1.3
+++ profile.xhtml 22 Feb 2007 13:05:44 -0000 1.4
@@ -132,15 +132,15 @@
<div class="label"> </div>
<div class="input">
- <h:commandLink id="register" styleClass="buttonHidden" action="#{userHome.persist}"
+ <h:commandLink id="register" styleClass="button"
+ action="#{userHome.persist}"
rendered="#{!userHome.managed}"
- tabindex="8" accesskey="G"/>
- <h:outputLabel for="register" styleClass="button" rendered="#{!userHome.managed}">Re<u>g</u>ister</h:outputLabel>
+ tabindex="8" accesskey="G"><span class="buttonLabel">Re<u>g</u>ister</span></h:commandLink>
- <h:commandLink id="update" styleClass="buttonHidden" action="#{userHome.update}"
+ <h:commandLink id="update" styleClass="button"
+ action="#{userHome.update}"
rendered="#{userHome.managed}"
- tabindex="9" accesskey="U"/>
- <h:outputLabel for="update" styleClass="button" rendered="#{userHome.managed}"><u>U</u>pdate</h:outputLabel>
+ tabindex="9" accesskey="U"><span class="buttonLabel"><u>U</u>pdate</span></h:commandLink>
</div>
</div>
1.5 +9 -15 jboss-seam/examples/wiki/view/dirEdit.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: dirEdit.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/dirEdit.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- dirEdit.xhtml 22 Feb 2007 11:52:25 -0000 1.4
+++ dirEdit.xhtml 22 Feb 2007 13:05:44 -0000 1.5
@@ -148,33 +148,27 @@
<div class="label"> </div>
<div class="input">
- <h:commandLink id="preview" styleClass="buttonNonpersistentHidden"
+ <h:commandLink id="preview" styleClass="buttonNonpersistent"
action="#{directoryHome.previewMenuItems()}"
rendered="#{childNodes.rowCount>0}"
- tabindex="5" accesskey="P"/>
- <h:outputLabel for="preview" styleClass="buttonNonpersistent" rendered="#{childNodes.rowCount>0}"><u>P</u>review</h:outputLabel>
+ tabindex="5" accesskey="P"><span class="buttonLabel"><u>P</u>review</span></h:commandLink>
- <h:commandLink id="save" styleClass="buttonHidden" action="#{directoryHome.persist}"
+ <h:commandLink id="save" styleClass="button"
+ action="#{directoryHome.persist}"
rendered="#{!directoryHome.managed}"
- tabindex="6" accesskey="S"/>
- <h:outputLabel for="save" styleClass="button" rendered="#{!directoryHome.managed}"><u>S</u>ave</h:outputLabel>
+ tabindex="6" accesskey="S"><span class="buttonLabel"><u>S</u>ave</span></h:commandLink>
- <h:commandLink id="update" styleClass="buttonHidden"
+ <h:commandLink id="update" styleClass="button"
action="#{directoryHome.update}"
rendered="#{directoryHome.managed}"
- tabindex="7" accesskey="U"/>
- <h:outputLabel for="update" styleClass="button" rendered="#{directoryHome.managed}"><u>U</u>pdate</h:outputLabel>
+ tabindex="7" accesskey="U"><span class="buttonLabel"><u>U</u>pdate</span></h:commandLink>
- <h:commandLink id="delete" styleClass="buttonHidden"
+ <h:commandLink id="delete" styleClass="button"
action="#{directoryHome.remove}"
rendered="#{directoryHome.managed
and !empty directoryHome.instance.parent
and empty directoryHome.instance.children}"
- tabindex="8" accesskey="D"/>
- <h:outputLabel for="delete" styleClass="button"
- rendered="#{directoryHome.managed
- and !empty directoryHome.instance.parent
- and empty directoryHome.instance.children}"><u>D</u>elete</h:outputLabel>
+ tabindex="8" accesskey="D"><span class="buttonLabel"><u>D</u>elete</span></h:commandLink>
</div>
</div>
1.5 +9 -15 jboss-seam/examples/wiki/view/docEdit.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: docEdit.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/docEdit.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- docEdit.xhtml 22 Feb 2007 11:52:25 -0000 1.4
+++ docEdit.xhtml 22 Feb 2007 13:05:44 -0000 1.5
@@ -81,27 +81,21 @@
<div class="label"> </div>
<div class="input">
- <h:commandLink id="preview" styleClass="buttonNonpersistentHidden"
+ <h:commandLink id="preview"
action="#{documentHome.setEnabledPreview(true)}"
- tabindex="3" accesskey="P"/>
- <h:outputLabel for="preview" styleClass="buttonNonpersistent"><u>P</u>review</h:outputLabel>
+ tabindex="3" accesskey="P" styleClass="buttonNonpersistent"><span class="buttonLabel"><u>P</u>review</span></h:commandLink>
- <h:commandLink id="save" styleClass="buttonHidden" action="#{documentHome.persist}"
+ <h:commandLink id="save" action="#{documentHome.persist}"
rendered="#{!documentHome.managed}"
- tabindex="4" accesskey="S"/>
- <h:outputLabel for="save" styleClass="button" rendered="#{!documentHome.managed}"><u>S</u>ave</h:outputLabel>
+ tabindex="4" accesskey="S"><span class="button"><u>S</u>ave</span></h:commandLink>
- <h:commandLink id="update" styleClass="buttonHidden"
- action="#{documentHome.update}"
+ <h:commandLink id="update" action="#{documentHome.update}"
rendered="#{documentHome.managed}"
- tabindex="5" accesskey="U"/>
- <h:outputLabel for="update" styleClass="button" rendered="#{documentHome.managed}"><u>U</u>pdate</h:outputLabel>
+ tabindex="4" accesskey="U" styleClass="button"><span class="buttonLabel"><u>U</u>pdate</span></h:commandLink>
- <h:commandLink id="delete" styleClass="buttonHidden"
- action="#{documentHome.remove}"
+ <h:commandLink id="delete" action="#{documentHome.remove}"
rendered="#{documentHome.managed}"
- tabindex="6" accesskey="D"/>
- <h:outputLabel for="delete" styleClass="button" rendered="#{documentHome.managed}"><u>D</u>elete</h:outputLabel>
+ tabindex="5" accesskey="D" styleClass="button"><span class="buttonLabel"><u>D</u>elete</span></h:commandLink>
</div>
</div>
More information about the jboss-cvs-commits
mailing list