-
1. Re: Actions are not called from elements within an "<ui:repeat"
tiamak Apr 9, 2008 5:37 PM (in response to rave)ramon,
i was having a similar frustrating problem with dataTable inside <ui:repeat>. changing the <ui:repeat> to <a4j:repeat> solved the problem for me. (using richfaces 3.2.0, YMMV).
hth,
sb -
2. Re: Actions are not called from elements within an "<ui:repeat"
rave Apr 10, 2008 9:22 AM (in response to rave)Thanks for your reply Simon, but unfotunately the workaround you mentioned didn't solve my issue :(
-
3. Re: Actions are not called from elements within an "<ui:repeat"
rave Apr 10, 2008 10:36 AM (in response to rave)Sorry, but I forgott to mention, that my problem only occurs, if the ui:repeat iterates over a Map (containing Lists)
-
4. Re: Actions are not called from elements within an "<ui:repeat"
rave Apr 10, 2008 11:12 AM (in response to rave)Strange stuff:
If I change the scope of the action class from @Stateless to @Stateful @Scope(ScopeType.SESSION) the action is called - while @Stateful without scope session, it's not invoked @all..Of course any help would still be extremely appreciated ;)
-
5. Re: Actions are not called from elements within an "<ui:repeat"
pmuir Apr 13, 2008 5:59 PM (in response to rave)Are you sure #{m_FooBarMap} is still in scope when the request is submitted?
-
6. Re: Actions are not called from elements within an "<ui:repeat"
rave Apr 15, 2008 2:44 PM (in response to rave)Nope, it was not.
Even when I changed its scope to @Stateful @Scope(ScopeType.PAGE) it was not.
The only way it seems to work is @Stateful with @Scope(ScopeType.SESSION).
It seems that Seam handles the scope of a map containing lists different than simple lists or maps..