This repository has been archived by the owner on Feb 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
html
Pavel Vlasov edited this page Aug 30, 2014
·
16 revisions
Nasdanika HTML provides Java API for building HTML and Bootstrap markup and single page Web applications.
An overview of the library concepts is available in this presentation - Nasdanika HTML presentation. Some code snippets in the presentation may be outdated. For up-to date information refer to JavaDoc and sources which utilize the library:
- AppRoute.java - A route to test HTML generation.
- GuestImpl.home() - Generates guest single page web application and home page, take a look at the WebTest report for UI screenshots.
- CustomerImpl.home() - Generates authenticated customer single page web application and home page.
- ReportGenerator - Generates WebTest report (link above).
In the first three examples HTMLFactory is obtained by adapting context, it makes code independent on factory configuration. ReportGenerator explicitly instantiates and configures DefaultHTMLFactory.