Hi!
As my application is growing I feel that I do need different
ActionBeanContext classes for the specific needs.
For example I have ActionBeanContext1 and ActionBeanContext2 both inherited
from ActionBeanContext. 
And I want in ActionBean1 instantiate context of ActionBeanContext1 type and
in ActionBean2 of ActionBeanContext2 type. How should I do this properly?
I tried to specify it in this way: 

 <init-param>
        <param-name>ActionBeanContext.Class</param-name>
        <param-value>
                mypackage.stripes.action.ActionBeanContext1,
                mypackage.stripes.action.ActionBeanContext2
        </param-value>            
 </init-param>

But I get the following error after application starts:
net.sourceforge.stripes.exception.StripesServletException: Could not create
instance of ActionBean type [mypackage.stripes.action.ActionBean1].

If I have only one of the values, everything works fine, but I have only one
context bean.

Am I doing something wrong? Thanks!
-- 
View this message in context: 
http://old.nabble.com/A-number-of-ActionBeanContext-beans.-How--tp28078477p28078477.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to