I think it is possible but in a limited way.
Do you want the content of a HtmlDialog?
First of all you have to define the Data on your html Dialog.
In the javabean you can import this DataClass and fill it with the current content of the HTML Dialog
import test.TestManagedBean.TestManagedBeanData;
@ManagedBean
public class JustABean {
public void getIt(){
ELContext elContext = FacesContext.getCurrentInstance().getELContext();
TestManagedBeanData value = (TestManagedBeanData)elContext.getELResolver().getValue(elContext, null, "data");
}
}
}