Package or class (SetPropertyActionListenerImpl) not found in GF7 [message #1862975] |
Tue, 09 January 2024 09:48 |
Eclipse User |
|
|
|
Hi, i've a legacy java code writted in JSF 2.3 to create a "setpropertyactionlistener" to a button "btnTest" programatically, this way:
----------------------------
ValueExpression target = getExpressionFactory().createValueExpression(getELContext(), "#{Bean.targetProp}", TreeNode.class);
ValueExpression value = getExpressionFactory().createValueExpression(getELContext(), "#{Bean.valueProp}", TreeNode.class);
ActionListener al = new SetPropertyActionListenerImpl(target, value);
btnTest.addActionListener(al);
----------------------------
When i migrate to Eclipse GF 7 with Jakarta EE 10 the package of class SetPropertyActionListenerImpl (com.sun.faces.taglib.jsf_core) doesn´t exists in jakarta.faces.*
This class is deprecated? or is in another package? or how i can implement this functionality in this new version of Jakarta EE programatically? (not with classic f:setPropertyActionListener inside a h:commandButton).
Much Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.06319 seconds