Author: ppitonak(a)redhat.com
Date: 2011-02-22 09:49:58 -0500 (Tue, 22 Feb 2011)
New Revision: 21871
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/resources/metamer/attributes.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/templates/header.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/templates/list.xhtml
Log:
added parameter "for" for labels
added parameter "alt" for images
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/resources/metamer/attributes.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/resources/metamer/attributes.xhtml 2011-02-22
14:31:38 UTC (rev 21870)
+++
modules/tests/metamer/trunk/application/src/main/webapp/resources/metamer/attributes.xhtml 2011-02-22
14:49:58 UTC (rev 21871)
@@ -28,7 +28,7 @@
<c:if test="#{not fn:contains(cc.attrs.exclude,
entry.key)}">
<h:panelGroup layout="block">
<h:outputLabel id="#{entry.key}Label"
value="#{entry.key}" style="margin-right: 5px;"
for="#{entry.key}Input"/>
- <h:graphicImage
value="/resources/images/help.png" title="#{entry.value.help}"
+ <h:graphicImage
value="/resources/images/help.png" title="#{entry.value.help}"
alt="help for attribute #{entry.key}"
rendered="#{entry.value.help !=
null}" height="18px;"
style="vertical-align: middle;"
styleClass="attribute-help" >
</h:graphicImage>
Modified: modules/tests/metamer/trunk/application/src/main/webapp/templates/header.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/templates/header.xhtml 2011-02-22
14:31:38 UTC (rev 21870)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/header.xhtml 2011-02-22
14:49:58 UTC (rev 21871)
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:rich="http://richfaces.org/rich">
+
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<!--
JBoss, Home of Professional Open Source
-Copyright 2010, Red Hat, Inc. and individual contributors
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
by the @authors tag. See the copyright.txt in the distribution for a
full listing of individual contributors.
@@ -55,7 +54,7 @@
<h:selectBooleanCheckbox id="a4jLogCheckbox"
value="false" onchange="showOrHideLog()" />
- <h:outputLabel id="a4jStatusLabel" value="Status"
/>
+ <h:outputLabel id="a4jStatusLabel" value="Status"
for="a4jStatusPanel"/>
<a4j:outputPanel id="a4jStatusPanel"
ajaxRendered="true">
<a4j:status id="a4jStatus"
onstop="updateLog('#{phasesBean.phases}')">
<f:facet name="start">
@@ -64,20 +63,20 @@
</a4j:status>
</a4j:outputPanel>
- <h:outputLabel value="Locale" />
+ <h:outputLabel id="localeLabel" value="Locale"
for="locale" />
<h:outputText id="locale"
value="#{facesContext.viewRoot.locale}" />
- <h:outputText id="showUiDebugLabel" value="Show
ui:debug" />
+ <h:outputLabel id="showUiDebugLabel" value="Show
ui:debug" for="showUiDebug" />
<h:outputText id="showUiDebug"
value="Ctrl+Shift+L" />
- <h:outputLabel value="Render Checker" />
+ <h:outputLabel id="renderCheckerLabel" value="Render
Checker" for="renderChecker"/>
<a4j:outputPanel id="renderChecker">
<h:outputText value="#{phasesBean.date}">
<f:convertDateTime pattern="HH:MM:ss.SSS" />
</h:outputText>
</a4j:outputPanel>
- <h:outputLabel value="Status Checker" />
+ <h:outputLabel id="statusCheckerLabel" value="Status
Checker" for="statusChecker" />
<a4j:outputPanel id="statusCheckerPanel">
<a4j:status id="statusChecker"
name="statusChecker" onstop="updateStatusChecker()" />
<h:outputText id="statusCheckerOutput"
value="" />
Modified: modules/tests/metamer/trunk/application/src/main/webapp/templates/list.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/templates/list.xhtml 2011-02-22
14:31:38 UTC (rev 21870)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/list.xhtml 2011-02-22
14:49:58 UTC (rev 21871)
@@ -35,7 +35,7 @@
<h:body>
<h:panelGrid columns="2" style="float: left; ">
<h:link id="goHomeLink" outcome="/index">
- <h:graphicImage id="goHomeImage" library="images"
name="home.png" title="Go Home" style="width: 36px;"/>
+ <h:graphicImage id="goHomeImage" library="images"
name="home.png" title="Go Home" style="width: 36px;"
alt="Go Home"/>
</h:link>
<h:panelGroup style="font-size: xx-large; font-weight:
bold;">