Mercurial > hg > ismi-richfaces
diff src/main/webapp/templates/main_template.xhtml @ 142:df6ca03c4bf9 busy-msg-bean
try to set busy state e.g. while saving via bean property. does not work yet.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 23 Jun 2017 18:28:10 +0200 |
parents | 895bf7494d17 |
children |
line wrap: on
line diff
--- a/src/main/webapp/templates/main_template.xhtml Fri Jun 23 18:26:12 2017 +0200 +++ b/src/main/webapp/templates/main_template.xhtml Fri Jun 23 18:28:10 2017 +0200 @@ -19,11 +19,10 @@ <h:form> - <!-- Message --> + <!-- message box --> <h:panelGrid id="msgPp"> <a4j:outputPanel ajaxRendered="true"> - <h:panelGroup rendered="#{!empty Session.generalMsgList}"> <div style="z-index: 100;" class="rf-pp-shade"> <button class="rf-pp-btn" tabindex="-1" accesskey="" /> @@ -55,10 +54,11 @@ </h:panelGrid> </h:panelGroup> + </a4j:outputPanel> </h:panelGrid> - <!-- Message --> + <!-- error message box --> <h:panelGrid id="errorMsgPp"> <a4j:outputPanel ajaxRendered="true"> <h:panelGroup rendered="#{!empty Session.errorMsgList}"> @@ -93,6 +93,39 @@ </a4j:outputPanel> </h:panelGrid> + <!-- busy box --> + <h:panelGrid id="msgBusy"> + <a4j:outputPanel ajaxRendered="true"> + + <h:panelGroup rendered="#{!empty Session.busyMsg}"> + <div style="z-index: 100;" class="rf-pp-shade"> + <button class="rf-pp-btn" tabindex="-1" accesskey="" /> + </div> + + <h:panelGrid columns="1" styleClass="ismi-pp-cntr"> + + <div class="ismi-pp-hdr"> + <div class="ismi-pp-hdr-cnt">Message</div> + </div> + + <h:panelGrid columns="1" styleClass="ismi-pp-main-panel"> + <h:panelGrid columns="2"> + <h:graphicImage url="/resources/images/info_32.png" /> + <h:panelGrid style="text-align:left"> + <h:outputText value="#{Session.busyMsg}" /> + </h:panelGrid> + </h:panelGrid> + </h:panelGrid> + + </h:panelGrid> + + </h:panelGroup> + + </a4j:outputPanel> + </h:panelGrid> + + + <!-- page header --> <div id="header"> <div id="icon">