# HTMLPane Bean Error / Documentation

**URL:** https://forum.servoy.com/t/htmlpane-bean-error-documentation/2612
**Category:** Classic Servoy
**Created:** [August 31, 2004, 7:51pm UTC](https://forum.servoy.com/t/htmlpane-bean-error-documentation/2612 "2004-08-31T19:51:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![erika](https://avatars.discourse-cdn.com/v4/letter/e/47e85d/32.png) [@erika](https://forum.servoy.com/u/erika)
#### Post date: [August 31, 2004, 7:51pm UTC](https://forum.servoy.com/t/htmlpane-bean-error-documentation/2612/1 "2004-08-31T19:51:51Z")

</div>

I would like to view a url within my application.

I’ve tried using the HTMLPane Bean.

My simple one line method looks like:

forms.WEB\_VIEW.elements.viewer.GetPageURL(‘[http://www.yahoo.com](http://www.yahoo.com)’)

When running, I receive the following error:

org.mozilla.javascript.EvaluatorException: Can’t find method HTMLPane.GetPageURL(string).

– the GetPageURL(string) method is listed in the Servory Editor.

Any suggestions on how to view HTML pages within an Application? Any pointers to documentation for the HTMLPane Bean?

Thanks!

---

<div class="post-metadata">

### Author: ![automazione](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@automazione](https://forum.servoy.com/u/automazione)
#### Post date: [September 1, 2004, 5:30pm UTC](https://forum.servoy.com/t/htmlpane-bean-error-documentation/2612/2 "2004-09-01T17:30:20Z")

</div>

Hello Erika, welcome to Servoy

I think you should use SetPage

elements.testhtml.SetPageURL(“[http://www.yahoo.com](http://www.yahoo.com)”)

is working fine for me. testhtml is the name of the htmlPane bean

ciao

---

<div class="post-metadata">

### Author: ![erika](https://avatars.discourse-cdn.com/v4/letter/e/47e85d/32.png) [@erika](https://forum.servoy.com/u/erika)
#### Post date: [September 1, 2004, 7:14pm UTC](https://forum.servoy.com/t/htmlpane-bean-error-documentation/2612/3 "2004-09-01T19:14:27Z")

</div>

Thanks for your help.

That did work. I found my error…I had created the method as a global rather than form. Once I recreated it in the form location it started working.

I am really impressed with the speed of the HTML rendering. There are other types of files I’d like to view this way … I there is any way to view non-HTML content, such as .doc .xls .ppt .pdf in a pane?

- Erika
