Skip to content

Commit

Permalink
Remove dependency to v7 compatibility module
Browse files Browse the repository at this point in the history
  • Loading branch information
sprevilla committed Dec 11, 2018
1 parent efeb61d commit 079a8d4
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 1,136 deletions.
2 changes: 0 additions & 2 deletions modules/qi-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ dependencies {
compile 'com.byteowls:vaadin-chartjs:0.3.0'
compile 'org.vaadin.addons:vaadin-sliderpanel:2.0.0'
compile "com.vaadin:vaadin-themes:${vaadin.version}"
compile "com.vaadin:vaadin-compatibility-server:${vaadinVersion}"
providedCompile "com.vaadin:vaadin-compatibility-client:${vaadinVersion}"

providedCompile project(':modules:core')
providedCompile project(':modules:visitor')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import com.vaadin.client.ui.VLabel;
import com.vaadin.shared.ui.Connect;
import com.vaadin.shared.ui.Connect.LoadStyle;
import com.vaadin.v7.shared.ui.label.LabelState;
import com.vaadin.shared.ui.label.LabelState;
import org.jpos.server.ui.XLabel;

@Connect(value = XLabel.class, loadStyle = LoadStyle.EAGER)
Expand Down Expand Up @@ -78,11 +78,11 @@ public void onStateChanged(StateChangeEvent stateChangeEvent) {
getWidget().setText(getState().text);
break;
case HTML:
case RAW:
sinkOnloads = true;
case XML:
getWidget().setHTML(getState().text);
break;
// case RAW:
// sinkOnloads = true;
// case XML:
// getWidget().setHTML(getState().text);
// break;
default:
getWidget().setText("");
break;
Expand Down
Loading

0 comments on commit 079a8d4

Please sign in to comment.