you can easily implement this using CSS (and a little javascript) and
have it work with Tiles.
in your style sheet add this: (and style it any way you want)
div#Processing {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
position: absolute;
text-align: center;
top: 150px;
visibility: hidden;
width: 625px;
}
at the bottom of your page add this:
<!-- Processing Please Wait -->
<div id="Processing">
<h3>Processing, Please Wait...</h3>
</div>
and add this to your javascript file:
function processingPleaseWait() {
if (document.all.Header) {
document.all.Header.style.visibility = "hidden";
}
if (document.all.Main) {
document.all.Main.style.visibility = "hidden";
}
if (document.all.Footer) {
document.all.Footer.style.visibility = "hidden";
}
if (document.all.Processing) {
document.all.Processing.style.visibility = "visible";
}
}
in your Tiles template file make sure you wrap each 'tile' with a
<div id="appropriateId"> and then modify the javascript above to take
into account each of those divs as necessary.
so on my page i have a header a main content block and a footer. when
i submit the page (whatever action) i call the processingPleaseWait()
which hides the appropriate sections and makes the processing message
pop up visible in the middle of the screen.
i'm not sure if there's a more 'Struts' appropriate way to do this
without dealing with threads...
andy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]