This content has been marked as final.
Show 5 replies
-
1. Re: toolBar disappearing in IE (6 and 7)
nbelaevski Apr 29, 2009 10:45 AM (in response to nico.ben)Hello,
How does LoginInfo look like? -
2. Re: toolBar disappearing in IE (6 and 7)
nico.ben Apr 29, 2009 11:04 PM (in response to nico.ben)Hi,
LoginInfo is a session bean containing all info about the user and the structure of menus he/she can see.@Scope(ScopeType.SESSION) @Name("loginInfo") public class LoginInfo implements Serializable { [...] @In(create=true, required=true) private MenusManager menusManager; private HtmlToolBar toolBar; [...] public HtmlToolBar getToolBar() { if (toolBar==null) { toolBar = new HtmlToolBar(); toolBar.setId("to_" + menuCounter++); } if (isLoggedIn()) { if (!toolBarInitialized) { initToolbar(toolBar); toolBarInitialized = true; } } return toolBar; } public void setToolBar(HtmlToolBar toolBar) { this.toolBar = toolBar; } private void initToolbar(HtmlToolBar toolbar){ } }
The ScopeType.EVENT is because of:
http://docs.jboss.com/seam/2.1.1.GA/reference/en-US/html_single/#d0e6379
Best regards,
Nicola -
3. Re: toolBar disappearing in IE (6 and 7)
nbelaevski Apr 30, 2009 12:53 AM (in response to nico.ben)Hello Nicola,
Components should not be bound to session-scoped beans. Please change this and try. Also does this problem reproduce if you remove loggedIn checks? -
4. Re: toolBar disappearing in IE (6 and 7)
nico.ben May 3, 2009 6:52 AM (in response to nico.ben)Hi,
I tried to remove the loggedIn check. No change.
But the disappearing of the menu in IE is an event that happens suddenly, sometime, maybe after a lot of minutes after charging different pages.
About the session-scoped beans, everything works ok under firefox anyway.
It must be something IE-related.
Anyway it's difficult to reproduce it.
Regards,
Nico -
5. Re: toolBar disappearing in IE (6 and 7)
nbelaevski May 3, 2009 8:38 AM (in response to nico.ben)Even if this works in FF, it's not correct to bind components to session-scoped beans.