Creating a new web page begins with defining an OFBiz "screen". Web page screens are built by creating one or more Screen widget definitions used by the OFBiz screen handler to generate HTML.
Ensure you have the "screen handler" defined in the controller.xml
file for your webapp as shown here:
<handler name="screen" type="view" class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
To create a new OFBiz screen, it is often easiest to add a Screen widget definition to an existing Screen widget definition file. These files are XML documents, usually located under the widgets
directory within a containing Component.
If you want to create a new Screen widget definition file, copy an existing file and remove all the Screen widget definitions. Make sure you retain the XML document XSD as shown:
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://ofbiz.apache.org/dtds/widget-screen.xsd">