I recently landed on a project still using JavaServer Faces for the FE side, with XHTML pages.
There’s a lot of duplicated code, and studying this technology I found out that is possible to create custom components and reuse it (as JSF is meant to be), but I can’t find any tutorial or documentation about how to pass properties value (basicaly like using props in React), which will cut out almost the 80% of the entire code base.
Does anyone have a cue of where do I can find something to better learn from or knows how I can achieve that?
Pablo Escobarl is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.