This content has been marked as final.
Show 2 replies
-
1. Re: Redirect not working
yk Sep 7, 2009 11:29 AM (in response to pjputhenvila)there is a syntax error in your pages.xml file. yous should use
view-id
instead of viewid.
possibly correct code:
<page view-id="/pages/sharoo/confirm.xhtml" conversation-required="true" login-required="true"> <description>Confirm booking: #{bookBooking.name}</description> <navigation from-action="#{bookBookingAction.confirm}"> <redirect view-id="/pages/sharoo/sharooMain.xhtml"> <message>Redirected</message> </redirect> </navigation> </page>
-
2. Re: Redirect not working
pjputhenvila Sep 7, 2009 10:52 PM (in response to pjputhenvila)Hi
Thanks for that,
actually my question is when we use redirect in Struts or Spring the data will reflect the new changes. But in SEAM even if it is redircted the new data is not loaded, showing the cached data, but in HotelBooking example it is achieved by firing a event and getBookings() method anotated with @Observer so that method is also get called, and the new bookings is loaded, my question is, is that only the way to do , or simple redirect can fetch new data.