Ada Server Faces allows to create web applications using the same pattern as the Java Server Faces (See JSR 252, JSR 314 and JSR 344).
It is part of Ada Web Application framework.
To build the Ada Keystore you will need the GNAT Ada compiler as well as the Alire package manager.
- Cleanup build environment to drop configure
- Improvement of <f:viewParam> to accept a from EL expression to setup the value
- Add util:parseJSON() EL function
- Integrate jQuery UI 1.13.2, jQuery 3.7.0, jQuery Chosen 2.2.1, jQuery Datetime picker 2.5.22
- Fix #4: Support to build with -gnatW8
- Feature #2: Upgrade dropzone to 6.0
alr with serverfaces
If you want to use the Ada Server Faces library in a web server, you must choose a servlet web container that will handle the requests. Two web server implementations are provided:
and you should run one of the following alr
command depending on your choice:
alr with servletada_aws
alr with servletada_ews
You can also build and install the library and install it as follows (but the Alire setup is prefered):
make
After building, it is good practice to run the unit tests before installing the library. The unit tests are built and executed using:
make test
And unit tests are executed by running the bin/asf_harness
test program.
The installation is done by running the install
target:
make install
If you want to install on a specific place, you can change the prefix
and indicate the installation
direction as follows:
make install prefix=/opt
- Ada Server Faces Application Example part 1: the presentation
- Ada Server Faces Application Example part 2: the Ada beans
- Ada Server Faces Application Example part 3: the action bean
- Ada Server Faces Application Example part 4: the server
The following tags are supported:
Documentation | Namespace | Tags |
---|---|---|
JSTL | xmlns:c="http://java.sun.com/jstl/core" |
<c:set>, <c:if>, <c:choose>, <c:when>, <c:otherwise> |
Facelets | xmlns:ui="http://java.sun.com/jsf/facelets" |
ui:composition, ui:define, ui:decorate, ui:include, ui:insert, ui:param |
JSF Core | xmlns:f="http://java.sun.com/jsf/core" |
<f:attribute>, <f:convertDateTime>, <f:converter>, <f:facet>, <f:metadata>, <f:param>, <f:selectItem>, <f:selectItems>, <f:validateLength>, <f:validateLongRange>, <f:validateRegex>, <f:validator>, <f:view>, <f:viewAction>, <f:viewParam> |
JSF HTML | xmlns:h="http://java.sun.com/jsf/html" |
<h:body>, <h:commandButton>, <h:form>, <h:head>, <h:inputFile>, <h:inputHidden>, <h:inputSecret>, <h:inputText>, <h:inputTextarea>, <h:list>, <h:message>, <h:messages>, <h:ouputFormat>, <h:outputLabel>, <h:outputLink>, <h:outputText>, <h:panelGroup>, <h:selectBooleanCheckbox>, <h:selectOneMenu>, <h:selectOneRadio> |
Widget | xmlns:w="http://code.google.com/p/ada-asf/widget" |
<w:accordion>, <w:autocomplete>, <w:chosen>, <w:inputDate>, <w:inputText>, <w:gravatar>, <w:like>, <w:panel>, <w:tab>, <w:tabView> |
Util | xmlns:util="http://code.google.com/p/ada-asf/util" |
util:escape, util:file, util:flush, util:script |
Ada Server Faces integrates the Javascript library jQuery licensed under MIT or GPL (See https://jquery.org/license/).
Ada Server Faces integrates a generated version of 960 grid system licensed under MIT or GPL (See https://960.gs/ and https://grids.heroku.com/ for the CSS generator).