Page 1 of 1

Editor in a Dialogbox

Posted: 04 Aug 2010, 10:03
by benpad
Hello,

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>
In my commandButton, I put an update attribute with value of "sampleForm".

Code: Select all

<p:commandButton update="sampleForm" value="Show the Sample Modal"/>
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.