jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitaly Yurik <vyu...@bea.com>
Subject Does CactusStrutsTestCase handle DispatchAction class
Date Tue, 15 Jul 2003 19:10:48 GMT
Greetings,
CactusStrutsTestCase.setRequestPathInfo(pathInfo) accepts "path" attribute 
from an "action" tag corresponding to a custom Action class extending 
org.apache.struts.action.Action class.
But does it handle the case when a custom Acion class extends 
org.apache.struts.actions.DispatchAction class?
The "action" tag in this case contains the "parameter" attribute, as in
<action path="/cart"
    type="com.oreilly.struts.storefront.order.ShoppingCartActions"
    scope="request"
    input="/order/shoppingcart.jsp"
    parameter="method"
    validate="false"
    parameter="method">
    <forward name="Success" path="/order/shoppingcart.jsp" redirect="true"/>
  </action>

My question is how does "parameter" attribute fits to the argument of 
CactusStrutsTestCase.setRequestPathInfo(pathInfo) ?
Has anybody solved the problem?


Mime
View raw message