2 Replies Latest reply: Nov 15, 2012 7:11 AM by Brianna RSS

    FacesMessage popup too large in 11.1.2

    Brianna
      JDeveloper 11.1.2.3.0 | Windows XP / 7 | Internet Explorer 8

      When using JDeveloper 11.1.1.4.0, FacesMessage popups were sized to fit the text. Since the upgrade to 11.1.2.3.0, they are significantly larger than necessary. A popup with a single line of text appears to be 250px in height.

      We have tried modifying af_dialog_content-center in the CSS to force the messages to be smaller. We have also tried adjusting the <af:messages> tag in the jspx, hardcoding the width and height in InlineStyle and setting the StyleClass to AFStretchWidth. The size never changes. However, if we set something else (like background-color in the CSS), the modification is displayed as expected.
          FacesContext ctx = FacesContext.getCurrentInstance();
          FacesMessage msg = new FacesMessage("Error message");
          msg.setSeverity(FacesMessage.SEVERITY_ERROR);
          ctx.addMessage(null,msg);
      Thank you in advance,
      Brianna