Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/WEB-INF/jsp/header.jsp @ 686:734e8301c9ea
Added links to reload the application and rebuild the user interface (issue13, issue18).
gnv/trunk@864 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 10:45:08 +0000 |
parents | 93b4dedc4e37 |
children | 271ec4d11a9f |
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/header.jsp Mon Mar 29 10:41:50 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/header.jsp Mon Mar 29 10:45:08 2010 +0000 @@ -44,7 +44,13 @@ </tr> </table> <%if (exceptionProject != null) {%> - <div class="projectException"><bean:message key="<%=exceptionProject%>"/></div> + <div class="projectException"> + <bean:message key="<%=exceptionProject%>"/> + <br/> + <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>"> + <bean:message key="application.reload"/> + </a> + </div> <%}%> <br/> @@ -55,6 +61,11 @@ <div class="errormsg" id="load_error"> <%if (exceptionMessage != null){ %> <bean-el:message key="<%=exceptionMessage.toString()%>"/> + <p class="reload"> + <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>"> + <bean:message key="application.reload"/> + </a> + </p> <%}%> </div> </div>