Author: chris.laprun(a)jboss.com
Date: 2007-09-24 17:31:18 -0400 (Mon, 24 Sep 2007)
New Revision: 8471
Modified:
trunk/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/editConsumer.xhtml
trunk/core-wsrp/src/resources/portal-wsrp-admin-war/style.css
Log:
- JBPORTAL-1684: forgot to update message styles, made hr solid
Modified:
trunk/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/editConsumer.xhtml
===================================================================
---
trunk/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/editConsumer.xhtml 2007-09-24
21:23:53 UTC (rev 8470)
+++
trunk/core-wsrp/src/resources/portal-wsrp-admin-war/WEB-INF/jsf/consumers/editConsumer.xhtml 2007-09-24
21:31:18 UTC (rev 8471)
@@ -14,19 +14,20 @@
<hr/>
<h:form>
-<h:messages errorClass="error" infoClass="info"/>
+<h:messages errorClass="portlet-msg-error"
infoClass="portlet-msg-success"/>
<table width="100%" class="portlet-table-body #{consumer.active ?
'active' : 'inactive'}">
<tr>
<th>Producer id:</th>
<td>
- <h:inputText id="id" value="#{consumer.id}"/>
<h:message styleClass="error" for="id"/>
+ <h:inputText id="id" value="#{consumer.id}"/>
<h:message styleClass="portlet-msg-error" for="id"/>
</td>
</tr>
<tr>
<th>Cache expiration:</th>
<td>
- <h:inputText id="cache" value="#{consumer.cache}"/>
(seconds before expiration) <h:message styleClass="error"
-
for="cache"/>
+ <h:inputText id="cache" value="#{consumer.cache}"/>
(seconds before expiration) <h:message
+ styleClass="portlet-msg-error"
+ for="cache"/>
</td>
</tr>
<tr>
@@ -34,10 +35,11 @@
<td>
<h:selectBooleanCheckbox id="useWSDL"
value="#{consumer.useWSDL}" onchange="this.form.submit()"
valueChangeListener="#{consumer.useWSDLListener}"
immediate="true"/>Use WSDL?
- <h:message styleClass="error" for="useWSDL"/>
+ <h:message styleClass="portlet-msg-error"
for="useWSDL"/>
<c:choose>
<c:when test="#{consumer.useWSDL}">
- <h:inputText id="wsdl" size="70"
value="#{consumer.wsdl}"/> <h:message styleClass="error"
for="wsdl"/>
+ <h:inputText id="wsdl" size="70"
value="#{consumer.wsdl}"/> <h:message
styleClass="portlet-msg-error"
+
for="wsdl"/>
</c:when>
<c:otherwise>
@@ -46,27 +48,29 @@
<th>Service Description URL:</th>
<td>
<h:inputText id="sd" size="70"
value="#{consumer.serviceDescription}"/> <h:message
- styleClass="error" for="sd"/>
+ styleClass="portlet-msg-error" for="sd"/>
</td>
</tr>
<tr>
<th>Markup URL:</th>
<td>
- <h:inputText id="m" size="70"
value="#{consumer.markup}"/> <h:message styleClass="error"
for="m"/>
+ <h:inputText id="m" size="70"
value="#{consumer.markup}"/> <h:message
+ styleClass="portlet-msg-error" for="m"/>
</td>
</tr>
<tr>
<th>Registration URL:</th>
<td>
- <h:inputText id="r" size="70"
value="#{consumer.registration}"/> <h:message
styleClass="error"
-
for="r"/>
+ <h:inputText id="r" size="70"
value="#{consumer.registration}"/> <h:message
+ styleClass="portlet-msg-error"
+ for="r"/>
</td>
</tr>
<tr>
<th>Portlet Management URL:</th>
<td>
<h:inputText id="pm" size="70"
value="#{consumer.portletManagement}"/> <h:message
- styleClass="error" for="pm"/>
+ styleClass="portlet-msg-error" for="pm"/>
</td>
</tr>
</table>
@@ -95,7 +99,7 @@
<td>
<h:inputText value="#{prop.value}"
size="40" onchange="this.form.submit()"
immediate="true"
valueChangeListener="#{consumer.regPropListener}"/>
- <h:outputText styleClass="error"
value="#{prop.status}"
+ <h:outputText
styleClass="portlet-msg-error" value="#{prop.status}"
rendered="#{prop.determinedInvalid}"/>
</td>
</tr>
@@ -125,7 +129,8 @@
<c:when test="#{consumer.registrationCheckNeeded}">
<tr>
<td colspan="2">
- <p class="info">Registration information hasn't been
validated with the Producer. You should validate
+ <p class="portlet-msg-alert">Registration information
hasn't been validated with the Producer. You should
+ validate
it.</p>
<h:commandLink action="#{consumer.refreshRegistrationInfo}"
value="Validate"
title="Validate registration info from Producer"
styleClass="portlet-form-button">
@@ -139,7 +144,7 @@
test="#{!empty consumer.producerInfo.registrationInfo.registrationHandle
and !consumer.registrationValid}">
<tr>
<td colspan="2">
- <p class="error">Registration is not valid. You can try
to fix the problems and modify the
+ <p class="portlet-msg-error">Registration is not valid.
You can try to fix the problems and modify the
registration.</p>
<h:commandLink action="#{consumer.modifyRegistration}"
value="Modify registration"
title="Modify the registration held with this
Producer"
@@ -161,7 +166,7 @@
</c:if>
<tr>
<td colspan="2" style="padding: 1em 1em 1em 0;">
- <h:commandButton action="#{consumer.update}" value="Save"
title="" styleClass="portlet-form-button">
+ <h:commandButton action="#{consumer.update}" value="Save"
styleClass="portlet-form-button">
<f:param name="id" value="#{consumer.id}"/>
</h:commandButton>
<h:commandLink action="#{consumer.refreshConsumer}" value="Save
& Refresh"
Modified: trunk/core-wsrp/src/resources/portal-wsrp-admin-war/style.css
===================================================================
--- trunk/core-wsrp/src/resources/portal-wsrp-admin-war/style.css 2007-09-24 21:23:53 UTC
(rev 8470)
+++ trunk/core-wsrp/src/resources/portal-wsrp-admin-war/style.css 2007-09-24 21:31:18 UTC
(rev 8471)
@@ -8,6 +8,10 @@
border: 0;
}
+.wsrp-consumers-ui hr {
+ border-top-style: solid;
+}
+
/* Top nav. */
.wsrp-consumers-ui ul.topnav {