Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-1302

supported-window-states ignored ? no limitation to normal window only.

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.1 Final
    • Fix Version/s: None
    • Component/s: Portal Core
    • Labels:
      None
    • Environment:

      portal 2.4.1

      Description

      In the -object.xml file, remove all window-state elements, but the normal one.
      <supported-window-states>
      <window-state>normal</window-state>
      <!--
      <window-state>minimized</window-state>
      <window-state>maximized</window-state>
      -->
      </supported-window-states>

      It does not change anything
      The min/max icons are still displayed. .
      And you can still ask for the maximized or minimized state.
      no exception, the portal still works as usual (with the "classic" all three states enabled).

      Is it the portal core that should prevent to use these states, if not enabled ?
      Or the layout strategy and rendering that should not show the icons ?
      (but then, the portal should warn if we type an url that ask a state that is disabled... even it is not by clicking in the window icon).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                antoine_h Antoine Herzog
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: