2016-07-29 10:28 GMT+02:00 Greg Huber <[email protected]>:
> Have you an example of what the default action/name would actually be?
>
>
> <action name="messageDelete!*" method="{1}" class="admin.MessageDelete">
>             <result name="input" type="tiles">.MessageDelete</result>
>             <result name="confirm" type="tiles">.MessageDelete</result>
>             <result name="success" type="chain">messages</result>
>             <result name="cancel" type="redirectAction">
>                 <param name="actionName">messages</param>
>             </result>
>             <result name="error" type="chain">messages</result>
>         </action>

It's hardcoded as "index" by default but can be redefined in
struts.xml with "struts.default.action.name" constant, for method it's
"execute" and "struts.defult.method.name" - it's all about mapping so
away before configuration plays its role.

It should be rather treated as <default-action-ref/> when someone
requested an action that doesn't match allowed.action.names


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to