<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view locale="#{localeSelector.localeString}" contentType="text/html"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a="http://richfaces.org/a4j"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:rich="http://richfaces.org/rich" >
<html>
<head>
<!--...-->
</head>
<body>
<ui:include src="spiner.xhtml" />
<!--...-->
</body>
</html>
</f:view>
spiner.xhtml
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
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:a="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<rich:modalPanel id="spiner" resizeable="false" autosized="false"
moveable="false" width="200" height="65" shadowOpacity="0">
<f:facet name="header">One moment please..</f:facet>
<h:outputText value="Your request is being processed." />
<h:graphicImage value="/img/spinner.gif"
style="vertical-align: middle;" />
</rich:modalPanel>
<a:status onstart="Richfaces.showModalPanel('spiner')"
onstop="Richfaces.hideModalPanel('spiner')" />
</ui:composition>
it may fix following for Jboss Seam:
HTTP Status 503 – Concurrent call to conversation !!!

0 comments:
Отправить комментарий