[jboss-user] [JBoss Seam] - setActionListener(???); with iceFaces
tony.herstell@gmail.com
do-not-reply at jboss.com
Wed Jan 3 21:42:23 EST 2007
I am struggling to find the answer to how to reference an ActionListener when programatically making a menu with IceFaces.
| public List<MenuItem> getMenuModel() {
| menuModel = new ArrayList<MenuItem>();
|
| if (loggedInUser.getLoggedIn()) {
| MenuItem users = new MenuItem();
| users.setValue(messages.get("menu_item_users"));
| menuModel.add(users);
|
| // User Find
| MenuItem users_find = new MenuItem();
| users_find.setValue(messages.get("menu_item_find"));
| //users_find.setActionListener(???);
|
if the menu was static we would use something like:
| <ice:menuItem value="Find" action="#{menuBean.findAction}" />
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997797#3997797
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997797
More information about the jboss-user
mailing list