Announcement Announcement Module
Collapse
No announcement yet.
Different validate method per transition in Spring Webflow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Different validate method per transition in Spring Webflow

    Hello everyone,

    This is related to Spring Webflow but I don't see any activity there and may be any of you can help me with this.
    I currently have a Spring Webflow application that uses Webflow + Ajax.

    I have a view-state called "A" that has several transitions.

    PHP Code:
    <view-state id="A" model="myClass">
         <
    transition on="X1" .../>
         <
    transition on="X2" .../>
         <
    transition on="X3" .../>
    </
    view-state
    The problem is that each transition should validate only a portion of "myClass" and not all.

    By default you have a single validate method per viewState inside myClass. Basically what I need is to call a different validate method on each transition instead of having a single one.

    Is this possible? Any ideas on how to do this?

    Thanks in advance!!!
Working...
X