[ 
https://issues.apache.org/struts/browse/WW-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44312#action_44312
 ] 

Jeromy Evans commented on WW-1881:
----------------------------------

The UnknownHandler is currently hardcoded to create an ActionSupport instance.  
If the UnknownHandler creates an instance of the class specified by 
PackageConfig.defaultClassRef then this requirement will be met.  Won't it?

ie. on a per package basis, you can specify a generic action that will handle 
invocations where no other was matched.

The Unknown action handling actually already doesn't work when used with the 
REST Plugin as ActionSupport doesn't have an index() method, which is my real 
motivation for the change.

> GenericAction support
> ---------------------
>
>                 Key: WW-1881
>                 URL: https://issues.apache.org/struts/browse/WW-1881
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>            Reporter: Thomas Wiradikusuma
>             Fix For: Future
>
>
> I'm currently leveraging AppFuse for my projects. Currently I'm using Struts 
> 2 for the Web part (previously Spring MVC).
> AppFuse has GenericDao and GenericManager which I think very useful (for lazy 
> person like me).
> But my lazyness doesn't stop there. After using zeroconf and codebehind, I 
> want more. I want generic action.
> I created one, it passed the test (i created a unit test) but i can't find a 
> way to make Struts(with codebehind enabled) "aware" of this special class.
> Btw I'm using Spring for handling the actions.
> Here's my posting in AppFuse's forum:
> http://www.nabble.com/forum/ViewPost.jtp?post=9981357&framed=y&skin=2369

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to