3 Replies Latest reply on Oct 6, 2009 8:23 AM by Ilya Shaikovsky

    RF 3.3.2 modalPanel position???

    Krasimir Goutcev Apprentice

      I have one very long page (with scroll) and on bottom of it i have button who must show modal panel.
      In RF 3.3.1. modalPanel is shown always centered on page

      in RF 3.3.2. :

      Any ideas is welcome

        • 1. Re: RF 3.3.2 modalPanel position???
          Ilya Shaikovsky Master

          could you please show your code. And please check this again in the real browser instead of built-in with plugins.

          • 2. Re: RF 3.3.2 modalPanel position???
            Krasimir Goutcev Apprentice


             <table style="height:1050px;" border="1">
             <a4j:commandButton value="Open With ComponentControl" id="link" >
             Show Modal Panel
             <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
             <a4j:commandButton value="Open With showModalPanel" id="link2" onclick="Richfaces.showModalPanel('panel')">
             Show Modal Panel
             <rich:modalPanel id="panel" width="350" height="100">
             <f:facet name="header">
             <h:outputText value="Modal Panel"></h:outputText>
             <f:facet name="controls">
             <h:graphicImage value="/images/modal/close.png" styleClass="hidelink" id="hidelink"/>
             <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
             <h:outputText value="This panel is called using Component Control Component"></h:outputText>
             <h:outputText value="Closure link (X) works also through Component Control"></h:outputText>

            I checked in FF 3.5.3 and IE 8