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

Use relative URLs in MediaObject #177

Open
amedranogil opened this issue Jun 2, 2017 · 1 comment
Open

Use relative URLs in MediaObject #177

amedranogil opened this issue Jun 2, 2017 · 1 comment

Comments

@amedranogil
Copy link
Member

Originally Opened: @Alfiva (2012-09-10 12:47:16)

Currently it appears that swing handler only renders images from the resource server if these are defined by an application with the complete URL.

An example that works:

new MediaObject(controls, new Label("Media", (String) null),"image", "http://127.0.0.1:8080/resources/test.ui.bus/sample.png");

An example that does not work:

new MediaObject(controls, new Label("Media", (String) null),"image", "test.ui.bus/sample.png");

This does not pose a relevant problem right now, because URL is known, but is inconsistent with the wiki documentation, in addition to not being practical given the necessity of knowing IP and port of current device.

--

From: this issue has been automatically imported from our old issue tracker

@amedranogil
Copy link
Member Author

Original author: @amedranogil (2013-09-18 14:38:47)

The UI-ResourceServer strategy will be discussed soon.

@amedranogil amedranogil added this to Backlog in UI Bus overhaul Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant