Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSF page ADF Form: Output Formatted and Rich Text Editor

user8860348Jun 25 2017 — edited Jul 5 2017

Folk,

Hello. Using JDeveloper 11.1.1.6.0 on the top of Oracle Database 11gR1, I am developing Job Online Application for people to apply for jobs and submit applications online. The job Application is running in the same Database Instance with PeopleSoft Human Resources.

All Jobs Data is stored in PeopleSoft Human Resources Recruiting Module and is formatted in a nice text layout.

In JDeveloper 11.1.1.6.0, I create a JSF page with ADF form "JobDetail.jspx" to display the job data for each job out of PeopleSoft Human Resources Recruiting module Database Tables. The view for JSF page "JobDetail.jspx" is running on the top of 3 database tables.

I have done JSF page "JobDetail.jspx" in 3 ways below:

1) ADF filtered table:

It returns all jobs data at a time in one table, I hover the field "Description", the description data is displayed correctly in the same format with data in PeopleSoft, but it displays only part of the description data.

2) ADF Form:

It returns Job data for each job by JobID. ADF form "Description" field returns entire data but all lines are put together into one line. The format of the data is lost. The text layout of data doesn't look comfortably !

3) ADF Form Read-Only:

It displays data of Description field very badly.

I have used "Output Formatted" and "Rich Text Editor" for the field Description in "JobDetail.jspx" JSF page ADF form below:

1) Output Formatted:

Select the field "Description" in JSF page "JobDetail.jspx" > Component Palette > Click Output Formatted > "Output Formatted" field comes up under the field "Description" in "JobDetail.jspx" page. Right click "Output Formatted" field to select "Bind to ADF Control" and select the field DESCRLONG in the view.

After run the page JobDetail.jspx, in Browser, the field "Description" displays the entire data  but all lines are put together into one line. The format of the data is lost. The field "Output Formatted" displays the same data with the field "Description". All lines of data are put into one line. The format is lost as well. The result is that the data of "Description" is displayed twice in "JobDetail.jspx" page in Browser.

2) Rich Text Editor:

Select the field "Description" in JSF page "JobDetail.jspx" > Component Palette > Click Rich Text Editor > "Rich Text Editor" field comes up under the field "Description" in "JobDetail.jspx" page.

After run the page JobDetail.jspx, in Browser, the field "Description" displays the entire data  but all lines are put together into one line. The format of the data is lost. The field Rich Text Editor is under the field "Description" and is empty that has no data in it. Rich Text Editor doesn't display the data of the field "Description" out of Database Table in Browser.

The result in ADF Form Read-Only is the same with ADF Form. I don't know how "Output Formatted" and "Rich Text Editor" run correctly in JSF page ADF form or ADF read-only form in Browser.

My questions are:

1) What are the correct outputs of "Output Formatted" and "Rich Text Editor" for a field in JSF page ADF Form or ADF Read-Only Form in Browser ?

2) How to have "Output Formatted" replace the the field "Description" and display its data without losing the format in PeopleSoft ?

3) How to have "Rich Text Editor"  replace the the field "Description" and display its data without losing the format in PeopleSoft ?

Thanks in advance.

This post has been answered by Timo Hahn on Jul 5 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2017
Added on Jun 25 2017
32 comments
1,288 views