tharmaaravinthan
Programmer
I have added a Java Bean container to Oracle Form and changed "Implementation Class" property to "Oracle.reports.Utility.FrmreportsInteg".
----Set Form code to create encrypted cookie
set_custom_property('CONTROL.USERID_BEAN',1,'WRITE_LOGOUTPUT','true');
---set userid in encrypted cookie before calling
--web.show_document
set_custom_property('CONTROL.USERID_BEAN',1,'ADD_USERID',
get_application_property(username)||'/'||
get_application_property(password)||'@'||
get_application_property(connect_string));
----Write the cookie
set_custom_property('CONTROL.USERID_BEAN',1,'WRITE_USERID_COOKIE','9i');
WEB.SHOW_DOCUMENT('RT_NAME=RPT_STU_ACTIVE_ENROLMENT&P_FROM_GRADE=6&p_home_base_ind=N&P_WEB_IND=0&p_
edu_institution_id=263&p_region_id=28&p_school_division_id=91&P_TO_GRADE=6&p_tim
eperiod=136&USERID=','_blank');
still asking for connecting string.
jinitiator console show this log message:
java.lang.ClassNotFoundException: "oracle/reports/utility/FrmReportsInteg"
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
.........................
----Set Form code to create encrypted cookie
set_custom_property('CONTROL.USERID_BEAN',1,'WRITE_LOGOUTPUT','true');
---set userid in encrypted cookie before calling
--web.show_document
set_custom_property('CONTROL.USERID_BEAN',1,'ADD_USERID',
get_application_property(username)||'/'||
get_application_property(password)||'@'||
get_application_property(connect_string));
----Write the cookie
set_custom_property('CONTROL.USERID_BEAN',1,'WRITE_USERID_COOKIE','9i');
WEB.SHOW_DOCUMENT('RT_NAME=RPT_STU_ACTIVE_ENROLMENT&P_FROM_GRADE=6&p_home_base_ind=N&P_WEB_IND=0&p_
edu_institution_id=263&p_region_id=28&p_school_division_id=91&P_TO_GRADE=6&p_tim
eperiod=136&USERID=','_blank');
still asking for connecting string.
jinitiator console show this log message:
java.lang.ClassNotFoundException: "oracle/reports/utility/FrmReportsInteg"
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
.........................