ICEmobile
  1. ICEmobile
  2. MOBI-623

CommandButtonRenderer openContentPane support outside of contentStack

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.2 Final
    • Fix Version/s: 1.3 Beta
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a

      Description

      The CommandButton openContentPane is currently only supported when the commandButton is inside a contentStack. It would be useful to support this attribute outside of a contentStack so a commandButton could use the openContentPane attribute in places such as a pagePanel header outside of a contentStack.

      It would be good to avoid forcing the developer to specify the contentStack with a new attribute, so the following algorithm might be workable.

      1. Search for the contentStack in the parent hierarchy.
      2. If not found, search for the first content stack, top down, from the root of the component tree.

      This will have the constraint that if the commandButton is not nested within the contentStack, the openContentPane attribute will only work with the first located contentStack, so using this with multiple contentStacks on the the page, in this context, should be avoided.

        Issue Links

          Activity

          Philip Breau created issue -
          Philip Breau made changes -
          Field Original Value New Value
          Assignee Steve Maryka [ steve.maryka ] User Philip.breau [ philip.breau ]
          Philip Breau made changes -
          Description The CommandButton openContentPane is currently only supported when the commandButton is inside a contentStack. It would be useful to support this attribute outside of a contentStack so a commandButton could use the openContentPane attribute in places such as a pagePanel header outside of a contentStack. The CommandButton openContentPane is currently only supported when the commandButton is inside a contentStack. It would be useful to support this attribute outside of a contentStack so a commandButton could use the openContentPane attribute in places such as a pagePanel header outside of a contentStack.

          It would be good to avoid forcing the developer to specify the contentStack with a new attribute, so the following algorithm might be workable.

          1. Search for the contentStack in the parent hierarchy.
          2. If not found, search for the first content stack, top down, from the root of the component tree.

          This will have the constraint that if the commandButton is not nested within the contentStack, the openContentPane attribute will only work with the first located contentStack, so using this with multiple contentStacks on the the page, in this context, should be avoided.
          Philip Breau made changes -
          Summary CommandButtonRenderer openContentPane support outside of contnetStack CommandButtonRenderer openContentPane support outside of contentStack
          Philip Breau made changes -
          Fix Version/s 1.3 Beta [ 10373 ]
          Judy Guglielmin made changes -
          Link This issue depends on MOBI-672 [ MOBI-672 ]
          Philip Breau made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]

            People

            • Assignee:
              Philip Breau
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: