Skip to Main Content

Oracle Forms

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!

How to run form in SDI in 10g ! Please Help

300236Jan 23 2006
I am not sure of weather I got the bug in Developer suite or not able to set Window to SDI

I am using following version of Forms which is part of Oracle Developer Suite 10g
Forms [32 Bit] Version 9.0.4.0.19 (Production)


As per Oracle's documentation following are details on SDI
USESDI (Web Forms Runtime)
Description Use single document interface (SDI) system of window management during a Web Forms Runtime session.

There is no multiple document interface (MDI) root window. MDI toolbars exist in parent windows and menus will be attached to each window.

Calls to the FORMS_MDI_WINDOW constant returns NULL as the MDI window handle when usesdi=YES.

Option Name None

Default No

USESDI (Forms Runtime) Examples http://myserver/forms90/f90servlet?form=MODULE1.fmx&usesdi=YES

Developed the a simple form and start J2EE enviornment


1. I developed a form test123 with control block and a text item.

2. I started J2EE enviornment on the Developement Machine not Server using Start --> Program --> Oracle Developer Suite --> Forms Developer -->
Start OC4J

3. Run the form using
http://ankur:8889/forms90/f90servlet?form=TEST123.fmx
where ankur is machine name

Forms Runs in MDI which is default

Problem faced
Now I tried to run the form in SDI as per oracle documentation
http://ankur:8889/forms90/f90servlet?form=TEST123.fmx&usesdi=YES

Forms runs still run in MDI, Not in SDI

My method of verification that forms is running in MDI is as follows which I got from one of the Message in forum

Trigger - When-new-form-instance
IF GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_STATE) IS NOT NULL THEN
message('mdi');
message('mdi');
ELSE
-- application is SDI
message('sdi');
message('sdi');
END IF ;


Is this is a bug that in developer 10g forms not run in SDI or something else is required to run the form in SDI mode.

Please Help.

Thanks and Regards in advance,
Ankur Diwan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2006
Added on Jan 23 2006
0 comments
463 views