Dialog isn't centered when textEditor used

UI Components for JSF
Post Reply
Posts: 5
Joined: 08 Jan 2017, 19:20

18 May 2017, 11:40


I'm occuring strange issue. When I put textEditor inside dialog, the dialog isn't centered. The workaround is to put textEditor inside outputPanel and specify fixed height for example: <p:outputPanel style="height:400px">

Below is the simplest code example:

Code: Select all

<!DOCTYPE html>
<html lang="en"

    	<p:commandButton value="Open" update=":form" onclick="PF('dialogVar').show()" />
		<p:dialog modal="true" header="Test" widgetVar="dialogVar">
			<h:form id="form" >
				<p:textEditor value="#{articlesController.content}" height="400"/>
Does anyone has the same problem?
Primefaces 6.1
Mojarra 2.2.14

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 17 guests