First glimpse at the Oracle Forms HTML Rich Text Editor
Glad to be reporting that I am almost done with the Oracle Forms rich text editor. Some issues with outputting the rich text item thru reports and deciding how to save the contents. For the time being, I checked query and insert modes and the set_custom_property and get_item_property are working fine without any loss.

I am using a text item to store the contents and that’s the column that is physically tied to the table. I think that’s the best way to manage the rich text item. I checked Degrelle’s HTMLPane and that’s how it is being managed.
The JAR file stands now at 170 Kb which is not that big given that I have about 30 Kb for png images (used in the toolbar). However, I am doing now a refactoring and trying to slim the jar down to about 100 Kb. I am not too worried about the size since the file itself is cached the first time the user accesses the module.
The features that already passed testing:
Basic toolbar: in this mode, the user can opt to use only the top bar.
- Basic text styling: bold, italic and underline
- unordered and ordered lists
- Text alignment
- Indent and outdent
Advanced toolbar: more features with most having passed the test
- Cut, copy and paste
- Text Search and replace
- Horizontal rule (HR), break (BR)
- Special Characters insertion
- Adding and removing a hyperlink
- Adding an image (working but some issues)
- Inserting Table, rows and cells
- Font selection, size and color. Foreground property
- Text highlighting color property
- HTML source code editing (working but some issues)
- HTML preview mode
Because of the limited screen real estate available for the rich text item, there are other features that can’t be accessed thru the toolbar buttons. I am using accelerator keys to let the user action them. Some of those are:
- Undo
- Redo
- Deleting table rows
- Deleting table cells
As I mentionned, adding images is a snap. However, I am still pondering about whether to let the user insert an image from a URL or from a drive. The only option I see working for the general case is allowing an image to be referenced fom a URL.
The editor uses a default cascading style sheet. However, there is going to be a way for the developer to assign a company mandated stylesheet.
Likewise, there are a number of properties that can be set from Forms.
That’s the status right now and I think the editor should be out by the end of January 2009.
Last, I am still undecided about the name. May be frmEd. I welcome your suggestions.
Similar Posts:
- Rich text editor or HTML editor for Oracle Forms: Decision time !
- Google Static Map javabean with Forms 10g: new improvements
- FRITE- the rich text editor with Right-to-left languages
- Support for PDF and HTML output within FRITE
- Oracle Forms Javabean Property Editor
Make A Comment: ( 19 so far )
19 Responses to “First glimpse at the Oracle Forms HTML Rich Text Editor”
Rafa
January 23rd, 2009
Good stuff !
I propose : Forms Rich TextItem
Francois
Francois
January 23rd, 2009
Could you provide the URL where we could download the necessary Bean, Forms Demo, source & any Technical doc files for this? Appreciate this very much.
Bob Gill
January 30th, 2009
@Bob: Not yet released as of Jan 30,09. The HTML source code editing feature was a bit buggy. I am almost done with the testing part and all material will be available for download here very soon.
Hafed
January 30th, 2009
Hafed,
I am looking for some kind of editor of forms 10g that will support all kind of formating and will be saved in database as HTML data and can be transferred to email server and can be used on web pages. Will your text editor will be saved as HTML data in DB.
Could you please guide me a little bit?
Thanks,
Nancy
nancy
February 8th, 2009
Very good add to Forms controls.
Does it support Arabic language?
Mohammad
February 18th, 2009
Hello Hafed,
where can I download the javabean? i have a form application and i would like to test it
Thanks in advance,
Jose.
Jose
February 23rd, 2009
hi
I have tested bidirectional support .
I am using hebrew rtl .
font is displayed in squares .
cna you help
Eran
Eran
March 5th, 2009
Good new form me, sometime i wish oracle forms as web base
Trinh Van Dzung
April 5th, 2009
Could the developer disable options such as changing font and size?
Will
June 18th, 2009
Dear Hafed,
Frite is a very nice bean. I have tested it
with my Form and it’s given very nice result.
I need the Source code of Frite Java Bean
so that I can modify it according my requirement.
Could you please send me the source code??
Thank you.
Partha Sarathi Paul
parthaspaul@gmail.com
Partha Sarathi Paul
November 24th, 2009
Hi Hafed,
We have compiled the source and when we are using the jar we are getting the following error:
Opening http://localhost:8891/forms/java/resources/lang/lang_en.properties
Connecting http://localhost:8891/forms/java/resources/lang/lang_en.properties with no proxy
Opening http://localhost:8891/forms/java/resources/images/disk.png
Connecting http://localhost:8891/forms/java/resources/images/disk.png with no proxy
java.lang.NullPointerException
at javax.swing.ImageIcon.(Unknown Source)
at com.degenio.frite.RteBean.(RteBean.java:189)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
How could we resolve this??
Partha Sarathi Paul
December 11th, 2009
Dear Hafed,
Thanks a lot for sending source code.
It will help me lots
I am planning to use FRITE in one of ma
the my project. As per project
requirement I need to generate output
in PDF format (using oracle report).
Could you please guide me / give me
some solution how this can be done.
Atanu Mandal
December 15th, 2009



I would suggest BenteForm or Bent-a-Form.