curtney
Jun 3rd, 2005, 01:34 AM
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
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