auto-fields-service error?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

auto-fields-service error?

Mr.Zombie
Hello!

I'm new to OFBiz, and I'm trying to do the tutorial. I've had a  
problem when trying to define the main-decorator.

I get the following error:

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen  
[component://common/widget/CommonScreens.xml#GlobalDecorator]:  
java.lang.RuntimeException: Error rendering included form named  
[ListPersons] at location [component://hello1/widget/HelloForms.xml]:  
java.lang.IllegalArgumentException: Error finding Service with name  
updatePracticePerson for auto-fields-service in a form widget (Error  
rendering included form named [ListPersons] at location [component://
hello1/widget/HelloForms.xml]: java.lang.IllegalArgumentException:  
Error finding Service with name updatePracticePerson for auto-fields-
service in a form widget)

 From my guess, I'm missing some definitions, which I didn't create,  
but there's no place in the tutorial (unless I skipped like 4  
paragraphs for no good reason) where this is shown to me.

Any help please?
Reply | Threaded
Open this post in threaded view
|

Re: auto-fields-service error?

Scott Gray-2
Hi Olivier,

The form is attempting to auto generate the needed fields it needs  
based on the service definition of updatePracticePerson, but that  
definition is missing.  That service is not part of OFBiz itself and  
is probably defined somewhere in the book, you'll need to find it and  
create the service definition and implementation.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 11/11/2009, at 4:38 AM, Olivier Tremblay wrote:

> Hello!
>
> I'm new to OFBiz, and I'm trying to do the tutorial. I've had a  
> problem when trying to define the main-decorator.
>
> I get the following error:
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering  
> screen [component://common/widget/
> CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException:  
> Error rendering included form named [ListPersons] at location  
> [component://hello1/widget/HelloForms.xml]:  
> java.lang.IllegalArgumentException: Error finding Service with name  
> updatePracticePerson for auto-fields-service in a form widget (Error  
> rendering included form named [ListPersons] at location [component://
> hello1/widget/HelloForms.xml]: java.lang.IllegalArgumentException:  
> Error finding Service with name updatePracticePerson for auto-fields-
> service in a form widget)
>
> From my guess, I'm missing some definitions, which I didn't create,  
> but there's no place in the tutorial (unless I skipped like 4  
> paragraphs for no good reason) where this is shown to me.
>
> Any help please?


smime.p7s (4K) Download Attachment