{"id":13409150,"url":"https://github.com/stcarrez/ada-asf","last_synced_at":"2025-03-04T21:28:56.986Z","repository":{"id":25949884,"uuid":"29391484","full_name":"stcarrez/ada-asf","owner":"stcarrez","description":"Ada Server Faces - Web Server Faces JSR 252, JSR 314 and JSR 344","archived":false,"fork":false,"pushed_at":"2024-09-08T21:40:10.000Z","size":14835,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-09T09:42:36.198Z","etag":null,"topics":["ada","asf","facelet","framework","jsf","web"],"latest_commit_sha":null,"homepage":"","language":"Ada","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stcarrez.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-01-17T13:10:26.000Z","updated_at":"2024-09-08T21:40:13.000Z","dependencies_parsed_at":"2024-02-01T20:08:51.636Z","dependency_job_id":"f4b8ad50-7626-4f8e-9291-33622cf9675f","html_url":"https://github.com/stcarrez/ada-asf","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stcarrez%2Fada-asf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stcarrez%2Fada-asf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stcarrez%2Fada-asf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stcarrez%2Fada-asf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stcarrez","download_url":"https://codeload.github.com/stcarrez/ada-asf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241924434,"owners_count":20043216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ada","asf","facelet","framework","jsf","web"],"created_at":"2024-07-30T20:00:58.378Z","updated_at":"2025-03-04T21:28:56.958Z","avatar_url":"https://github.com/stcarrez.png","language":"Ada","funding_links":[],"categories":["Frameworks"],"sub_categories":["Web"],"readme":"# Ada Server Faces\n\n[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/serverfaces.json)](https://alire.ada.dev/crates/serverfaces)\n[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/serverfaces_unit.json)](https://alire.ada.dev/crates/serverfaces_unit)\n[![Build Status](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-asf/badges/build.json)](https://porion.vacs.fr/porion/projects/view/ada-asf/summary)\n[![Test Status](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-asf/badges/tests.json)](https://porion.vacs.fr/porion/projects/view/ada-asf/xunits)\n[![Coverage](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-asf/badges/coverage.json)](https://porion.vacs.fr/porion/projects/view/ada-asf/summary)\n[![Documentation Status](https://readthedocs.org/projects/ada-asf/badge/?version=latest)](https://ada-asf.readthedocs.io/en/latest/?badge=latest)\n[![Download](https://img.shields.io/badge/download-1.6.0-brightgreen.svg)](http://download.vacs.fr/ada-asf/ada-asf-1.6.0.tar.gz)\n[![License](https://img.shields.io/badge/license-APACHE2-blue.svg)](LICENSE)\n[![GitLab](https://img.shields.io/badge/repo-GitLab-6C488A.svg)](https://gitlab.com/stcarrez/ada-asf)\n[![Commits](https://img.shields.io/github/commits-since/stcarrez/ada-asf/1.6.0.svg)](Commits)\n\nAda Server Faces allows to create web applications using the same pattern\nas the Java Server Faces (See JSR 252, JSR 314 and JSR 344). \n\nIt is part of [Ada Web Application](https://gitlab.com/stcarrez/ada-awa/)\nframework.\n\n## Version 1.6.1  - Sep 2024\n  - Cleanup build environment to drop configure\n\n[List all versions](https://gitlab.com/stcarrez/ada-asf/blob/master/NEWS.md)\n\n## Using with Alire\n\nIf you are using [Alire](https://alire.ada.dev/) in your project, run the following command\nwithin your [Alire](https://alire.ada.dev/) project to use the library:\n\n```\nalr with serverfaces\n```\n\nIf you want to use the Ada Server Faces library in a web server, you must choose a servlet\nweb container that will handle the requests.  Two web server implementations are provided:\n\n* [AWS](https://github.com/AdaCore/aws)\n* [EWS](https://github.com/simonjwright/ews)\n\nand you should run one of the following `alr` command depending on your choice:\n\n```\nalr with servletada_aws\nalr with servletada_ews\n```\n\n## Using without Alire\n\nIf you don't have [Alire](https://alire.ada.dev/) or want to build and install the library\non a specific place, run a `setup` command to configure the build as well as installation\ndirectory.\n\nThe `HAVE_ALIRE` configuration allows you to disable the build with [Alire](https://alire.ada.dev/).\n\n```\nmake setup BUILD=debug PREFIX=/build/install HAVE_ALIRE=no\n```\n\nSince this build method does not verify that all dependencies are met, make sure that you\nhave already built and install the following components and they are available to `gprbuild`\nthrough `ADA_PROJECT_PATH` if needed:\n\n* [Ada Servlet](https://gitlab.com/stcarrez/ada-servlet/)\n* [Ada Security Library](https://gitlab.com/stcarrez/ada-security/)\n* [Ada EL Library](https://gitlab.com/stcarrez/ada-el/)\n* [Ada Utility Library](https://gitlab.com/stcarrez/ada-util/)\n\nThen build, run the unit tests and install by using:\n\n```\nmake\nmake test\nmake install\n```\n\nTo use the installed libraries, make sure your `ADA_PROJECT_PATH` contains the directory\nwhere you installed the libraries (configured by the `PREFIX=\u003cpath\u003e` option in the setup phase).\nThe installed GNAT projects are the same as those used when using [Alire](https://alire.ada.dev/).\n\nThe installation is done by running the `install` target:\n\n```\nmake install\n```\n\nIf you want to install on a specific place, you can change the `prefix` and indicate the installation\ndirection as follows:\n\n```\nmake install prefix=/opt\n```\n\n# Documentation\n\n* [Ada Server Faces Programmer's Guide](https://ada-asf.readthedocs.io/en/latest/) [PDF](https://gitlab.com/stcarrez/ada-asf/blob/master/docs/asf-book.pdf)\n* [Ada Server Faces wiki (old documentation)](https://gitlab.com/stcarrez/ada-asf/wiki)\n\n## Tutorial\n\n* [Ada Server Faces Application Example part 1: the presentation](http://blog.vacs.fr/index.php?post/2011/03/21/Ada-Server-Faces-Application-Example)\n* [Ada Server Faces Application Example part 2: the Ada beans](http://blog.vacs.fr/index.php?post/2011/04/10/Ada-Server-Faces-Application-Example-part-2%3A-the-Ada-beans)\n* [Ada Server Faces Application Example part 3: the action bean](http://blog.vacs.fr/index.php?post/2011/05/02/Ada-Server-Faces-Application-Example-part-3%3A-the-action-bean)\n* [Ada Server Faces Application Example part 4: the server](http://blog.vacs.fr/index.php?post/2011/05/18/Ada-Server-Faces-Application-Example-part-3-the-server)\n\n## Components\n\nThe following tags are supported:\n\n| Documentation    | Namespace                                            | Tags                                                                  |\n|----------|------------------------------------------------------|---------------------------------------------------------------------- |\n| [JSTL]( https://demo.vacs.fr/demo/jstl/view.html) | `xmlns:c=\"http://java.sun.com/jstl/core\"`            | \u003cc:set\u003e, \u003cc:if\u003e, \u003cc:choose\u003e, \u003cc:when\u003e, \u003cc:otherwise\u003e |\n| [Facelets](https://demo.vacs.fr/demo/facelet/view.html) | `xmlns:ui=\"http://java.sun.com/jsf/facelets\"`        | \u003cui:composition\u003e, \u003cui:define\u003e, \u003cui:decorate\u003e, \u003cui:include\u003e, \u003cui:insert\u003e, \u003cui:param\u003e |\n| [JSF Core](https://demo.vacs.fr/demo/jsf/core/view.html) | `xmlns:f=\"http://java.sun.com/jsf/core\"`             | \u003cf:attribute\u003e, \u003cf:convertDateTime\u003e, \u003cf:converter\u003e, \u003cf:facet\u003e, \u003cf:metadata\u003e, \u003cf:param\u003e, \u003cf:selectItem\u003e, \u003cf:selectItems\u003e, \u003cf:validateLength\u003e, \u003cf:validateLongRange\u003e, \u003cf:validateRegex\u003e, \u003cf:validator\u003e, \u003cf:view\u003e, \u003cf:viewAction\u003e, \u003cf:viewParam\u003e |\n| [JSF HTML](https://demo.vacs.fr/demo/jsf/html/view.html) | `xmlns:h=\"http://java.sun.com/jsf/html\"`             | \u003ch:body\u003e, \u003ch:commandButton\u003e, \u003ch:form\u003e, \u003ch:head\u003e, \u003ch:inputFile\u003e, \u003ch:inputHidden\u003e, \u003ch:inputSecret\u003e, \u003ch:inputText\u003e, \u003ch:inputTextarea\u003e, \u003ch:list\u003e, \u003ch:message\u003e, \u003ch:messages\u003e, \u003ch:ouputFormat\u003e, \u003ch:outputLabel\u003e, \u003ch:outputLink\u003e, \u003ch:outputText\u003e, \u003ch:panelGroup\u003e, \u003ch:selectBooleanCheckbox\u003e, \u003ch:selectOneMenu\u003e, \u003ch:selectOneRadio\u003e |\n| [Widget](https://demo.vacs.fr/demo/widgets/view.html) | `xmlns:w=\"http://code.google.com/p/ada-asf/widget\"`  | \u003cw:accordion\u003e, \u003cw:autocomplete\u003e, \u003cw:chosen\u003e, \u003cw:inputDate\u003e, \u003cw:inputText\u003e, \u003cw:gravatar\u003e, \u003cw:like\u003e, \u003cw:panel\u003e, \u003cw:tab\u003e, \u003cw:tabView\u003e |\n| [Util](https://demo.vacs.fr/demo/util/view.html)     | `xmlns:util=\"http://code.google.com/p/ada-asf/util\"` | \u003cutil:escape\u003e, \u003cutil:file\u003e, \u003cutil:flush\u003e, \u003cutil:script\u003e |\n\n\n\n# Licenses\n\nAda Server Faces integrates the Javascript library jQuery licensed under\nMIT or GPL (See https://jquery.org/license/).\n\nAda Server Faces integrates a generated version of 960 grid system\nlicensed under MIT or GPL (See https://960.gs/ and https://grids.heroku.com/\nfor the CSS generator). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstcarrez%2Fada-asf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstcarrez%2Fada-asf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstcarrez%2Fada-asf/lists"}