ChatBox
A chat component for Vaadin
ChatBox lets people chat with each other.
To keep the chat updating in real-time, you probably want to use the server push (available from Vaadin 7.1.0 onwards) when using this component. https://vaadin.com/wiki/-/wiki/Main/Enabling%20server%20push
Sample code
// A static variable so that everybody gets the same instance. private static SharedChat chat= new SharedChat(); @Override public void init() { ChatBox cb = new ChatBox(chat); ChatUser user = ChatUser.newUser("Pertti Pasanen"); cb.setUser(user); layout.addComponent(cb); }
Links
Compatibility
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
- Released
- 2014-01-15
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 7.0+
- Vaadin 6.7+ in 0.3.1
- Vaadin 6.5+ in 0.3.0
- Browser
- Firefox
- Google Chrome
- Internet Explorer
ChatBox - Vaadin Add-on Directory
A chat component for VaadinChatBox lets people chat with each other.
To keep the chat updating in real-time, you probably want to use the server push (available from Vaadin 7.1.0 onwards) when using this component.
https://vaadin.com/wiki/-/wiki/Main/Enabling%20server%20push
Online DemoSource Code
Issue Tracker
ChatBox version 0.0.4
Send button not shown by default.
ChatBox version 0.3.0
Changed dependency etc.
ChatBox version 0.3.1
Fixed maven Vaadin version range.
ChatBox version 0.7.0
Ported to Vaadin 7.