  | 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: execAndWait interceptor and Tiles problem .. | Subject: execAndWait interceptor and Tiles problem .. 2007-10-03 - By Giovanni Azua
Back hi,
I have the struts.xml definition as shown below that uses execAndWait interceptor and Tiles. The problem is that either:
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. b) Not using tiles the execAndWait interceptor works fine just display the default unformatted text that does not comply with our company's Web theme.
Please suggest a possible solution or otherwise where can I file a bug?
<action name="SimulationRun" class="com.sag.optimizer.ui.web.action.simulation.SimulationRunAction"> <interceptor-ref name="defaultStack"/> <interceptor-ref name="execAndWait"> <param name="delay">1000</param> <param name="delaySleepInterval">1000</param> </interceptor-ref> <result name="wait" type="tiles">webui.requestWait</result> <result name="success" type="tiles">webui.simulationReport</result> <result name="error" type="tiles">webui.requestFailed</result> </action>
regards, Giovanni
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |