OfflineBuilder
Build offline UI via Server API
Notice: In the current state (of this add-on) this is more technology demo, than production level add-on.
Add-on allows server side developer to define offline UI for Vaadin application with normal Vaadin server side API.
This add-on has dependency to Vaadin TouchKit. It's currenly only released in AGPL v3 license to match with open source version of Vaadin TouchKit. If you want to use this is closed source projects, please contact me.
Sample code
public class DemoUI extends UI { @Override protected void init(VaadinRequest vaadinRequest) { OfflineUIExtension offlineExtension = OfflineUIExtension.get(this); VerticalLayout layout = new OfflineVerticalLayout(); layout.setMargin(true); layout.setSpacing(true); layout.addStyleName("main-layout"); setContent(layout); offlineExtension.setOfflineRoot(layout); Label header = new OfflineLabel("Hello World!"); header.addStyleName("header-label"); layout.addComponent(header); // ... } }
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
Initial release
- Released
- 2014-08-04
- Maturity
- EXPERIMENTAL
- License
- GNU Affero General Public License v3.0
Compatibility
- Framework
- Vaadin 7.2+
- Browser
- Firefox
- Safari
- Google Chrome
- iOS Browser
- Android Browser
- Internet Explorer
OfflineBuilder - Vaadin Add-on Directory
Build offline UI via Server APINotice: In the current state (of this add-on) this is more technology demo, than production level add-on.
Add-on allows server side developer to define offline UI for Vaadin application with normal Vaadin server side API.
This add-on has dependency to Vaadin TouchKit. It's currenly only released in AGPL v3 license to match with open source version of Vaadin TouchKit. If you want to use this is closed source projects, please contact me.
Online DemoIssue Tracker
Source Code
OfflineBuilder version 0.1.0
Initial release