Skip to main content



      Home
Home » Eclipse Projects » GlassFish » Package or class (SetPropertyActionListenerImpl) not found in GF7
Package or class (SetPropertyActionListenerImpl) not found in GF7 [message #1862975] Tue, 09 January 2024 09:48
Eclipse UserFriend
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.
Previous Topic:Upgrade procedure
Next Topic:glassfish 7 (EE10) & jersey 3
Goto Forum:
  


Current Time: Wed Apr 30 20:39:27 EDT 2025

Powered by FUDForum. Page generated in 0.06319 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top