An open API service indexing awesome lists of open source software.

https://github.com/samply/common-web-jsf-renderer


https://github.com/samply/common-web-jsf-renderer

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# JSF Bootstrap Message and Messages Renderer

Style the h:messages component from JSF with [bootstrap alerts](https://getbootstrap.com/docs/3.3/components/#alerts)

Use maven to build the jar:

```
mvn clean install
```

In order to use it in any JSF2 project:

* Bootstrap has to be included in the project
* Add the following snippet to _faces-config.xml_:

```xml



javax.faces.Message
javax.faces.Message
de.samply.share.client.renderer.BootstrapMessageRenderer


javax.faces.Messages
javax.faces.Messages
de.samply.share.client.renderer.BootstrapMessagesRenderer


```

## License

Copyright 2020 The Samply Development Community

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.