This content has been marked as final.
Show 3 replies
-
1. Re: Action for dynamic PanelMenuItem
janson12 Mar 5, 2008 9:33 AM (in response to janson12)before i forget: currently i'm using smth like "menuItem_1_1.setAction(new SimpleActionMethodBinding("goanywhere"));" which is apparently working but is marked as deprecated...
-
2. Re: Action for dynamic PanelMenuItem
ilya_shaikovsky Mar 10, 2008 10:29 AM (in response to janson12)just question for JSF documentation ;)
HtmlCommandButton button = new HtmlCommandButton(); MethodExpression expression = FacesContext.getCurrentInstance().getApplication().getExpressionFactory().createMethodExpression(arg0, arg1, arg2, arg3) button.setActionExpression()
-
3. Re: Action for dynamic PanelMenuItem
janson12 Mar 10, 2008 4:35 PM (in response to janson12)thanks for your reply. my problem with this method is that jboss 4.2.0 isn't shipped with the necessary javax.faces.el classes such as the MethodExpression. When i try to added this libs manually i get the following exception:
Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class no idea whether eclipse can't handle it or is it just me being too stupid...