6 Replies Latest reply: Feb 3, 2013 11:21 AM by ck RSS

    Title on Main Window.

    ocpdev
      Hi All!

      I m using Forms 11gr2, and want to show Company Name on the top of the Main Window, i.e. above my menu bar.

      Previously I was using following built-in in Forms 6i successfully;
      SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'Company Name'),

      but now, it instead show two titles
      -- https url of form (above my menu bar).
      --Oracle Fusion Middleware title (above https url of form),
      which ultimately decreases my main windows size.

      My second problem is how to hide these two titles/windows ? This will also increase my windows size.

      Please guide me.

      Thanks & Regards.

      Edited by: ocpdev on Jan 12, 2013 7:57 PM
        • 1. Re: Title on Main Window.
          ck
          Try to change the parameter in the formsweb.cfg

          http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/basics.htm#BABGEGBC

          and this for all the parameter you may need.

          http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/configure.htm#i1077054
          • 2. Re: Title on Main Window.
            ocpdev
            Thanks for suggestion.
            • 3. Re: Title on Main Window.
              ocpdev
              Sir,

              I set parameter guiMode=3 in formsweb.cfg file, as per the link you send me and restarted the pc as well.
              But still default Windows Titles are shown as previously.
              Pl guide me again.

              Thanks.
              • 4. Re: Title on Main Window.
                ck
                Did you create new config? And that config is the same in your form builder preferences??
                Can you paste your formsweb.cfg here?
                • 5. Re: Title on Main Window.
                  ocpdev
                  Sir,

                  I didn't understand your meaning of creating of config . Is it Forms Installation and Configuration? I have configured after the installation successfully.

                  Now, please note my following formsweg.cfg file:

                  # $Id: formsweb.cfg /main/164 2010/10/19 05:20:53 atyagi Exp $
                  # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
                  # This section defines the Default settings. Any of them may be overridden in the
                  # following Named Configuration sections. If they are not overridden, then the
                  # values here will be used.
                  # The default settings comprise two types of parameters: System parameters,
                  # which cannot be overridden in the URL, and User Parameters, which can.
                  # Parameters which are not marked as System parameters are User parameters.
                  # SYSTEM PARAMETERS
                  # -----------------
                  # These have fixed names and give information required by the Forms
                  # Servlet in order to function. They cannot be specified in the URL query
                  # string. But they can be overridden in a named configuration (see below).
                  # Some parameters specify file names: if the full path is not given,
                  # they are assumed to be in the same directory as this file. If a path
                  # is given, then it should be a physical path, not a URL.
                  # USER PARAMETERS
                  # ---------------
                  # These match variables (e.g. %form%) in the baseHTML file. Their values
                  # may be overridden by specifying them in the URL query string
                  # (e.g. "http://myhost.example.com/forms/frmservlet?form=myform&width=700")
                  # or by overriding them in a specific, named configuration (see below)
                  [default]
                  # System parameter: default base HTML file
                  baseHTML=base.htm
                  # System parameter: base HTML file for use with Sun's Java Plug-In
                  baseHTMLjpi=basejpi.htm
                  # System parameter: delimiter for parameters in the base HTML files
                  HTMLdelimiter=%
                  # System parameter: file setting environment variables for the Forms runtime processes
                  envFile=default.env

                  # Forms runtime argument: whether to escape certain special characters
                  # in values extracted from the URL for other runtime arguments
                  escapeparams=true
                  # Forms runtime argument: which form module to run
                  form=test.fmx
                  # Forms runtime argument: database connection details
                  userid=
                  # Forms runtime argument: whether to run in debug mode
                  debug=no
                  # Forms runtime argument: host for debugging
                  host=
                  # Forms runtime argument: port for debugging
                  port=
                  # Forms runtime argument: BIDI digitSubstitution
                  digitSubstitution=context
                  # Other Forms runtime arguments: grouped together as one parameter.
                  # These settings support running and debugging a form from the Builder:
                  otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
                  # Sub argument for otherparams
                  obr=no
                  # Sub argument for otherparams
                  record=
                  # Sub argument for otherparams
                  tracegroup=
                  # Sub argument for otherparams
                  log=
                  # Sub argument for otherparams
                  term=

                  # HTML page title
                  pageTitle=Oracle Fusion Middleware Forms Services
                  # HTML attributes for the BODY tag
                  HTMLbodyAttrs=
                  # HTML to add before the form
                  HTMLbeforeForm=
                  # HTML to add after the form
                  HTMLafterForm=

                  # Forms applet parameter: URL path to Forms ListenerServlet
                  serverURL=/forms/lservlet
                  # Forms applet parameter
                  codebase=/forms/java
                  # Forms applet parameter
                  imageBase=codebase
                  # Forms applet parameter
                  width=100%
                  # Forms applet parameter
                  height=100%
                  # Forms applet parameter
                  separateFrame=false
                  # Forms applet parameter
                  splashScreen=
                  # Forms applet parameter
                  allowAlertClipboard=true
                  # Forms applet parameter
                  disableValidateClipboard=false
                  # Forms applet parameter
                  highContrast=false
                  # Forms applet parameter
                  background=
                  # Forms applet parameter
                  lookAndFeel=Oracle
                  # Forms applet parameter
                  colorScheme=teal
                  # Forms applet parameter
                  logo=
                  # Forms applet parameter, valid range [0-3]
                  guiMode=3
                  # Forms applet parameter
                  restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
                  # Forms applet parameter
                  formsMessageListener=
                  # Forms applet parameter
                  recordFileName=
                  # Forms applet parameter
                  serverApp=default
                  # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
                  archive=frmall.jar,frmicons.jar
                  # Number of times client should retry if a network failure occurs. You should
                  # only change this after reading the documentation.
                  networkRetries=0


                  # Page displayed to users to allow them to download Sun's Java Plugin.
                  # Sun's Java Plugin is typically used for non-Windows clients.
                  # (NOTE: you should check this page and possibly change the settings)
                  jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
                  # Parameter related to the version of the Java Plugin
                  jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
                  # Parameter related to the version of the Java Plugin
                  jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
                  # Parameter related to the version of the Java Plugin
                  jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
                  # Applet parameter for Sun's Java Plugin
                  legacy_lifecycle=false

                  # Single Sign-On OID configuration parameter: indicates whether we allow
                  # dynamic resource creation if the resource is not yet created in the OID.
                  ssoDynamicResourceCreate=true
                  # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
                  ssoErrorUrl=
                  # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
                  ssoCancelUrl=
                  # Single Sign-On parameter: indicates whether the url is protected in which
                  # case mod_osso will be given control for authentication or continue in
                  # the FormsServlet if not. It is false by default. Set it to true in an
                  # application-specific section to enable Single Sign-On for that application.
                  ssoMode=false
                  # Single Sign-On parameter: indicates whether session should operate in proxy
                  # user support or not. Specify ssoProxyConnect=yes to enable for particular application.
                  ssoProxyConnect=no

                  # The parameter allow_debug determines whether debugging is permitted.
                  # Administrators should set allow_debug to "true" if servlet
                  # debugging is required, or to provide access to the Forms Trace Xlate utility.
                  # Otherwise these activities will not be allowed (for security reasons).
                  allow_debug=false
                  # Parameter which determines whether new Forms sessions are allowed.
                  # This is also read by the Forms EM Overview page to show the
                  # current Forms status.
                  allowNewConnections=true

                  # EndUserMonitoring

                  # EndUserMonitoringEnabled parameter
                  # Indicates whether EUM/Chronos integration is enabled
                  EndUserMonitoringEnabled=false

                  # EndUserMonitoringURL
                  # indicates where to record EUM/Chronos data
                  EndUserMonitoringURL=

                  # Config for javascript integration
                  applet_name=
                  enableJavascriptEvent=true

                  # Config variable that will indicate if heartbeat will
                  # be blocked when a javascript call is a blocking call.
                  # The default value if false, i.e heart beat will not be
                  # blocked for any javascript calls.
                  JavaScriptBlocksHeartBeat=false

                  # Example Named Configuration Section
                  # Example 1: configuration to run forms in a separate browser window with
                  # "generic" look and feel (include "config=sepwin" in the URL)
                  # You may define your own specific, named configurations (sets of parameters)
                  # by adding special sections as illustrated in the following examples.
                  # Note that you need only specify the parameters you want to change. The
                  # default values (defined above) will be used for all other parameters.
                  # Use of a specific configuration can be requested by including the text
                  # "config=<your_config_name>" in the query string of the URL used to run
                  # a form. For example, to use the sepwin configuration, your could issue
                  # a URL like "http://myhost.example.com/forms/frmservlet?config=sepwin".
                  [sepwin]
                  separateFrame=True
                  lookandfeel=Generic


                  # Example Named Configuration Section
                  # Example 2: configuration running the Forms ListenerServlet in debug mode
                  # (debug messages will be written to the servlet engine's log file).
                  [debug]
                  serverURL=/forms/lservlet/debug

                  # Sample configuration for deploying WebUtil. Note that WebUtil is
                  # only installed with the Forms Builder and is also available for download
                  # from OTN.
                  [webutil]
                  WebUtilArchive=frmwebutil.jar,jacob.jar
                  WebUtilLogging=off
                  WebUtilLoggingDetail=normal
                  WebUtilErrorMode=Alert
                  WebUtilDispatchMonitorInterval=5
                  WebUtilTrustInternal=true
                  WebUtilMaxTransferSize=16384
                  baseHTML=webutilbase.htm
                  baseHTMLjpi=webutiljpi.htm
                  archive=frmall.jar,frmicons.jar
                  lookAndFeel=oracle


                  I want to ask one thing more. I have two formsweb.cfg files in following paths:

                  F:\Oracle\Middleware\user_projects\domains\ClassicDomain2\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config.

                  F:\Oracle\Middleware\user_projects\domains\ClassicDomain2\servers\WLS_FORMS\tmp\_WL_user\formsapp_11.1.2\wb1h9f\config.

                  Can you give me differences in these two files?

                  Thanks in advance.
                  • 6. Re: Title on Main Window.
                    ck
                    hello,

                    sorry for delay reply .. been busy but to give you hint how to configure your formsweb.cfg

                    this is only sample..

                    http://fdtool.free.fr/LAF/doc/implementation.htm

                    hope you give on idea.