In this chapter, we shall examine the following User Interface topics:
Building HTML web pages using the OFBiz Screen widget tool
Adding actions to Screen widget definitions
Adding HTML (and CSS) markup within Screen widget definitions
Platform-specific, Tree, Menu, and Form widgets
Creating HTML using FreeMarker
Passing parameters from the Screen widget to FreeMarker
Writing JavaScript to pop-up a new browser window in FreeMarker
Calling Java methods using FreeMarker directives
Forcing FreeMarker to render HTML markup
Uploading files from FreeMarker
Users communicate with OFBiz webapps using an off-the-shelf web browser. To build a User Interface (UI) for an OFBiz webapp is to build one or more HTML web pages destined for consumption by a web browser. While OFBiz provides several mechanisms for building HTML web pages, the suggested best practice is to use the OFBiz Screen widget tool to create OFBiz "screens". This tool takes an OFBiz Screen widget configuration...