How I access an HTML content that is inside a faces component?
example:
xhtml:
<h:panelGroup id="myPanelGroup">
Some Text
</h:panelGroup>
backingBean:
FacesContext currentInstance = FacesContext.getCurrentInstance();
UIViewRoot viewRoot = currentInstance.getViewRoot();
UIComponent component = viewRoot.findComponent("myPanelGroup");
String pureHtmlContentInside = ??? // component.get???
Its possible?