                     onclick="PrimeFaces.error('This is an error message.')"/>

            <h5>Ajax Request</h5>
            <h:form id="form">
                <h:panelGrid id="grid" columns="4" cellpadding="7">
                    <p:outputLabel for="name" value="Name:"/>
                    <p:inputText id="name"/>
                </h:panelGrid>

                <p:commandButton value="Submit" update="grid" styleClass="mt-3" />
            </h:form>
        </div>
    </ui:define>

</ui:composition>
