[jboss-cvs] jboss-seam/examples/wiki/view/plugins/userControl ...
Christian Bauer
christian.bauer at jboss.com
Thu Feb 22 06:52:26 EST 2007
User: cbauer
Date: 07/02/22 06:52:26
Modified: examples/wiki/view/plugins/userControl plugin.xhtml
Log:
Full keyboard/shortcut navigation
Revision Changes Path
1.2 +9 -6 jboss-seam/examples/wiki/view/plugins/userControl/plugin.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: plugin.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/userControl/plugin.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- plugin.xhtml 21 Feb 2007 16:24:11 -0000 1.1
+++ plugin.xhtml 22 Feb 2007 11:52:26 -0000 1.2
@@ -9,12 +9,15 @@
<h:form>
<h:panelGroup>
<h:outputLabel styleClass="userControlLabel" for="loginUsername" value="Username:"/>
- <h:inputText styleClass="userControlInput" id="loginUsername" value="#{identity.username}" size="8"/>
+ <h:inputText styleClass="userControlInput" id="loginUsername" value="#{identity.username}" size="8" tabindex="50"/>
<h:outputLabel styleClass="userControlLabel" for="loginPassword" value="Password:"/>
- <h:inputSecret styleClass="userControlInput" id="loginPassword" value="#{identity.password}" size="8"/>
- <h:commandLink styleClass="userControlLink" value="Login" action="#{identity.login}"/>
+ <h:inputSecret styleClass="userControlInput" id="loginPassword" value="#{identity.password}" size="8" tabindex="51"/>
+ <h:commandLink styleClass="userControlLink" action="#{identity.login}" tabindex="52" accesskey="L"><u>L</u>ogin</h:commandLink>
+
+ <s:link styleClass="userControlLink" action="register" tabindex="53" accesskey="R"><u>R</u>egister</s:link>
+
+ <s:link styleClass="userControlLink" action="listUsers" tabindex="54" accesskey="M"><u>M</u>embers</s:link>
- <s:link styleClass="userControlLink" value="Register" action="register"/>
</h:panelGroup>
</h:form>
</s:div>
@@ -23,8 +26,8 @@
<h:form>
<h:panelGroup>
<h:outputText styleClass="userControlLabel" value="(#{authenticatedUser.firstname} #{authenticatedUser.lastname})"/>
- <h:commandLink styleClass="userControlLink" value="Logout" action="#{identity.logout}"/>
- <s:link styleClass="userControlLink" value="Profile" action="editMyProfile"/>
+ <h:commandLink styleClass="userControlLink" action="#{identity.logout}" tabindex="70">Logout</h:commandLink>
+ <s:link styleClass="userControlLink" action="editMyProfile" tabindex="71">Profile</s:link>
</h:panelGroup>
</h:form>
</s:div>
More information about the jboss-cvs-commits
mailing list