I`ve been working as Java developer for more than 4 years now and I definitely can say that I’m not bored, I like my job. I want to think for it more like an art as John Romero says: ” You might not think that programmers are artists, but programming is an extremely creative profession. […]
I`ve been working as Java developer for more than 4 years now and I definitely can say that I'm not bored, I like my job. I want to think for it more like an art as John Romero says: " You might not think that programmers are artists, but programming is an extremely creative profession. It's logic-based creativity." That`s why I always try to personalize the technology stack I work with. You know, to give the code a little styling. That`s why when my colleagues asked me to give a Frydix talk the topic was easily chosen: Custom Components in JSF
The bases
Just a quick hint for the beginners. JSF (JavaServer Faces) is a Java-based web application framework intended to simplify development integration of web-based user interfaces. What`s great about JSF is that it provides developers with a powerful capability to define own custom components which can be used to render custom contents.
UI components in JSF
JSF provides developers capability to create web application from collections of UI components that can render themselves in different ways for multiple client types (for example HTML browser, wireless or WAP device).
javax.faces.component.UIComponent
Java class that is responsible for representing a self-contained piece of the user interface
Renderer
helper to the UIComponent that deals with how that specific UIComponent class should appear in a specific kind of client device.
The real deal
Ready to start? In the next slides you`ll learn how to use a custom renderer and when to/when not to use custom components. You`ll see how to create:
Interested in UI design? You can also check my other blog onHow to improve UI design in ADF.So, what is your experience with Custom Components in JSF? I`ll be happy to read your comments.
Sign up for our newsletter and never miss an article
[mc4wp_form id=8036]
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.