Editor in a Dialogbox
Posted: 04 Aug 2010, 10:03
Hello,
I'm implementing a simple form with an editor component inside a dialog box component.
In my commandButton, I put an update attribute with value of "sampleForm".
Using Firefox 3.6, I can click the editor and type values in it. However, using IE8, I cannot click the main text area and enter some values.
Anyone tried implementing an editor in a modal window? I'm open for other solutions/frameworks to use. Thanks.
I'm implementing a simple form with an editor component inside a dialog box component.
Code: Select all
<p:dialog widgetVar="sampleDialog" header="Sample Dialog">
<h:form id="sampleForm">
<p:editor value="" width="640px" height="320px"></p:editor>
</h:form>
</p:dialog>
Code: Select all
<p:commandButton update="sampleForm" value="Show the Sample Modal"/>
Anyone tried implementing an editor in a modal window? I'm open for other solutions/frameworks to use. Thanks.