-
1. Re: Force re-outjection ?
gavin.king Feb 3, 2006 12:53 PM (in response to lcoetzee)I don't understand what you mean. What is your usecase exactly?
-
2. Re: Force re-outjection ?
lcoetzee Feb 5, 2006 5:54 AM (in response to lcoetzee)Hi Gavin,
ignore my posting/question. Seam is working correctly and outjecting the right stuff at the right time. My code was broken a bit.
Anyway, what I am doing (and wanted to do, but failed to explain properly earlier): use the @Factory("xxx") annotation in a stateful bean. Have xxx event scope only, meaning that my factory will be called every time I access the jsf page containing xxx (no matter the state of my conversation). In the factory method re-order the elements in the collection (e.g. based on chosen language) and have that collection outjected with the desired ordering for viewing. The solution was to ensure that the collection is set to NULL first and a new one allocated, which gets populated with the new ordering. This new collection is then outjected correctly.
Thanks
Louis