2 Replies Latest reply on May 21, 2008 11:23 AM by Sergey Smirnov

    creating components programmatical at runtime

    mbi Newbie

      hi,

      my problem is that components created for example like this

      import org.ajax4jsf.component.html.HtmlAjaxCommandButton;
      ...
      HtmlAjaxCommandButton myButton = new HtmlAjaxCommandButton();
      ...
      


      are represented somewhere in the viewroot, but after hitting F5 for refresh they are disappeared.

      i tried some other ways like direct binding but thats not what i want to do. i need to create some components directly after clicking a button which fires an a4j:ajaxListener without wiring them hard inside the jsp.

      thanks in advance! :)