utoComplete>

                        <h:outputText value="Department" ></h:outputText>
                        <p:autoComplete value="#{commonReport1.department}"
                                        completeMethod="#{departmentController.completeDept}"
                                        var="dept"
                                        itemLabel="#{dept.name}"
                                        itemValue="#{dept}"
                                        style="width: 400px;"></p:autoComplete