Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.

GMap Map in Dialog

This sample demonstrates using map inside a dialog.


<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>


<div class="card">
    <p:commandButton id="btn" type="button" icon="pi pi-globe" value="Show Map" onclick="PF('dlg').show();"/>
</div>

<p:dialog id="gmapDialog" widgetVar="dlg" width="625" height="400" modal="true">
    <p:gmap id="gmap" center="41.381542, 2.122893" zoom="15" type="HYBRID" style="width:100%;height:400px"/>
</p:dialog>