Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step - 6 : Now change the controller.xml file so it points to the new screen, as we did earlier.
Now again run the application and see the results.

Tip
titleHint

If the output screen does not contain the menu as shown below, you will most likely need to go to secure your application for the menu to come up.

Output Screen:

Now moving to create a form for showing the content of Person entity on the screen:(Using Form Widget)

...

Step - 3: Include this UI Label resource in your main decorator screen which you created earlier and use these one or two ui labels which you are having now.Step - 4 : Use those 2 UI labels at appropriate places.
Note : Always search first for any existing Ui label in ofbiz and if you don't find it there then only create new one.Output Screen:

#secureh3. Now its time to make this practice application secure by checking authentication (user login):

Step - 1 :  Take reference from ExampleMenus.xml file for having login and logout options in your menu.
Targets for these options will be available from "component://common/webcommon/WEB-INF/common-controller.xml", which we have to include in our controller.xml.
or you can do these entries in your controller.xml file under

...