0 Replies Latest reply on May 18, 2011 3:20 AM by Werner Schindling

    Programmatically resize <rich:modalPanel>?

    Werner Schindling Newbie


      I'm looking for a way to resize an opened, visible Richfaces modalPanel with JavaScript.
      There is the method Richfaces.findModalPanel('ID'), but trying to set the width or height on the returned object doesn't work.

      We need this to react to a browser window resize by the user so the modal panel stretches (almost) all of the screen again.
      Does anyone know of a way to do this?