When I call an action with the ! syntax (ex: "checkout!ACommand.action"), my
view mapping works correctly; however, if I call
"checkout.action?command=ACommand", WebWork uses the views that are setup
for the "root" action, not the command.

Here is my actions.xml:

 <action name="CheckoutAction" alias="checkout">
  <view name="success">/checkout!ConfirmOrder.do</view>
  <view name="cart">/ShoppingCart.jsp</view>
  <view name="error">/errors/Generic.jsp</view>

  <command name="CreateShippingAddress">
   <view name="input">/checkout/SelectShippingAddress.jsp</view>
   <view name="success">/checkout.do</view>
   <view name="error">/errors/403.jsp</view>
  </command>
</action>

I may have this configured incorrectly.  Any thoughts would be highly
appreciated.



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to