<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Content of a HtmlDialog in my javabean</title><link>https://answers.axonivy.com/questions/40/content-of-a-htmldialog-in-my-javabean</link><description>&lt;p&gt;I want use my xpert.IVY htmldialog data in my javabean . Will it be possible ?if possible how to do that?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/40/content-of-a-htmldialog-in-my-javabean" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 31 Oct 2013 09:02:53 -0400</lastBuildDate><item><title>Answer by Raphael Bürgin</title><link>https://answers.axonivy.com/questions/40/content-of-a-htmldialog-in-my-javabean/46</link><description>&lt;p&gt;I think it is possible but in a limited way.
Do you want the content of a HtmlDialog?&lt;/p&gt;
&lt;p&gt;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&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;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"); 
    }

}
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Raphael Bürgin</dc:creator><pubDate>Thu, 31 Oct 2013 09:02:53 -0400</pubDate><guid>https://answers.axonivy.com/questions/40/content-of-a-htmldialog-in-my-javabean/46</guid></item></channel></rss>