<?xml version="1.0" encoding="UTF-8"?>
<flow
    xmlns="http://www.springframework.org/schema/webflow"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/webflow 
                        http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd"
    parent="common-transitions"
    start-state="reviewNdc">

    <view-state
        id="reviewNdc"
        view="review.ndc.old">
        <attribute
            name="ignoreBreadcrumb"
            value="true"
            type="boolean" />
        <on-render>
            <evaluate expression="springWebFlowActionAdapter">
                <attribute
                    name="actionName"
                    value="drugReference" />
                <attribute
                    name="actionMethod"
                    value="render" />
            </evaluate>
        </on-render>
        <transition
            on="performFDBSearchOption"
            to="performFDBSearchOption" />
    </view-state>

    <action-state id="performFDBSearchOption">
        <evaluate expression="springWebFlowActionAdapter">
            <attribute
                name="actionName"
                value="drugReference" />
            <attribute
                name="actionMethod"
                value="performFDBSearchOption" />
        </evaluate>
        <transition
            on="success"
            to="reviewNdc" />
    </action-state>

</flow>