This content has been marked as final.
Show 5 replies
-
1. Re: Setting @Out(scope=CONVERSATION) variable to null has no
gavin.king Dec 8, 2005 8:40 PM (in response to alextemnokhod)Ummmm ... .it should work ;)
Are you sure? -
2. Re: Setting @Out(scope=CONVERSATION) variable to null has no
alextemnokhod Dec 9, 2005 9:44 AM (in response to alextemnokhod)Yes, absolutely. I modified booking demo:
public String nextHotel() { if ( hotelIndex<hotels.size()-1 ) { ++hotelIndex; setHotel(); } hotel = null; // <-- Add this to see a problem return null; }
After first pressing 'Next' button, the hotel data remains on the page. It disappears after second pressing only! -
3. Re: Setting @Out(scope=CONVERSATION) variable to null has no
gavin.king Dec 9, 2005 12:28 PM (in response to alextemnokhod)Please try current Seam CVS and see if this is still the case.
-
4. Re: Setting @Out(scope=CONVERSATION) variable to null has no
alextemnokhod Dec 10, 2005 6:08 PM (in response to alextemnokhod)I tried latest jboss-seam.jar build, and this is still the case. Note that any change to hotel bean properties or replacing hotel variable with other non-null value is visible immediately, but setting it to null has no effect in the following Render View phase.
-
5. Re: Setting @Out(scope=CONVERSATION) variable to null has no
gavin.king Dec 10, 2005 10:06 PM (in response to alextemnokhod)Thanks, I've fixed this bug in CVS.