Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vaadin 8 compatibility #2

Closed
clavaud opened this issue Jun 12, 2017 · 6 comments
Closed

Vaadin 8 compatibility #2

clavaud opened this issue Jun 12, 2017 · 6 comments

Comments

@clavaud
Copy link

clavaud commented Jun 12, 2017

Dear,

We're currently trying to integrate Microservice with their own GUI, but facing some difficulties with Vaadin.

I'm trying to use you component, but getting errors and I don't know if they are related to my usage or the incompatibility with Vaadin 8.

Could you help ?

Best regards

Alexandre

Some code
@Springview(name = AdUserView.VIEW_NAME)
@uiscope
public class AdUserView extends VerticalLayout implements View {
public static final String VIEW_NAME = "AdUserView";
private static final long serialVersionUID = 1L;

public AdUserView() {
	final VaadinUIComponent browser = new VaadinUIComponent( "http://localhost:8081/users/" );
	browser.setSizeFull();
	setSizeFull();
	addComponent( browser );

}

@Override
public void enter(final ViewChangeListener.ViewChangeEvent event) {
	Notification.show( "AdUserView::Enter" );
}

}

Some errors when accessing remote app :
Mon Jun 12 11:22:57 GMT+000 2017 com.vaadin.client.communication.DefaultConnectionStateHandler
INFO: Reconnect attempt 781 for XHR
com.vaadin.DefaultWidgetSet-0.js:5848 Mon Jun 12 11:22:58 GMT+000 2017 com.vaadin.client.communication.DefaultConnectionStateHandler
INFO: Re-sending last message to the server...
com.vaadin.DefaultWidgetSet-0.js:5848 Mon Jun 12 11:22:58 GMT+000 2017 com.vaadin.client.communication.XhrConnection
INFO: Sending xhr message to server: {"csrfToken":"8165448b-f220-4325-b781-f8faba37ee4d","rpc":[["0","com.vaadin.shared.ui.ui.UIServerRpc","resize",[1029,393,1272,467]]],"syncId":0,"clientId":0,"wsver":"8.0.6"}
com.vaadin.DefaultWidgetSet-0.js:5541 POST http://localhost:8081/users/UIDL/?v-uiId=0 404 ()
Rs @ com.vaadin.DefaultWidgetSet-0.js:5541
aGb @ com.vaadin.DefaultWidgetSet-0.js:5668
gFb @ com.vaadin.DefaultWidgetSet-0.js:2928
CCb @ com.vaadin.DefaultWidgetSet-0.js:5495
dDb @ com.vaadin.DefaultWidgetSet-0.js:5849
Lb @ com.vaadin.DefaultWidgetSet-0.js:5847
(anonymous) @ com.vaadin.DefaultWidgetSet-0.js:2646
Rh @ com.vaadin.DefaultWidgetSet-0.js:2407
Uh @ com.vaadin.DefaultWidgetSet-0.js:4997
(anonymous) @ com.vaadin.DefaultWidgetSet-0.js:3507
com.vaadin.DefaultWidgetSet-0.js:5848 Mon Jun 12 11:22:58 GMT+000 2017 com.vaadin.client.communication.DefaultConnectionStateHandler
WARNING: Server returned 404 for xhr
eab @ com.vaadin.DefaultWidgetSet-0.js:5848
rFd @ com.vaadin.DefaultWidgetSet-0.js:5389
qFd @ com.vaadin.DefaultWidgetSet-0.js:3420
wFd @ com.vaadin.DefaultWidgetSet-0.js:3011
BFd @ com.vaadin.DefaultWidgetSet-0.js:2062
XCb @ com.vaadin.DefaultWidgetSet-0.js:5039
mGb @ com.vaadin.DefaultWidgetSet-0.js:5850
Ks @ com.vaadin.DefaultWidgetSet-0.js:3859
Xs @ com.vaadin.DefaultWidgetSet-0.js:5848
(anonymous) @ com.vaadin.DefaultWidgetSet-0.js:3489
Rh @ com.vaadin.DefaultWidgetSet-0.js:2407
Uh @ com.vaadin.DefaultWidgetSet-0.js:4997
(anonymous) @ com.vaadin.DefaultWidgetSet-0.js:3507
com.vaadin.DefaultWidgetSet-0.js:5848 Mon Jun 12 11:22:58 GMT+000 2017 com.vaadin.client.communication.DefaultConnectionStateHandler
INFO: Reconnect attempt 4 for XHR
``

@alejandro-du
Copy link
Owner

Thanks for reporting. Please let me know if 2.1 fixes this.

@clavaud
Copy link
Author

clavaud commented Aug 15, 2018

Dear,

Works great for Vaadin 8, very good job.

As I would like to migration my application to Vaadin 10, how to do the same thing with Vaadin 10 ... ?

Best regards

Alexandre

@alejandro-du
Copy link
Owner

alejandro-du commented Aug 15, 2018

There are no current plans to migrate this to Vaadin 10. Please "thumbs up" this issue if you are interested in having support for it in Vaadin Flow: vaadin/flow#4316

@clavaud
Copy link
Author

clavaud commented Aug 15, 2018 via email

@alejandro-du
Copy link
Owner

You can try with iframes. And please upvote the referenced issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants