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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • fx2.1
    • fx2.0.3
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: