OFBiz Tutorial - problem with PersonForm

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

OFBiz Tutorial - problem with PersonForm

Ivan Cauchi
This post was updated on .
I'm a new user trying out the OFBiz framework.  I'm trying out the tutorial and I have found that if I follow part 2 of the tutorial when creating a form, there are two variations in the name 'PersonForm' (the other is personForm), as follows:

step
1    PersonForm (for PracticeMenus.xml)
2    personForm (for PracticeForms.xml)
3    personForm in the text, both variants in the code snippet (for PracticeScreens.xml)

If I follow the instructions and attempt a test from the browser, after I retrieve the first page (successfully) at http://<host>:8080/practice/control/PersonForm I get the first paginated screen as expected.  When I click on 'next', I get the following error message:

org.ofbiz.webapp.control.RequestHandlerException: Unknown request [personForm]; this request does not exist or cannot be called directly.

To resolve the issue, in PracticeForms.xml, in the form name line I change  the paginate-target from 'personForm' to 'PersonForm'.  Then I am able to navigate forwards and backwards using the 'next' and 'previous' links.  Changing the 'headerItem' value in PracticeScreens.xml does not have an effect.

Did I misunderstand anything from the tutorial, or is there a typo in the tutorial?