|
From: Erwin V. <erw...@er...> - 2005-04-08 14:26:53
|
should that be "threesome-programming"? ;)
Erwin Vervaet
erw...@er...
----- Original Message -----
From: "Keith Donald" <ke...@in...>
To: <spr...@li...>
Sent: Friday, April 08, 2005 4:17 PM
Subject: [Springframework-developer] FW: OGNL sample
> FYI if this wasn't posted here already: the below feature is the result of
> Erwin, Rob, and I's "tri-programming" over skype yesterday. Steven, this
> is
> an example of conditional transitions expressed in OGNL, to help with your
> article.
>
> Keith
>
> -----Original Message-----
> From: Erwin Vervaet [mailto:erw...@er...]
> Sent: Friday, April 08, 2005 3:09 AM
> To: Keith Donald; Rob Harrop
> Subject: OGNL sample
>
> Hey guys,
>
> I just added OGNL based conditional transitions to our sellitem sample
> app:
>
> <action-state id="bindAndValidateCategory">
> <action bean="sellItemAction" method="bindAndValidate"/>
> <transition on="${lastEvent.id == 'success' and
> flowScope.sale.shipping}"
>
> to="enterShippingDetails"/>
> <transition on="${lastEvent.id == 'success' and
> !flowScope.sale.shipping}" to="showCostOverview"/>
> <transition on="error" to="enterCategory"/>
> </action-state>
>
> Sweet! I tested this and it's working nicely.
>
> Erwin Vervaet
> erw...@er...
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
|