Override the JSF component renderers needs just to do the following:
1. Create the Renderer class.
2. Register the Renderer class in the faces-config.xml.
In the example, I will make the simple scenario. It is extending the JSF Label component (Assume that you want to make your JSF labels start with *).
Following the described steps above
1. Create the Renderer class :
2. Register the Renderer class in the faces-config.xml.
3. Write the test JSP page.
4. This is the output.
I hope that this post is useful.
Overriding The JSF Renderers
Labels: JSF
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment