3 Replies Latest reply on Apr 30, 2009 12:50 AM by Nick Belaevski

    modalpanel is not produced.

    Ahmet temiz Novice

      Hello

      This does not produce any modalpanel :


      FacesContext facesContext = FacesContext.getCurrentInstance();
      Application application=FacesContext.getCurrentInstance().getApplication();

      HtmlModalPanel modalPanel = (HtmlModalPanel)application
      .createComponent(UIModalPanel.COMPONENT_TYPE);
      modalPanel.setId("modalPanel");

      HtmlOutputText outputText = new HtmlOutputText();
      outputText.setValue("Detay");
      modalPanel.getFacets().put("header", outputText);

      can you tell me why ?

      regards