0 Replies Latest reply on Nov 8, 2011 5:28 AM by orkun

    popupPanel construction in java-bean failed

    orkun

      hello

       

      I tried to construct a popupPanel in java-bean.

      I followed this way. But it failed

       

      org.richfaces.component.UIPopupPanel pop=(org.richfaces.component.UIPopupPanel)

              application.createComponent(UIPopupPanel.COMPONENT_TYPE);

                         

       

      HtmlOutputText text = (HtmlOutputText) application.createComponent(HtmlOutputText.COMPONENT_TYPE);

      text.setValue("Orkun - Doğa");

       

      pop.setKeepVisualState(true);

      pop.setRendered(true);

       

      pop.getChildren().add(text);

       

       

      could you tell me what I did wrong ?

       

      kind regards