-
1. bug in Dynamic Selects Richfaces 4
iabughosh Apr 14, 2011 4:04 AM (in response to wish79)Dear Weshah,
I tried to do what you did but everything is ok, please post your xhtml file and try using a4j:log to see what is happening.
regards.
-
2. bug in Dynamic Selects Richfaces 4
wish79 Apr 14, 2011 5:32 AM (in response to iabughosh)Hello Ibrahim,
you can take the code from the demo .
And there is another problem in the demo code try to get the value for the second list it will be empty in the backingBean.
try it then inform me.
Regards
wish79
-
3. bug in Dynamic Selects Richfaces 4
ilya_shaikovsky Apr 14, 2011 6:32 AM (in response to wish79)1 of 1 people found this helpfulIt can't be request scope. You want to manage second select options dynamically. So you creating new list in action and passing to client. But on next request - bean is recreated and do not contains that list again. So value really can't be validated succesfully. use @view or @session scope.
Not a bug of RF but really how it should works in JSF
-
4. bug in Dynamic Selects Richfaces 4
wish79 Apr 14, 2011 6:48 AM (in response to ilya_shaikovsky)Thanks iiya,
thats mean i have to change the scope for my backing and i have to manage the data if it was session & view (rest the value).
Ibrahim , how it works with you if you are use the request scope.
-
5. bug in Dynamic Selects Richfaces 4
iabughosh Apr 14, 2011 7:32 AM (in response to wish79)my reply which was about that everything is ok was responded to your first reply, about the second reply it is just Ilya said, the value is null when i change the scope it works.
-
6. bug in Dynamic Selects Richfaces 4
wish79 Apr 15, 2011 12:00 PM (in response to iabughosh)as I said at the beginning I have to change the scope , Thanks for All.