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 ASF, you will need:
- Ada Util (https://gitlab.com/stcarrez/ada-util 2.6.0)
- Ada EL (https://gitlab.com/stcarrez/ada-el 1.8.6)
- Ada Security (https://gitlab.com/stcarrez/ada-security 1.5.0)
- Ada Servlet (https://gitlab.com/stcarrez/ada-servlet 1.7.0)
- AWS (https://github.com/AdaCore/aws 20..23)
- XML/Ada (https://libre.adacore.com/libre/tools/xmlada/ 23)
- 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
Build with the following commands:
./configure
make
The samples can be built using:
make samples
The unit tests are built using and executed with:
make test
- 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).