Directory

← Back

JavaScriptPlus for Vaadin

JavaScript Plus for vaadin

Author

Rating

Popularity

<100

JavaScript Plus for vaadin provides an extended version of vaadin's AbstractJavaScriptComponent that is capable of deferred variable changes. Deferred variable change means: a value is not transferred to the server immediately, but instead waits until the next non-deferred action (like a button click) occurs. Then, the value is synced with the servers. Fields (like TextFields) with immediate=false use this.

Deferred variable change has some advantages:

  • the application has a better responsiveness
  • network bandwith and server resources are used economically

Up to now, these advantages were not available in JavaScript. With JavaScript Plus for vaadin, this is about to change.

Sample code

connector.setDeferredVariable("varname", somevalue);
@Override
protected void onChangeVariables(Map<String, Object> variables) {
    Object value = variables.get("varname");
    // do something with value
}
@VaadinServletConfiguration(ui = yourui.class, widgetset = "de.akquinet.engineering.vaadin.javascriptplus.JavaScriptPlusForVaadin")

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

Adjustments vor Vaadin directory, default-depend on current Vaadin release

Released
2016-02-02
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.5+
Browser
Browser Independent

JavaScriptPlus for Vaadin - Vaadin Add-on Directory

JavaScript Plus for vaadin JavaScriptPlus for Vaadin - Vaadin Add-on Directory
JavaScript Plus for vaadin provides an extended version of vaadin's AbstractJavaScriptComponent that is capable of deferred variable changes. Deferred variable change means: a value is not transferred to the server immediately, but instead waits until the next non-deferred action (like a button click) occurs. Then, the value is synced with the servers. Fields (like TextFields) with immediate=false use this. Deferred variable change has some advantages: - the application has a better responsiveness - network bandwith and server resources are used economically Up to now, these advantages were not available in JavaScript. With JavaScript Plus for vaadin, this is about to change.
Author Homepage
Source Code

JavaScriptPlus for Vaadin version 0.1.0-SNAPSHOT
null

JavaScriptPlus for Vaadin version 0.1.0
Released 0.1.0

JavaScriptPlus for Vaadin version 0.1.2
Adjustments vor Vaadin directory, default-depend on current Vaadin release

Online