Hi Prashanth,Please make sure the form name which have specified in PracticeForms.xml and the place where you include this from
that is in PracticeScreens.xml are different.That means you have a form name "main-decorator" which is not included with the same name in PracticeScreens.xml or vice-versa.
I think you will find the solution and the case is same specified by me above.
Thanks ! -- Vivek Mishra Ravindra Mandre wrote:
Hi Prashanth ,controller.xml entries are look fine , but I suggest you to again go through the part 3 of this tutorial and make sure you make entry in ofbiz-component.xml for service.hope that help Regards Ravindra Mandre jillas wrote:Hi Ravindra Please find the controller.xml below, and let me know any modifications in it. <request-map uri="personform"> <security https="false" auth="false"/> <response name="success" type="view" value="personform"/> </request-map> <request-map uri="createPracticePerson"> <security https="true" auth="true"/> <event type="service" invoke="createPracticePerson"/> <response name="success" type="view" value="personform"/></request-map> <request-map uri="updatePracticePerson"><security https="true" auth="true"/> <event type="service" invoke="updatePracticePerson"/> <response name="success" type="view" value="personform"/> </request-map> <request-map uri="deletePracticePerson"> <security https="true" auth="true"/> <event type="service" invoke="deletePracticePerson"/> <response name="success" type="view" value="personform"/> </request-map> <view-map name="personform" type="screen" page="component://practice/widget/PracticeScreens.xml#personform"/> Thanks & Regards Prashanth Jilla Ravindra Mandre wrote:jillas wrote:could you please post your controller.xml entry for calling update service and form in which you are making update operation.HiI am new to ofbiz, I am practicing CRUD operations from the tutorial.While creation I am getting an error as below: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Error rendering included form named [main-decorator] at location [component://practice/widget/PracticeForms.xml]: java.lang.NullPointerException (Error rendering included form named [main-decorator] at location [component://practice/widget/PracticeForms.xml]: java.lang.NullPointerException)Regards Ravindra MandreAnd on updation I am getting an error as below: org.ofbiz.webapp.event.EventHandlerException: Service invocation error (Could not find SimpleMethod XML document in resource: component://practice/script/org/hotwax/practice/PracticeServices.xml) Please let me know how to solve this erors. Thanks & Regards Prashanth Jilla
smime.p7s
Description: S/MIME Cryptographic Signature
