I created the webwork-example.war that comes with WW2 and noticed that the Counter examples are broken
<snipet>
java.lang.IllegalArgumentException: Unknown action name: com.opensymphony.webwork.example.counter.SimpleCounter
at com.opensymphony.xwork.DefaultActionInvocation.createAction(DefaultActionInvocation.java:174)
After looking at the example code for SimpleCounter it appears to be half baked example of IoC... I think. I am coming to that conclusion based on information that I am reading about in the Wiki pages, http://wiki.opensymphony.com/space/XWork+Components. There is not ComponentIntercepter setup for that action for one and the Action does not implement CounterAware.
Before I start forging ahead with trying to get it to work can somone validate that the example is not complete or is broken for some other reason then what I am mentioning?
Also, if an WW2 IoC example exist then where could I find it?
Thanks
Kris Thompson
www.frameworks-boulder.org