Announcement Announcement Module
Collapse
No announcement yet.
Translating XML Flow State to Its Java-base Equivalent Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Translating XML Flow State to Its Java-base Equivalent

    Greetings!

    I am having a hard time translating the following state into its Java-base equivalent. Specifically, nesting the action and its property in the transition. I have looked at the API and I don't see a way of doing this.

    Any help would be greatly appreciated.

    <view-state id="enterPriceAndItemCount" view="priceAndItemCountForm">
    <transition on="submit" to="enterCategory">
    <action bean="sellItemAction" method="bindAndValidate">
    <property name="validatorMethod" value="validatePriceAndItemCount"/>
    </action>
    </transition>
    </view-state>


    _CJ

  • #2
    It's all there -- you'll want to use the annotate factory method, or possibly the 'method' factory method. Review AbstractFlowBuilder.

    Comment

    Working...
    X