Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-9091

Popup panel: shadow disappears when shadowDepth is set

    Details

    • Steps to Reproduce:
      Hide

      <h:commandButton value="Call the popup">
      <rich:componentControl target="popupPanel" operation="show" />
      </h:commandButton>

      <rich:popupPanel id="popupPanel" left="auto" moveable="true" header="attribute header" shadowDepth="3" resizeable="true" top="auto">
      <f:facet name="controls">
      <h:outputLink value="#" onclick="#

      {rich:component('popupPanel')}

      .hide(); return false;">X</h:outputLink>
      </f:facet>

      <p>some text</p>
      </rich:popupPanel>

      Show
      <h:commandButton value="Call the popup"> <rich:componentControl target="popupPanel" operation="show" /> </h:commandButton> <rich:popupPanel id="popupPanel" left="auto" moveable="true" header="attribute header" shadowDepth="3" resizeable="true" top="auto"> <f:facet name="controls"> <h:outputLink value="#" onclick="# {rich:component('popupPanel')} .hide(); return false;">X</h:outputLink> </f:facet> <p>some text</p> </rich:popupPanel>

      Description

      When shadowDepth is not defined or is null, panel shows a 5-pixel shadow. When the shadowDepth is set to whichever value, shadow disappears.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  amarkhel Andrey Markhel
                  Reporter:
                  ppitonak Pavol Pitoňák
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: