79492417

Date: 2025-03-07 13:15:13
Score: 0.5
Natty:
Report link

Like Ondro suggested, adding the <context-param> to web.xml was necessary:

<context-param>
    <param-name>jakarta.faces.FACELETS_LIBRARIES</param-name>
    <param-value>/WEB-INF/example.taglib.xml</param-value>
</context-param>

But in addition also modifying @FacesConfig of DataList.java:

@FacesComponent(value = "com.example.component.DataList")
public class DataList extends UIData {

Otherwise DataList still couldn't be found.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: neblaz