Announcement Announcement Module
Collapse
No announcement yet.
Dynamic property binding Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X