Jsf 2.0 Custom Component / Tag NOT COMPOSITE

Ok I have searched everywhere for a simple example of how to create a custom jsf 2.0 component.

Basically, I am trying to create a tag that I can use, for example, inside the PanelGrid. etc. that will display my own javasript. all i have found is a tutorial on components that are useless to me. I do not need to mix a bunch of existing tags in a composite, I need to create my own.

Does anyone know any sample code showing how to do this in version 2.0. (no jsf 1.2)

thanks

+4
source share
1 answer

See Creating custom user interface components in the Java EE 6 Tutorial (as described in BalusC). This applies to JSF 2 and describes the creation of user interface components (not composite components).

+7
source

All Articles