I This is my code: and Auto complete method from Bean: But when I run my app, it gives exceptions: the autoComplete method in the bean anyone can tell me how to use the autoComplete table structure ... please you Help needed .... Hello my problem went resolved I make changes to your code Have been And changes here XHTML looks like a bean method rich: autocomplete of'm using I < P> Search all the user details such as name, address, age, and amp; Photo.
& lt; rich: autocomplete mode = "client" showButton = "true" layout = "table" autocompleteMethod = "# {patient looking .autocomplete}" fetchValue = "# {patient.patientId}" id = "txtPatientSearch" var = "patient" & Gt; & Lt; Rich: Columns & gt; & Lt; H: Graphic Image Value = "/ Resources / Picture / Default Junction" /> & Lt; / Rich: Columns & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {patient.fname}" /> & Lt; / Rich: Columns & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {patient.lname}" /> & Lt; / Rich: Columns & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {patient.gender}" /> & Lt; / Rich: Columns & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {patient.mrn}" /> & Lt; / Rich: Columns & gt; & Lt; / Rich: Autocomplete & gt;
Public list & lt; SearchPatient & gt; Autocomplete (string search) {ArrayList & lt; SearchPatient & gt; Results = New Arreelist & lt; SearchPatient & gt; (); Iterator & LT; SearchPatient & gt; Iterator = Patient DAO.searchPatientByAll (search, 1, this.SessionToken) .iterator (); While (iterator.hasNext ()) {SearchPatient elem = (SearchPatient) iterator.next ()); Result.add (ELEM); } Return results; }
javax.el.PropertyNotFoundException: Property 'full-fledged' on xtremum.health is not found Web.bean.PatientSearchBean
& lt; rich: autocomplete mode = "ajax" showButton = "true" layout = "table" AutocompleteMethod = "# {patientSearch.searchPatientByAll}" autocompleteList = "# {patientSearch.searchPatient}" fetchValue = "# {patient.patientId}" id = "TxtPatientSearch" var = "patient" & gt; & Lt; Rich: Columns & gt; & Lt; H: Graphic Image Value = "/ Resources / Picture / Default Junction" /> & Lt; / Rich: Columns & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {patient.fname}" /> & Lt; / Rich: Columns & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {patient.lname}" /> & Lt; / Rich: Columns & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {patient.gender}" /> & Lt; / Rich: Columns & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {patient.mrn}" /> & Lt; / Rich: Columns & gt; & Lt; / Rich: Autocomplete & gt;
Private @ Gator @ Setter list & lt; SearchPatient & gt; SearchPatient; Public listing & lt; SearchPatient & gt; SearchPatientByAll (string search) {this.searchPatient = patientDAO.searchPatientByAll (search, 1, this.sessionToken); Turn it back. Searchtipant; }
Comments
Post a Comment