Skip to content

Commit

Permalink
Merge pull request #31 from nicolasmoreau/dev
Browse files Browse the repository at this point in the history
change error message position to improve readability
  • Loading branch information
nicolasmoreau committed Aug 12, 2015
2 parents cd3cfdd + 84d7dc2 commit f94f83f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 0 additions & 6 deletions portal.war/src/main/webapp/layout/header.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,11 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich" styleClass="my-toolbar-header">

<h:panelGrid columns="2">
<h:outputLink value="http://vamdc.eu">
<h:graphicImage value="/img/vamdc_logo.png" alt="vamdc_logo"/>
</h:outputLink>
<a4j:region selfRendered="true">
<h:messages id="messages" globalOnly="true" styleClass="message"
errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"
rendered="#{showGlobalMessages != 'false'}" />
</a4j:region>
</h:panelGrid>
</s:span>
6 changes: 5 additions & 1 deletion portal.war/src/main/webapp/layout/template.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ window.history.forward();
<div class="header"><ui:include src="header.xhtml"/></div>
<ui:include src="menu.xhtml"/>
<div class="body">

<a:region selfRendered="true">
<h:messages id="messages" globalOnly="true" styleClass="message"
errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"
rendered="#{showGlobalMessages != 'false'}" />
</a:region>
<ui:insert name="body" />
</div>

Expand Down

0 comments on commit f94f83f

Please sign in to comment.