You also need to add the service definition, look for an example in
applications/party/servicedef
Regards
Vikas
On Tue, Feb 21, 2012 at 11:00 PM, Shuany Yu <
[hidden email]> wrote:
> I'm trying to finish the part 2 of the tutorial but I haven't found where
> the updatePracticePerson service is defined in the tutorial. Thus, I'm
> recieving the following error message when I try to open the personform
> page.
> ---- exception report
> ---------------------------------------------------------- Error finding
> Service with name updatePracticePerson for auto-fields-service in a form
> widget Exception: org.ofbiz.service.GenericServiceException Message: Cannot
> locate service by name (updatePracticePerson) ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Cannot locate service by name
> (updatePracticePerson)
> org.ofbiz.service.DispatchContext.getModelService(DispatchContext.java:190)
> org.ofbiz.widget.form.ModelForm.addAutoFieldsFromService(ModelForm.java:681)
> org.ofbiz.widget.form.ModelForm.initForm(ModelForm.java:497)
> org.ofbiz.widget.form.ModelForm.<init>(ModelForm.java:213)
> org.ofbiz.widget.form.FormFactory.createModelForm(FormFactory.java:154)
> org.ofbiz.widget.form.FormFactory.createModelForm(FormFactory.java:150)
> org.ofbiz.widget.form.FormFactory.getFormFromLocation(FormFactory.java:85)
> org.ofbiz.widget.screen.ModelScreenWidget$Form.getModelForm(ModelScreenWidget.java:857)
> org.ofbiz.widget.screen.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:837who
> can help me, thanks?