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:
>> Hi
>>
>> I 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)
>>
>>
> could you please post your controller.xml entry for calling update
> service and form in which you are making update operation.
>
>
> Regards
> Ravindra Mandre
>> And 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
>>
>
>
--
View this message in context:
http://www.nabble.com/Errors-on-CRUD-operations-tp23881225p23884643.html
Sent from the OFBiz - User mailing list archive at Nabble.com.