Directory

← Back

JSF Integration

JSF component to render Vaadin UIs in Facelets-based JSF applications

Author

Rating

Popularity

<100

JSF Integration is a Vaadin 7 add-on that allows you to render Vaadin UIs in JSF pages.

Usage

  1. Implement a new Vaadin UI by extending com.vaadin.ui.UI.

  2. Configure a new VaadinServlet in your web.xml or by using the @WebServletannotation.

  3. Make sure you can access the Vaadin UI when running your application. This includes ignoring the URL mapped to the VaadinServlet in other Servlets or Filters (see the appfuse-vaadin-example application which integrates Spring, Hibernate, JSF, and Vaadin).

  4. In your XHTML file, add the XML namespace and use the ui tag to point to the URL mapped to the VaadinServlet:

    <html ... xmlns:vaadin="http://vaadin.com/jsf">

    <vaadin:ui url="/myui"/>

  5. Optionally specify a custom widgetset and a theme:

    <vaadin:ui url="/myui" widgetset="com.example.MyUiWidgetset" theme="mytheme"/>

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Fixed Maven scope of container-dependent dependencies (use provided).

Released
2016-04-19
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.0+
Browser
N/A

JSF Integration - Vaadin Add-on Directory

JSF component to render Vaadin UIs in Facelets-based JSF applications JSF Integration - Vaadin Add-on Directory
JSF Integration is a Vaadin 7 add-on that allows you to render Vaadin UIs in JSF pages. Usage ===== 1. Implement a new Vaadin UI by extending `com.vaadin.ui.UI`. 2. Configure a new `VaadinServlet` in your `web.xml` or by using the `@WebServlet`annotation. 3. Make sure you can access the Vaadin UI when running your application. This includes ignoring the URL mapped to the `VaadinServlet` in other Servlets or Filters (see the [appfuse-vaadin-example](https://github.com/alejandro-du/vaadin-jsf-integration/tree/master/appfuse-vaadin-example) application which integrates Spring, Hibernate, JSF, and Vaadin). 4. In your XHTML file, add the XML namespace and use the `ui` tag to point to the URL mapped to the `VaadinServlet`: `` ` ` 5. Optionally specify a custom widgetset and a theme: ``
Online