Client-side API to center a dialog

UI Components for JSF
Post Reply
User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

25 Feb 2011, 00:48

Hello Cagatay,

PF 2.2.1 uses jQuery dialog and I use this call to center a dialog

Code: Select all

dialogWidget.jq.dialog({position: 'center'});
I saw you have changed to wijmo dialog and that means we will have other client-side API. What is the method to center a dialog in wijmo? I have nothing found here http://wijmo.com/wiki/index.php/Dialog#Methods

P.S. I know dialogWidget.jq.dialog(...) is a hack because you didn't expose it in the API.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests