Hi,

I´ve been searching for a class that extends from UIComponent, that is the one that implements the facelet element, since I have no idea on how to create a facet from java.

 

For example to create an HtmlOuputText the procedure is the following :

 

HtmlOutputText outputText = (HtmlOutputText) FacesContext.getCurrentInstance().getApplication(HtmlOutputText.COMPONENT_TYPE);

 

And then you add it to the parent with the getChildren().add and so on…(I am using the approach of generating some GUI objects on java code in combination with the binding attribute)

 

I have no idea on how to create facet objects in a similar manner, any ideas?

 

Regards to all,

JV

 

 

 

 

Reply via email to