0 Replies Latest reply on Jan 8, 2010 7:18 AM by amolfuke

    Problem in getting new size of modalpanel on resize

      Hi ,

       

      I am facing some issue in getting new size of modalPanel window.My requirment is I want to store new height and width of modalpanel when user resize it.Here is the sample code.

       

      <rich:modalPanel
                          id="messageReaderModal_#{ReportWidgetStateBean.subscriptionId}"
                          resizeable="false" headerClass="modal_header"
                          height="600" width="770" onshow="nbmDash.refreshMessageReaderModal(this);" resize="some havascirpt functin call()">
                          <f:facet name="header">
                              <h:panelGroup layout="block" styl...

       

      When user will resize this modalpanel , I want to store new height/width into db so that at next login modalpanel will be open in this height/width.I am using resize event but it is getting continously fired.I want last resized height/width ? Any solution on this ? or any direction on how to achieve this ?

       

      Thanks,

      Amol