Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 285079740 for ; Wed, 14 Mar 2012 03:42:51 +0000 (UTC) Received: (qmail 11534 invoked by uid 500); 14 Mar 2012 03:42:50 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 11373 invoked by uid 500); 14 Mar 2012 03:42:49 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 11320 invoked by uid 99); 14 Mar 2012 03:42:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 03:42:47 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of paul@cohsoft.com.au does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 03:42:41 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1S7f6R-0000u9-RG for user@ofbiz.apache.org; Tue, 13 Mar 2012 20:42:19 -0700 Date: Tue, 13 Mar 2012 20:42:19 -0700 (PDT) From: Paul Foxworthy To: user@ofbiz.apache.org Message-ID: <1331696539836-4470980.post@n4.nabble.com> In-Reply-To: References: Subject: Re: A Error about "OFBiz Tutorial - A Beginners Development Guide" - maybe a bug. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jizheng, The example assumes you already have a service named updatePracticePerson. The error message seems to imply that you don't. You could use the Web Tools to check the names of your services. Cheers Paul Foxworthy Ji Zheng JZ Zhang wrote > > Dear, > We are from IBM CRL, try to use OFBiz to setup a ERP like usage, learn > it by this sample, in Part 2 "Now moving to create a form for showing the > content of Person entity on the screen (Using Form Widget)", we meet such > error: > :ERROR MESSAGE: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://practice/widget/CommonScreens.xml#CommonPracticeDecorator]: > java.lang.RuntimeException: Error rendering included form named > [ListPersons] at location [component://practice/widget/PracticeForms.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://practice/widget/PracticeForms.xml]: > java.lang.IllegalArgumentException: Error finding Service with name > updatePracticePerson for auto-fields-service in a form widget) > > -- My PracticeForms.xml > > > xsi:noNamespaceSchemaLocation= > "http://ofbiz.apache.org/dtds/widget-form.xsd"> >
list-entry-name="person" target="updatePracticePerson" paginate-target= > "personForm"> > default-field-type="display" map-name="person"/> > >
> > -- controller,xml -- > > xsi:noNamespaceSchemaLocation= > "http://ofbiz.apache.org/dtds/site-conf.xsd"> > "component://common/webcommon/WEB-INF/common-controller.xml"/> > Practice Component Site Configuration > File> > Copyright 2001-2009 The Apache Software Foundation > "org.ofbiz.widget.screen.ScreenWidgetViewHandler"/> > > > > > > > > > > > > > > > > "component://practice/widget/PracticeScreens.xml#main"/> > "component://practice/widget/PracticeScreens.xml#person"/> > "component://practice/widget/PracticeScreens.xml#personForm"/> > > > > --- PracticeScreens.xml -- > > xsi:noNamespaceSchemaLocation= > "http://ofbiz.apache.org/dtds/widget-screen.xsd"> > >
> > >
>
> > >
> >