Web resource

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

Web resource

#1

Postby Steve James » Thu Dec 22, 2016 8:50 am

Hi I've created some html content (a word cloud from https://www.jasondavies.com/wordcloud/ if anyone is interested).

I've created a web resource within the Ebase designer (ie the svg). I can include this web resource within a form fine...

Can I reference this page outside of Ebase, ie can I get its url (if it has one)? Or should I just create it as a normal html page?

I want to make use of this resource in a number of places, sometimes within Ebase via client side scripting and sometimes outside Ebase.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Thu Dec 22, 2016 9:52 am

You can't access an html page outside of the ebase system. The easiest way would be to wrap it in a simple form just containing your html: you can do this by configuring a top JSP with a url of say:

$ws/webResources/myhtml.htm

This would find an htm file in any linked project with a path of webResources/myhtml.htm e.g.

/workspace/proj1/webResources/myhtml.htm
0 x

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

#3

Postby Steve James » Thu Dec 22, 2016 10:16 am

Thanks Jon, I've just ported the svg into a standard Ebase form.
0 x


Who is online

Users browsing this forum: No registered users and 63 guests