  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Subject: Re: execAndWait interceptor and Tiles problem .. | Subject: Re: execAndWait interceptor and Tiles problem .. 2007-10-03 - By Giovanni Azua
Back hola antonio,
Please find all the information below.
Muchas gracias por adelantado!
regards, Giovanni
The tiles definition is:
***************************************************************** <definition name="webui.requestWait" template="/tiles/layout.jsp"> <put-attribute name="title" value="Operation in Progress ..."/> <put-attribute name="body" value="/jsp/requestWait.jsp"/> </definition> *****************************************************************
The requestWait.jsp page is:
***************************************************************** <%@ page contentType="text/html; charset=UTF-8 (See http://UTF-8.ora-code.com)"%> <%@ taglib prefix="s" uri="/struts-tags"%>
<p style="border: 1px solid silver; padding: 5px; background: #ffd; text-align: center;"> We are processing your request. Please wait. </p> You can click this link to <a href="<s:url includeParams="all"/>">refresh</a> ***************************************************************** The layout.jsp template is:
***************************************************************** <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> <%@ taglib prefix="s" uri="/struts-tags" %> <tiles:importAttribute name="title" scope="request"/> <html> <head> <title><tiles:getAsString name="title"/></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1" /> <script type="text/javascript" src="js/drop_down.js"></script> <style type="text/css"> @(protected) "css/screen.css"; @(protected) "css/main.css"; @(protected) "css/menu.css"; </style> <s:head theme="ajax"/> </head> <body> <jsp:include page="menu.jsp" /> <br /> <div id="bodyColumn"> <div id="contentBox"> <div class="section"> <h2><tiles:getAsString name="title"/></h2> </div> <tiles:insertAttribute name="body"/> </div> </div> </body> </html> *****************************************************************
Antonio Petrelli wrote: > 2007/10/3, Giovanni Azua <giaz@(protected)>: > >> a) Using tiles the delaySleepInterval is ignored and the wait page never >> refreshes i.e. when SimulationRunAction completes it is never redirected >> to success result. >> > > > Can you post the Tiles definition and the JSP page in which you put the meta > refresh? > > Antonio > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |