[jboss-user] [JBoss Portal] - supported-window-states ignored?
Peter.Coppens
do-not-reply at jboss.com
Tue Nov 21 17:44:23 EST 2006
Hello,
I am sorry this is such a basic question, but I have been looking at it for the last two hours and I can't figure it out.
I have a portal instance with portlet isolated in a separate war and have removed all but the normal window-state elements in the -object.xml file.
Unfortunately that does not change anything - the min/max icons are still displayed.
I have also been debugging the code (trunk) where this information is read and was somewhat surprised by the fact that the code does not seem to do anything useful.
It always seems to initialize all window states
| public PortalMetaData()
| {
| modes = new ModesMetaData();
| modes.add("edit");
| modes.add("view");
| modes.add("help");
| windowStates = new WindowStatesMetaData();
| windowStates.add("maximized");
| windowStates.add("minimized");
| windowStates.add("normal");
| }
|
|
Anybody any idea what I could be doing wrong and/or can someone confirm that the window-state elements are indeed meant to disable the display (and function) of these min/max items?
Thanks,
Peter
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987740#3987740
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987740
More information about the jboss-user
mailing list