See Thread at: http://www.techienuggets.com/Detail?tx=17521 Posted on behalf of 
a User

At me the same problem

In Response To: 

Hello, i`m trying to create richfaces components dynamically: 

  | import org.jboss.seam.annotations.Name;
  | import org.richfaces.component.UIDropDownMenu;
  | import org.richfaces.component.html.HtmlDropDownMenu;
  | import org.richfaces.component.html.HtmlMenuItem;
  | 
  | @Name("confTypeMenu")
  | public class ConfTypeMenu {
  | 
  |   public UIDropDownMenu getMyMenu() {
  |     UIDropDownMenu menu = new HtmlDropDownMenu();    
  |     HtmlMenuItem menuItem = new HtmlMenuItem();
  |     String subOption = "Sec. Change Passsword";
  |     menuItem.setValue(subOption);
  | 
  |     menu.getChildren().add(menuItem);
  |         return menu;
  | 
  |   }
  | 

and using it in my .xhtml:

  |   <rich:dropDownMenu binding="#{confTypeMenu.myMenu}"/>

and i get the following error when trying to acces page:
Component j_id22 not instance of org.richfaces.component.UIDropDownMenu

i`m using JBoss AS 4.2.1, and JBoss Seam 2.0.0

any ideas ?
TIA


_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to