Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4D79E18B0F for ; Fri, 24 Apr 2015 09:16:20 +0000 (UTC) Received: (qmail 67988 invoked by uid 500); 24 Apr 2015 09:16:20 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 67957 invoked by uid 500); 24 Apr 2015 09:16:19 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 67942 invoked by uid 99); 24 Apr 2015 09:16:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 09:16:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for dev@cloudstack.apache.org) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 09:15:52 +0000 Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 3AA2B23158 for ; Fri, 24 Apr 2015 09:15:51 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so89409126ied.1 for ; Fri, 24 Apr 2015 02:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=d/kORz96RSMjFx2JiQYYvhh7M1K2m8ew9Ay1wv9w69s=; b=C2dYPV4DonIBxjvqUzVqUB8C3IJHkORxsIRveUXFctlvyV7QEfFnALYhgBfOx9L8ij r9XNuGrCdKTmMzN/h2WxPrhbJfB0ZOsLRL675M+3K2yT9L8jBBwi6bA7MxMmC6obYeLP sDPIFPJct1zhD+4UDHIC8SJtd3cDCrTh98hLZkOcQDTCkwPceiAM5CufOcPQeb8LoH8z IYIhU8+4bzBH4IS3xqkuHo7eim9AUrLgLODf7XPk6kTDgkEI+uXO6hQDX9piAvYdMHWu 4R3ObNLT26oIRfI8xNYV+aHArYWG1XUjUKmgAbLuaMGy5qyh6I9SCYl8t40Kc1Egt6uA uDrQ== X-Received: by 10.43.71.201 with SMTP id yl9mr8754031icb.66.1429866950309; Fri, 24 Apr 2015 02:15:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.65.40 with HTTP; Fri, 24 Apr 2015 02:15:30 -0700 (PDT) From: Ramzi Youssefi Date: Fri, 24 Apr 2015 11:15:30 +0200 Message-ID: Subject: Current project context To: dev Content-Type: multipart/alternative; boundary=001a11c1dcbca63eab051474d790 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1dcbca63eab051474d790 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello everyone, I'm currently developing a UI Javascript Plugin for Cloudstack and I was wondering if there is a global variable that tells me in which project I'm currently in. For example, if I list something in the ViewList, than the context will be something like this: var description =3D args.context.listDevices_list_view[0].description; Now I need something similar but regarding the project where I'm currently in (since project can be selected in the upper left corner). Thanks a lot! --=20 Ramzi Youssefi G=C3=B6rlitzer Str. 49 01099 Dresden, Germany. Cell: +49 173 1965465 Email: ryoussefi@gmail.com --001a11c1dcbca63eab051474d790--