Overview
NUI is acronym of "New UI".
NUI is a Property oriented template engine to build Java-based web UI. Features list below:
- XML based template file: template content is well formed and easy to rewrite.
- Support template style: template has a style attribute, you can assgin a style to match certain styled template.
Of course you add you own styled template(series).
- Property oriented template: you can define properties' meta data(include type, editor, validator) in Class Template File,
and reference them in same syntax, for example: <p:validator name="propertyName">
- Support enum property: typically, enum property use drop-down-list as its editor. And you can define the options in Option config file.
- Enhanced message formatting: NUI uses extension syntax (from WebWork) to define message. for example: ${someDate,date,short}
- OGNL: NUI uses ognl to access context object, different with FreeMarker.
- Integrate with other framework: NUI provides a NuiContextProvider interface to interactive with other framework such as WebWork.
- High extensibility: all template can be rewrited, include NUI pre-defined templates.
Next