image HTML tags

Thanks for all your help with my other HTML questions. I have a new one for you all.

We need to be able to display this into our solution:

I make a calcuation field, then made a lable and attached it. But it didn’t work. It only showed a small tiny broken image symbol.

Please help

Hi Sammy,

That’s not a URL to an image.

An image url needs to end in .gif, .jpg, etc.

If you open the URL in a browser - what do you see?

It is a URL. the real website is this:

http://gostatit.com/eserv/StatitImage.asp?macro=imr

We’re trying to set up a demo to make it work on the company’s test server. A page does load up with the charts. I just need the same thing in Servoy. When a user clicks a button, say “LOAD CHART” it just needs to open this URL or image?. that’s all.
Please help. our demo is tomorrow (wednesday)

bcusick:
Hi Sammy,

That’s not a URL to an image.

An image url needs to end in .gif, .jpg, etc.

If you open the URL in a browser - what do you see?

Sammy,

Here’s the problem - the SOURCE of that page is the RAW .png code, NOT html.

You can use this command:

application.showURL(yourURLhere)

To open it in a browser. It will NOT display in the HTML bean, beacuse the source of the page is not HTML. To see what the code of the page is - open in a browser and choose “View Source”.

bcusick:
Sammy,

Here’s the problem - the SOURCE of that page is the RAW .png code, NOT html.
".

Ah ha, got it working.

Now, is there a way to display a URL in servoy rather than opening up internet explorer?

sammyzheng:
Now, is there a way to display a URL in servoy rather than opening up internet explorer?

Sure, with the HTMLpane bean.
Keep in mind it’s not a first class webbrowser but it’s fine for simple HTML (and images).

ROCLASI:

sammyzheng:
Now, is there a way to display a URL in servoy rather than opening up internet explorer?

Sure, with the HTMLpane bean.
Keep in mind it’s not a first class webbrowser but it’s fine for simple HTML (and images).

Thanks for pointing me in the right direction, but can you give me more detail? I’m very very new to Servoy

I have a url. http://ipaddress/subfolder/file.asp .

All i wnat to do is, when a user clicks a button, the HTML loads up inside servoy. How do i link the bean to a URL of my choice?

bump…see if anyone else can help me with the last question…

sammyzheng:
All i wnat to do is, when a user clicks a button, the HTML loads up inside servoy. How do i link the bean to a URL of my choice?

var your_http = “http://www.servoy.com”;
elements.yourHTTPBean.SetPageURL(your_http);

thanks got it working perfectly.

Another question. Is there any HTMLpane type javabean out there that can render ASP pages? and if so, is it easy to add a javabean to servoy?

ASP is generally a server-side type of page. Is the HTMLpane bean not rendering it?

Hi Bob,

Yes, HTMLpanebean is rendering the image. But it doesn’t have the dynamic contents that internet explorer shows. my asp link has a feature that’s able to display trend rules and values as you roll your mouse over a datapoint in the graph.

On the HTMLpane bean , i just get a static graph, where as IE will render the ASP page will all the roll over features

sammyzheng:
Yes, HTMLpanebean is rendering the image. But it doesn’t have the dynamic contents that internet explorer shows. my asp link has a feature that’s able to display trend rules and values as you roll your mouse over a datapoint in the graph.

looks like you’ll have to step back and keep using:

application.showURL(yourURLhere);

until someone develops a more complete html plugin?

sammyzheng:
Yes, HTMLpanebean is rendering the image. But it doesn’t have the dynamic contents that internet explorer shows. my asp link has a feature that’s able to display trend rules and values as you roll your mouse over a datapoint in the graph.

On the HTMLpane bean , i just get a static graph, where as IE will render the ASP page will all the roll over features

Hi Sammy, sorry for not replying on your earlier question, haven’t had time to visit the forum.

Like I stated before the HTMLpane is not a first class webbrowser so things like rollovers and such might not work.
I believe the HTMLpane is only HTML v3 compliant.
So you have to do with static pages for now.