                               actionListener="#{doctorController.prepareAdd}" 
                                            process="btnAddNewDoc" 
                                            update="#{p:resolveFirstComponentWithId('panDoc',view).clientId}" />  
                                    </h:panelGroup>
                                    <p:autoComplete 
                                        forceSelection="true" 
                                        id="cmbDoc" 
                            