Hi Stripes users,

 

I'm dealing with a problem where I have a class hierarchy which looks
something like this:

 

<<abstract>> a

 

<<abstract>> b extends a

 

c extends b

d extends b

 

The classes c and d then each have their own action bean.

 

Class c is initialized correctly when I submit to the action bean which uses
class c, however it does not work when I submit to the other action bean
which uses class d. - in this case the field of type class d is just null.

 

I've been debugging through DefaultActionBeanPropertyBinder.bind() and it
seems that the expression evalutator does not understand which class to
initialize.  An EvaluationException is thrown, but is then again swallowed
by handlePropertyBindingError in DefaultActionBeanPropertyBinder

 

I have another place in my application which uses an object graph similar to
the one I have problems with here, but I don't have any problems there. It
seems to be because the first property which is to be binded happens to only
be on one of the congrete classes.

 

I'm using Stripes 1.5.2 I've however checked the trunk code and I cannot
find anything that seems to could have fixed my issue.

 

Does anybody know what I'm doing wrong, or if there is a work-around for
this issue?

 

Thank you for your time.

 

/ Simon Oxenvad Rasmussen

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to