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

    popupPanel construction in java-bean failed

    Ahmet temiz Novice

      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