더북(TheBook)

    <view-state id="orderCustomerInfo" model="order">
        <transition on="customerInfo" to="orderShippingInfo"/>
    </view-state>

 

    <view-state id="orderShippingInfo" model="order">
        <transition on="shippingInfo" to="orderConfirmation"/>
        <transition on="backToCustomerInfo" to="orderCustomerInfo"/>
    </view-state>

 

    <view-state id="orderConfirmation">
        <transition on="orderConfirmed" to="confirmOrder"/>
        <transition on="backToShippingInfo" to="orderShippingInfo"/>
    </view-state>

 

    <action-state id="confirmOrder">
        <evaluate expression="orderServiceImpl.saveOrder(order)" result="order.orderId"/>
        <transition to="orderFinished"/>
    </action-state>

 

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.