I have a web page created from a MS Powerpoint slide - and it consequently has a directory with all of the graphics etc included.
I have a form with an HTML_AREA in which I’d like to display the page. I know I can display the page using the showURL() but that would open it in a browser.
Q. Is it possible to open this page in the HTML_AREA - how???
Q. Where should this directory (with the graphics etc) be stored in the Servoy directory to ensure its exported with everything else???
Maybe putting a browser bean on your form.
Then the page is shown within Servoy form and not in a separate browser, like the showURL() probably will do
Or use the http plugin to get the data and assign that to the HTML_AREA dataprovider.
Of course it does mean that the page need to be hosted in a webserver (or via Servoy’s Tomcat server)
martinh:
Maybe putting a browser bean on your form.
Then the page is shown within Servoy form and not in a separate browser, like the showURL() probably will do
Yes that is one way Martin - seems like a heavyweight response to my particular challenge though.
I’m creating a welcome form and HTML is the nicest way to do it AFAIK.
@ Robert - that’s a shame as I have the HTML and I want this page available if there is internet connectivity or not - so needs to be hosted internally. I though that since I have all the HTML and the graphics etc I could display it in the HTML_AREA if I could determine where the files should be located - but Powerpoint puts a lot of scripting in there too.
@ Harjo - yes after Martin’s, yours and Roberts comments that might be the best track - unless I can duplicate the look and style on a normal form!
Harjo:
yes, the HTML-AREA is VERY limited in this.
the browser-suite of servoy-stuff.net is the way to go!
Seriously. Patrick’s browser suite has become a default install for us. We have wasted more hours on getting Servoy’s html_area field to work right over the years than anything else.
Harjo:
yes, the HTML-AREA is VERY limited in this.
the browser-suite of servoy-stuff.net is the way to go!
Seriously. Patrick’s browser suite has become a default install for us. We have wasted more hours on getting Servoy’s html_area field to work right over the years than anything else.
Correction: Sun’s html area. Servoy would love Java to come with a better html area/editor!
Harjo:
yes, the HTML-AREA is VERY limited in this.
the browser-suite of servoy-stuff.net is the way to go!
Seriously. Patrick’s browser suite has become a default install for us. We have wasted more hours on getting Servoy’s html_area field to work right over the years than anything else.
Correction: Sun’s html area. Servoy would love Java to come with a better html area/editor!
Hi Jan,
I agree with you that Sun’s HTMLEditorKit is the worst piece of code that they have ever made and I don’t see anything coming under the sun of Java 7
But there are ways around it and we could work together on that if you desire…