-
Oct 5th, 2009, 09:20 AM
#1
Dynamic property binding
Hello,
I've following problem. I use Spring Webflow 2.0.7.
I have this example class
A {
private List<B> profs;
}
Classes C,D,E,F implement B interface.
My form should allow me to modify exactly one object on a list, lets say object of class D(if exist).
I added a method in one of my util class which add this object index to the flowScope. It works perfectly fine. I use this variable in my jsp.
My question is how to use this flowscope variable to bind some property?
I tried something like this:
<binding a[flowScope.index].z converter="zConverter"/> and
<binding a[${flowScope.index}].z converter="zConverter"/>
but it is not working.
<binding a[0].z converter="zConverter"/> works fine.
Regards,
Grigori
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules