Here is a (very) simple HTML browser.
This JavaBean component allows to browse some simple HTML pages inside the Oracle Forms frame.
It may be a good way to browse into local documents, like documentation html pages.
You can click on the hyperlinks to navigate through the content.
The Java code
Get the source code here
Get the source code here
Forms configuration
. Copy the htmlbrowser.jar file in the /forms/java directory
This .jar file must be signed
. Edit the /forms/server/formsweb.cfg file to add the jar file to the archive_jini variable
archive_jini=f90all_jinit.jar,……,htmlbrowser.jar
Implementation Class property
oracle.forms.fd.HtmlFrame
The properties you can set
The url to display
Set_Custom_Property( 'BLOCK.BEAN_AREA', 1, 'SETURL', 'new_url' ) ;
The HTML content to display
Set_Custom_Property( 'BLOCK.BEAN_AREA', 1, 'SETCONTENT', 'html_content' ) ;
Where html_content must be valid HTML source like : '<html><body><b>Hello there</b></body></html>'
The sample dialog
. Download Link1 the htmlbrowser.zip file Download Link2 the htmlbrowser.zip file
. Unzip the file
. Edit your /forms/server/formsweb.cfg file
. Open the HTML_BROWSER.fmb module (Oracle Forms 9.0.2)
. Compile all and run the module
This JavaBean component allows to browse some simple HTML pages inside the Oracle Forms frame.
It may be a good way to browse into local documents, like documentation html pages.
You can click on the hyperlinks to navigate through the content.
The Java code
Get the source code here
Get the source code here
Forms configuration
. Copy the htmlbrowser.jar file in the /forms/java directory
This .jar file must be signed
. Edit the /forms/server/formsweb.cfg file to add the jar file to the archive_jini variable
archive_jini=f90all_jinit.jar,……,htmlbrowser.jar
Implementation Class property
oracle.forms.fd.HtmlFrame
The properties you can set
The url to display
Set_Custom_Property( 'BLOCK.BEAN_AREA', 1, 'SETURL', 'new_url' ) ;
The HTML content to display
Set_Custom_Property( 'BLOCK.BEAN_AREA', 1, 'SETCONTENT', 'html_content' ) ;
Where html_content must be valid HTML source like : '<html><body><b>Hello there</b></body></html>'
The sample dialog
. Download Link1 the htmlbrowser.zip file Download Link2 the htmlbrowser.zip file
. Unzip the file
. Edit your /forms/server/formsweb.cfg file
. Open the HTML_BROWSER.fmb module (Oracle Forms 9.0.2)
. Compile all and run the module
No comments:
Post a Comment