Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102247

Deployment Guide, enhance Example 5-1, Creating a dtjava.App Object

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0.3
    • Fix Version/s: fx2.1
    • Component/s: docs

      Description

      From Igor:

      // Undocumented, but first param is URL, 2nd is a set of properties that must include width, height, and placeholder for embed().
      var app = new dtjava.App(
      'ssh.jnlp',
      {
          id: 'SSH',
          width: 100,
          height: 25,
          placeholder: 'SSH_applet_container',
          params:
          {
              config: 'ssh_applet.conf',
          }
      });

      We do not say placeholder is required. We do say it about width and height.
      May be we need to highlight requirements more?

      And perhaps make sense to add signature for App/Platform like we do later for callbacks.

      E.g.
         dtjava.App(url, {attibute_map});

        Attachments

          Activity

            People

            • Assignee:
              nhildebrandt Nancy Hildebrandt (Inactive)
              Reporter:
              nhildebrandt Nancy Hildebrandt (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: