Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-955

Angular needs nuxeo-connection observer

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core

      Description

      Angular needs time to bind and set information like url, username and password for nuxeo-connection.

      Web Elements (like nuxeo-connection) needs to observe them and then launch connection :

      _itemsChanged(url, username, password) {
            if (!url && !username && !password) return;
            this.connect().catch((error) => {
              console.warn(`Nuxeo connection refused: ${error}`);
            });
       }
      

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: