new syntax updates

This commit is contained in:
Keith Donald
2008-03-05 00:37:39 +00:00
parent 48d6697070
commit f91be0e4f7
2 changed files with 3 additions and 7 deletions

View File

@@ -5,9 +5,7 @@
<persistence-context/>
<input-mapper>
<mapping source="#{id}" target="#{flowScope.id}" />
</input-mapper>
<input name="#{id}" value="#{flowScope.id}"/>
<start-actions>
<evaluate expression="#{bookingService.findHotelById(id)}" result="#{flowScope.hotel}" />

View File

@@ -14,7 +14,7 @@
<evaluate expression="#{bookingService.cancelBooking(bookings.selectedRow)}" />
</transition>
</view-state>
<view-state id="reviewHotels">
<render-actions>
<evaluate expression="#{bookingService.searchHotels(searchCriteria)}" result="#{flowScope.hotels}" result-type="dataModel" />
@@ -40,9 +40,7 @@
</view-state>
<subflow-state id="bookHotel" subflow="booking">
<input-mapper>
<mapping source="#{hotels.selectedRow.id}" target="#{id}" />
</input-mapper>
<input name="#{id}" value="#{hotels.selectedRow.id}"/>
<transition on="bookingConfirmed" to="finish" />
<transition on="bookingCancelled" to="enterSearchCriteria" />
</subflow-state>