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
      see:http://screencast.com/t/qIw1ao8iDfv

      in RF 3.3.2. :
      see:http://screencast.com/t/Qopy4QDR

      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

             

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


            I checked in FF 3.5.3 and IE 8