In my web application i want to fix height and width of primefaces dialogbox in the way in which the dialogbox appears exactly in the middle of my web page, and if one want to minimize the window then the dialogbox should also be minimised. i mean middle of my one of the frame not whole window.
i.e. dynamic sized dialog box like % width and height
thanks for any help...
Try this, use a attribute style (or styleclass):
See more here.
You can use following code to make it of fixed dimension,
and to make minimize functionality. you can play with javascript to get it done.
See Also
I tried to fix the height with JS to minimize the dialog, but still this doesn't work with large content: