Editor in a Dialogbox

UI Components for JSF
Post Reply
User avatar
benpad
Posts: 58
Joined: 24 Jun 2010, 04:54
Location: Makati, City Philippines
Contact:

04 Aug 2010, 10:03

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.
PrimeFaces 2.1
JSF 2.0
GlassFish 3 Server
Mojarra 2.0.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests